Files
flipper/desktop/tsconfig.base.json
Anton Kastritskiy 2a52656d0b do not strip comments with tsc
Summary: Since tsc strips comments when writing plugins the dx is lacking as the doumentated comments are not discoverable via hovers in text editors

Reviewed By: aigoncharov

Differential Revision: D44498403

fbshipit-source-id: 8fe262f2d815adfbe989ece5d783359c9af4d180
2023-03-29 06:19:26 -07:00

37 lines
1.1 KiB
JSON

{
"compilerOptions": {
"module": "commonjs",
"lib": ["ES2019"],
"esModuleInterop": true,
"target": "ES2019",
"removeComments": false,
"preserveConstEnums": true,
"sourceMap": true,
"declaration": true,
"declarationMap": true,
"jsx": "react",
"moduleResolution": "node",
"skipLibCheck": true,
"strict": true,
"useUnknownInCatchVariables": false,
"composite": true,
"incremental": true,
"baseUrl": ".",
"allowJs": true,
"rootDir": ".",
"paths": {
"flipper": ["./app/src/"],
"flipper-plugin": ["./flipper-plugin/src"],
"eslint-plugin-flipper": ["./eslint-plugin-flipper/src"],
"flipper-server-core": ["./flipper-server-core/src"],
"flipper-server-ui": ["./flipper-server-ui/src"],
"flipper-common": ["./flipper-common/src"],
"flipper-*": ["./*/src"]
},
// by default we don't include any @types, as to white list them specifically per project.
// this avoids hoised @types packages being shared by all projects implicitly
"types": []
},
"exclude": ["**/lib/", "**/dist/", "**/node_modules/", "**/__tests__/"]
}