Skip to content

Commit

Permalink
Small adjust to ts compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
Yutsuten committed Dec 5, 2024
1 parent 37bcfcc commit 5a8b067
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion shims.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
declare module '*.vue' {
import type { DefineComponent } from 'vue';
export default DefineComponent<{}, {}, any>;
const component: DefineComponent<{}, {}, any>;
export default component;
}
4 changes: 4 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"moduleResolution": "node",
"esModuleInterop": true,
"strict": true,
"skipLibCheck": true,
"noUnusedLocals": true,
"resolveJsonModule": true,
"verbatimModuleSyntax": true,
Expand All @@ -15,5 +16,8 @@
".vitepress/**/*.ts",
".vitepress/**/*.vue",
"shims.d.ts"
],
"exclude": [
"node_modules"
]
}

0 comments on commit 5a8b067

Please sign in to comment.