Skip to content

Commit

Permalink
remove exclude from tsconfig.json and add ts-ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
willpinha committed Feb 8, 2024
1 parent 679a2bf commit 307bb33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/layout/Page.astro
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
<script>
import { themeChange } from "theme-change";

// @ts-ignore
document.addEventListener("astro:page-load", themeChange);
</script>

Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"extends": "astro/tsconfigs/strict",
"exclude": ["node_modules", "src/layout/Page.astro"]
"exclude": ["node_modules"]
}

0 comments on commit 307bb33

Please sign in to comment.