Skip to content

Commit

Permalink
Add include patterns to ensure all source files are considered
Browse files Browse the repository at this point in the history
  • Loading branch information
OLILHR committed Nov 4, 2024
1 parent d1246e5 commit cba7e19
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
await auth.checkAuth();
isLoading = false;
isAuthenticated.subscribe((value) => {
isAuthenticated.subscribe((value: boolean) => {
if (!value && !isLoading && $page.url.pathname !== `${base}/`) {
goto(`${base}/`);
}
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@
"sourceMap": true,
"strict": true,
"types": ["node"]
}
},
"include": ["src/**/*.d.ts", "src/**/*.ts", "src/**/*.js", "src/**/*.svelte"]
}

0 comments on commit cba7e19

Please sign in to comment.