Skip to content

Commit 73550ca

Browse files
authored
Merge pull request #21 from lume/stricter-type-checking
Stricter type checking
2 parents 1aeb646 + 7746b5d commit 73550ca

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

config/ts.config.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,17 @@
3838
"noUnusedLocals": true,
3939
"noUnusedParameters": true,
4040
"forceConsistentCasingInFileNames": true,
41-
// "noImplicitOverride": true, // TODO, many type errors will result (f.e. in the lume package)
41+
"noImplicitOverride": true,
42+
"noUncheckedIndexedAccess": true,
4243

4344
// Language feature options
4445
"useDefineForClassFields": true,
4546
"preserveConstEnums": true,
4647
// JSX is preserved so that we can handle JSX with babel-preset-solid
4748
// (for use with @lume/element).
4849
"jsx": "preserve",
50+
// Default to supporting Solid JSX by default. This is the default the Lume project uses right now.
51+
"jsxImportSource": "solid-js",
4952

5053
"pretty": true,
5154
"declaration": true,

0 commit comments

Comments
 (0)