Files
polaris-react/tsconfig.json
Ben Scott 2736d1e1ac Improve tsconfig (#1883)
- enable esModuleInterop (it's enabled in the base config)
- enable strict mode (it's enabled in the base config)
- Explitly opt-out of strictFunctionTypes and strictPropertyInitialization
  which were both enabled by strict mode as we don't yet support them
  yet (there are numerious violations but we can tidy them up later
2019-07-25 13:34:09 -07:00

18 lines
568 B
JSON

{
"extends": "@shopify/typescript-configs/library",
"compilerOptions": {
"baseUrl": "./src",
"rootDir": "./",
"declarationDir": "types",
"declarationMap": false,
"jsx": "react-native",
// strictFunctionTypes & strictPropertyInitialization are implictly
// enabled by strict mode but we're not yet compliant, so disable for now
"strictFunctionTypes": false,
"strictPropertyInitialization": false,
"importHelpers": true,
"skipLibCheck": false
},
"include": ["./config/typescript/**/*", "./src/**/*", "./tests/**/*"]
}