and so it begins...
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
This commit is contained in:
committed by
Facebook Github Bot
parent
cf1347d2e3
commit
ee5091c742
@@ -8,6 +8,8 @@
|
||||
<PROJECT_ROOT>/src/fb/plugins/relaydevtools/relay-devtools/DevtoolsUI.js$
|
||||
.*/website/.*
|
||||
<PROJECT_ROOT>/src/plugins/sections/d3/d3.js$
|
||||
.*\.tsx
|
||||
.*\.ts
|
||||
|
||||
[libs]
|
||||
flow-typed
|
||||
@@ -20,7 +22,9 @@ 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]
|
||||
|
||||
Reference in New Issue
Block a user