Skip to content

Commit

Permalink
Fix type errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrause committed Dec 10, 2024
1 parent feb37be commit 38df356
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions tsconfig.app.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
"jsx": "react-jsx",

// Linting
"noUnusedLocals": true,
"noUnusedParameters": true,
//"noUnusedLocals": true,
//"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedSideEffectImports": true,

Expand Down
4 changes: 2 additions & 2 deletions tsconfig.node.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
"useDefineForClassFields": true, // Use latest ES spec version of class fields

// Linting
"noUnusedLocals": true,
"noUnusedParameters": true,
//"noUnusedLocals": true,
//"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedSideEffectImports": true,
},
Expand Down
3 changes: 2 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ export default defineConfig({
safari: 17 << 16 | 5 << 8, // Minimum for `light-dark()`
},
cssModules: {
// @ts-expect-error Will be fixed in vite v6
grid: false, // Workaround for https://github.com/parcel-bundler/lightningcss/issues/762
},
},
Expand All @@ -99,7 +100,7 @@ export default defineConfig({
entry: path.resolve(__dirname, 'app/lib.ts'),
name: 'baklava',
fileName: 'baklava',
cssFileName: 'baklava',
//cssFileName: 'baklava',
formats: ['es'],
},
rollupOptions: {
Expand Down

0 comments on commit 38df356

Please sign in to comment.