Skip to content

Commit 0f786d8

Browse files
committed
chore: update
1 parent 1b24273 commit 0f786d8

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

docs/.vitepress/theme/index.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,10 @@ if (typeof window !== 'undefined') {
99
}
1010
}
1111
}
12-
// @ts-expect-error -- Cannot change `module` option
1312
import type { Theme } from 'vitepress'
14-
// @ts-expect-error -- Cannot change `module` option
1513
import DefaultTheme from 'vitepress/theme'
16-
// @ts-expect-error -- ignore
1714
import Layout from './Layout.vue'
18-
// @ts-expect-error -- ignore
1915
import ESLintCodeBlock from './components/eslint-code-block.vue'
20-
// @ts-expect-error -- ignore
2116
import RulesTable from './components/rules-table.vue'
2217

2318
const theme: Theme = {

tsconfig.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
"noFallthroughCasesInSwitch": true,
1818
"esModuleInterop": true,
1919
"resolveJsonModule": true,
20+
"isolatedModules": true,
21+
"noUncheckedSideEffectImports": true,
2022
"baseUrl": ".",
2123
"paths": {
2224
"*": ["typings/*"]

0 commit comments

Comments
 (0)