Summary: Our external typings were only effective for the main "app" package. In this diff I've made them effective for all other workspaces too, and also cleaned up typescript configs. Reviewed By: passy Differential Revision: D21927361 fbshipit-source-id: ceb8009255583d969d79cc11b20dfe8b686f2fb3
27 lines
579 B
JSON
27 lines
579 B
JSON
{
|
|
"compilerOptions": {
|
|
"module": "commonjs",
|
|
"lib": ["es7", "dom", "es2017"],
|
|
"esModuleInterop": true,
|
|
"target": "ES2017",
|
|
"removeComments": true,
|
|
"preserveConstEnums": true,
|
|
"sourceMap": true,
|
|
"declaration": true,
|
|
"jsx": "react",
|
|
"moduleResolution": "node",
|
|
"skipLibCheck": true,
|
|
"strict": true,
|
|
"composite": true,
|
|
"incremental": true,
|
|
"baseUrl": ".",
|
|
"allowJs": true,
|
|
"rootDir": ".",
|
|
"paths": {
|
|
"flipper": ["./app/src"],
|
|
"flipper-*": ["./*/src"],
|
|
"*": ["./*", "./types/*"]
|
|
}
|
|
}
|
|
}
|