diff --git a/README.md b/README.md
index ce5a3ef..a81a712 100644
--- a/README.md
+++ b/README.md
@@ -77,7 +77,8 @@ export default [
// [!DISCOURAGED]
// Set to `true` to allow plain `
diff --git a/examples/allow-js/tsconfig.app.json b/examples/allow-js/tsconfig.app.json
index d139ce2..97926e7 100644
--- a/examples/allow-js/tsconfig.app.json
+++ b/examples/allow-js/tsconfig.app.json
@@ -11,6 +11,7 @@
"@/*": ["./src/*"]
},
- "allowJs": true
+ "allowJs": true,
+ "checkJs": true
}
}
diff --git a/examples/minimal/src/main.ts b/examples/minimal/src/main.ts
index fc332b0..0ac3a5f 100644
--- a/examples/minimal/src/main.ts
+++ b/examples/minimal/src/main.ts
@@ -4,7 +4,3 @@ import { createApp } from 'vue'
import App from './App.vue'
createApp(App).mount('#app')
-
-let a: number = 1
-a = 'a'
-console.log('a', a)
diff --git a/examples/with-jsx-in-vue/tsconfig.app.json b/examples/with-jsx-in-vue/tsconfig.app.json
index d139ce2..97926e7 100644
--- a/examples/with-jsx-in-vue/tsconfig.app.json
+++ b/examples/with-jsx-in-vue/tsconfig.app.json
@@ -11,6 +11,7 @@
"@/*": ["./src/*"]
},
- "allowJs": true
+ "allowJs": true,
+ "checkJs": true
}
}
diff --git a/examples/with-jsx/tsconfig.app.json b/examples/with-jsx/tsconfig.app.json
index 2bdf118..5807729 100644
--- a/examples/with-jsx/tsconfig.app.json
+++ b/examples/with-jsx/tsconfig.app.json
@@ -10,6 +10,7 @@
"paths": {
"@/*": ["./src/*"]
},
- "allowJs": true
+ "allowJs": true,
+ "checkJs": true
}
}
diff --git a/tsconfig.json b/tsconfig.json
index 96b4894..b4c2fb5 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -14,6 +14,7 @@
// Allow JS files to be imported from TS and vice versa
"allowJs": true,
+ "checkJs": true,
// Use correct ESM import behavior
"esModuleInterop": true,