mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
This flag seems to be not possible to use with class-inheritance in some cases. Example / demo: `KubeObject` class has initial type definitions for the fields like: "metadata", "kind", etc. and constructor() has Object.assign(this, data); Meanwhile child class, e.g. KubeEvent inherited from KubeObject and has it's own extra type definitions for underlying resource, e.g. "involvedObject", "source", etc. So calling super(data) doesn't work as expected for child class as it's own type definitions overwrites data from parent's constructor with `undefined` at later point. Signed-off-by: Roman <ixrock@gmail.com>
53 lines
995 B
JSON
53 lines
995 B
JSON
{
|
|
"compilerOptions": {
|
|
"baseUrl": ".",
|
|
"jsx": "react",
|
|
"target": "ES2017",
|
|
"module": "ESNext",
|
|
"lib": [
|
|
"ESNext",
|
|
"DOM",
|
|
"DOM.Iterable"
|
|
],
|
|
"moduleResolution": "Node",
|
|
"sourceMap": true,
|
|
"strict": false,
|
|
"noImplicitAny": true,
|
|
"noUnusedLocals": false,
|
|
"noImplicitReturns": false,
|
|
"experimentalDecorators": true,
|
|
"emitDecoratorMetadata": true,
|
|
"skipLibCheck": true,
|
|
"allowJs": false,
|
|
"esModuleInterop": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"traceResolution": false,
|
|
"resolveJsonModule": true,
|
|
"useDefineForClassFields": false,
|
|
"paths": {
|
|
"*": [
|
|
"node_modules/*",
|
|
"types/*"
|
|
]
|
|
}
|
|
},
|
|
"ts-node": {
|
|
"compilerOptions": {
|
|
"module": "CommonJS"
|
|
}
|
|
},
|
|
"include": [
|
|
"src/**/*",
|
|
"types/*.d.ts"
|
|
],
|
|
"exclude": [
|
|
"node_modules",
|
|
"out",
|
|
"dist",
|
|
"coverage",
|
|
"binaries",
|
|
"static",
|
|
"src/extensions/npm"
|
|
]
|
|
}
|