thelounge/client/tsconfig.json

31 lines
1.9 KiB
JSON
Raw Normal View History

2022-05-02 07:56:38 +02:00
{
"extends": "../tsconfig.base.json" /* Path to base configuration file to inherit from. Requires TypeScript version 2.1 or later. */,
"include": [
"./**/*"
] /* Specifies a list of glob patterns that match files to be included in compilation. If no 'files' or 'include' property is present in a tsconfig.json, the compiler defaults to including all files in the containing directory and subdirectories except those specified by 'exclude'. Requires TypeScript version 2.0 or later. */,
"files": [
2022-05-23 09:44:01 +02:00
"../package.json",
"../src/types/socket-events.d.ts",
2022-05-23 09:44:01 +02:00
"./js/helpers/fullnamemap.json",
"./js/helpers/simplemap.json"
] /* If no 'files' or 'include' property is present in a tsconfig.json, the compiler defaults to including all files in the containing directory and subdirectories except those specified by 'exclude'. When a 'files' property is specified, only those files and those specified by 'include' are included. */,
2022-05-15 00:18:06 +02:00
// "exclude": [],
2022-05-02 07:56:38 +02:00
"compilerOptions": {
"sourceMap": false /*Create source map files for emitted JavaScript files. See more: https://www.typescriptlang.org/tsconfig#sourceMap */,
"jsx": "preserve" /* Specify what JSX code is generated. */,
2022-05-23 09:44:01 +02:00
"lib": ["DOM", "DOM.Iterable", "ESNext"],
2022-05-02 07:56:38 +02:00
// https://v2.vuejs.org/v2/guide/typescript.html?redirect=true#Recommended-Configuration
2022-05-06 21:41:13 +02:00
// this aligns with Vue's browser support
"target": "es5",
// this enables stricter inference for data properties on `this`
2022-05-02 07:56:38 +02:00
"strict": true,
2022-05-06 21:41:13 +02:00
// if using webpack 2+ or rollup, to leverage tree shaking:
"module": "es2015",
"moduleResolution": "node",
// TODO: Remove eventually
"noImplicitAny": false /*Enable error reporting for expressions and declarations with an implied any type. See more: https://www.typescriptlang.org/tsconfig#noImplicitAny */
} /* Instructs the TypeScript compiler how to compile .ts files. */
2022-05-02 07:56:38 +02:00
}