Skip to content

Commit

Permalink
feat(create-vite): set "strict: true" in tsconfig.node.json (#15820)
Browse files Browse the repository at this point in the history
  • Loading branch information
philbates35 authored Feb 8, 2024
1 parent 48cbd0b commit 5e5ca7d
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 6 deletions.
3 changes: 2 additions & 1 deletion packages/create-vite/template-preact-ts/tsconfig.node.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"skipLibCheck": true,
"module": "ESNext",
"moduleResolution": "bundler",
"allowSyntheticDefaultImports": true
"allowSyntheticDefaultImports": true,
"strict": true
},
"include": ["vite.config.ts"]
}
3 changes: 2 additions & 1 deletion packages/create-vite/template-qwik-ts/tsconfig.node.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"skipLibCheck": true,
"module": "ESNext",
"moduleResolution": "bundler",
"allowSyntheticDefaultImports": true
"allowSyntheticDefaultImports": true,
"strict": true
},
"include": ["vite.config.ts"]
}
3 changes: 2 additions & 1 deletion packages/create-vite/template-react-ts/tsconfig.node.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"skipLibCheck": true,
"module": "ESNext",
"moduleResolution": "bundler",
"allowSyntheticDefaultImports": true
"allowSyntheticDefaultImports": true,
"strict": true
},
"include": ["vite.config.ts"]
}
3 changes: 2 additions & 1 deletion packages/create-vite/template-solid-ts/tsconfig.node.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"skipLibCheck": true,
"module": "ESNext",
"moduleResolution": "bundler",
"allowSyntheticDefaultImports": true
"allowSyntheticDefaultImports": true,
"strict": true
},
"include": ["vite.config.ts"]
}
3 changes: 2 additions & 1 deletion packages/create-vite/template-svelte-ts/tsconfig.node.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"composite": true,
"skipLibCheck": true,
"module": "ESNext",
"moduleResolution": "bundler"
"moduleResolution": "bundler",
"strict": true
},
"include": ["vite.config.ts"]
}
3 changes: 2 additions & 1 deletion packages/create-vite/template-vue-ts/tsconfig.node.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"skipLibCheck": true,
"module": "ESNext",
"moduleResolution": "bundler",
"allowSyntheticDefaultImports": true
"allowSyntheticDefaultImports": true,
"strict": true
},
"include": ["vite.config.ts"]
}

0 comments on commit 5e5ca7d

Please sign in to comment.