Summary: This is the basic setup for TypeScript support in Flipper and makes sure our build system can handle `.ts(x)` files. Support for flow is still fully working, so we can land this and continue with the TS migration. Reviewed By: jknoxville Differential Revision: D15920150 fbshipit-source-id: d5a7f22fe824d1c1904105bbf738767d735cc0f1
41 lines
747 B
Plaintext
41 lines
747 B
Plaintext
[ignore]
|
|
.*/scripts/.*
|
|
.*/coverage/.*
|
|
.*/node_modules/.*
|
|
.*/build/.*
|
|
.*/dist/.*
|
|
.*/static/.*
|
|
<PROJECT_ROOT>/src/fb/plugins/relaydevtools/relay-devtools/DevtoolsUI.js$
|
|
.*/website/.*
|
|
<PROJECT_ROOT>/src/plugins/sections/d3/d3.js$
|
|
.*\.tsx
|
|
.*\.ts
|
|
|
|
[libs]
|
|
flow-typed
|
|
|
|
[options]
|
|
esproposal.export_star_as=enable
|
|
esproposal.optional_chaining=enable
|
|
module.use_strict=true
|
|
emoji=true
|
|
all=true
|
|
include_warnings=true
|
|
module.name_mapper='flipper' -> '<PROJECT_ROOT>/src/index.js'
|
|
module.file_ext=.tsx
|
|
module.name_mapper.extension='tsx' -> 'any'
|
|
module.name_mapper.extension='ts' -> 'any'
|
|
suppress_type=$FlowFixMe
|
|
|
|
[strict]
|
|
deprecated-type
|
|
nonstrict-import
|
|
sketchy-null
|
|
unclear-type
|
|
unsafe-getters-setters
|
|
untyped-import
|
|
untyped-type-import
|
|
|
|
[version]
|
|
0.102.0
|