mirror of
https://github.com/threeal/cmake-action.git
synced 2025-04-20 10:41:21 +00:00
build: audit TypeScript configuration (#132)
* build(typescript): remove unnecessary compiler options * build(typescript): adjust style for value of `module` and `target` compiler options * build(typescript): use `node16` module instead of `nodenext` * build(typescript): enable `exactOptionalPropertyTypes` compiler option
This commit is contained in:
parent
27e324dd89
commit
a56fc88b91
@ -1,15 +1,12 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
|
"exactOptionalPropertyTypes": true,
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"module": "NodeNext",
|
"module": "node16",
|
||||||
"moduleResolution": "NodeNext",
|
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
"outDir": "dist",
|
"outDir": "dist",
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"esModuleInterop": true,
|
"target": "es2022",
|
||||||
"forceConsistentCasingInFileNames": true,
|
|
||||||
"lib": ["ES2022"],
|
|
||||||
"target": "ES2022",
|
|
||||||
"skipLibCheck": true
|
"skipLibCheck": true
|
||||||
},
|
},
|
||||||
"include": ["src"]
|
"include": ["src"]
|
||||||
|
Loading…
Reference in New Issue
Block a user