mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-24 11:46:43 -06:00
76181385d2
* refactor(misskey-js): enable exactOptionalPropertyTypes * refactor(misskey-js): fix error where is appeared by enabling
34 lines
655 B
JSON
34 lines
655 B
JSON
{
|
|
"$schema": "https://json.schemastore.org/tsconfig",
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"module": "nodenext",
|
|
"moduleResolution": "nodenext",
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"sourceMap": false,
|
|
"outDir": "./built/",
|
|
"removeComments": true,
|
|
"strict": true,
|
|
"strictFunctionTypes": true,
|
|
"strictNullChecks": true,
|
|
"experimentalDecorators": true,
|
|
"noImplicitReturns": true,
|
|
"esModuleInterop": true,
|
|
"exactOptionalPropertyTypes": true,
|
|
"typeRoots": [
|
|
"./node_modules/@types"
|
|
],
|
|
"lib": [
|
|
"esnext",
|
|
"dom"
|
|
]
|
|
},
|
|
"include": [
|
|
"src/**/*"
|
|
],
|
|
"exclude": [
|
|
"node_modules",
|
|
"test/**/*"
|
|
]
|
|
}
|