1
0
Fork 0
mirror of https://github.com/betagouv/mon-entreprise synced 2025-02-09 01:45:03 +00:00
mon-entreprise/tsconfig.json
Maxime Quandalle cc602e1a48 ⬆ MAJ TypeScript vers 4.1
Plein de nouveautés et notamment la possibilité de "programmer" les
types chaînes littérales qui nous sera utile par exemple pour vérifier
statiquement la validité d'une *expression* publicode dans
`engine.evaluate`.
https://devblogs.microsoft.com/typescript/announcing-typescript-4-1/

⬆ MAJ ESLint-typescript pour la compatibilité
2020-11-20 12:08:21 +01:00

25 lines
869 B
JSON

{
"compilerOptions": {
"moduleResolution": "node",
"module": "esnext",
"target": "esnext",
"jsx": "react-jsx",
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"allowJs": true,
// The end goal is to enable `"strict": true` which correspond to the
// following settings: noImplicitAny, noImplicitThis, alwaysStrict,
// strictBindCallApply, strictNullChecks, strictFunctionTypes, and
// strictPropertyInitialization. During the transition we enable these
// settings one by one.
// Note: almost all parameters are now enabled. The only one remaining
// is noImplicitAny -- but it's a hard one.
"noImplicitThis": true,
"strictBindCallApply": true,
"strictFunctionTypes": true,
"strictNullChecks": true,
"strictPropertyInitialization": true,
"types": ["webpack-env"]
}
}