Skip to content

Commit

Permalink
tsconfig の設定追加
Browse files Browse the repository at this point in the history
  • Loading branch information
voluntas committed Dec 15, 2024
1 parent 9347489 commit ebd37a4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,14 @@
"allowSyntheticDefaultImports": true,
"resolveJsonModule": true,
"stripInternal": true,
// 未使用のローカル変数をエラーにする
"noUnusedLocals": true,
// 未使用のパラメータをエラーにする
"noUnusedParameters": true,
// 関数の引数の型を厳密にチェックする
"strictFunctionTypes": true,
// プロパティの初期化を厳密にチェックする
"strictPropertyInitialization": true,
"newLine": "LF",
"types": [],
"lib": ["esnext", "dom", "dom.iterable", "scripthost"]
Expand Down

0 comments on commit ebd37a4

Please sign in to comment.