flowconfig TsStub
Reviewed By: passy Differential Revision: D16647501 fbshipit-source-id: ed92153fcf48574c5ae032131cb8d8dc4b00baf2
This commit is contained in:
committed by
Facebook Github Bot
parent
5aadbde4b9
commit
262b1fd4a9
10
.flowconfig
10
.flowconfig
@@ -9,7 +9,6 @@
|
||||
.*/website/.*
|
||||
<PROJECT_ROOT>/src/plugins/sections/d3/d3.js$
|
||||
.*\.tsx
|
||||
.*\.ts
|
||||
|
||||
[libs]
|
||||
flow-typed
|
||||
@@ -21,15 +20,10 @@ module.use_strict=true
|
||||
emoji=true
|
||||
all=true
|
||||
include_warnings=true
|
||||
module.name_mapper='^\(.*\)\.tsx$' -> 'TsStub'
|
||||
module.name_mapper='flipper' -> '<PROJECT_ROOT>/src/index.js'
|
||||
module.file_ext=.js
|
||||
module.file_ext=.jsx
|
||||
module.file_ext=.json
|
||||
module.file_ext=.mjs
|
||||
module.file_ext=.tsx
|
||||
module.name_mapper.extension='tsx' -> 'any'
|
||||
module.name_mapper.extension='ts' -> 'any'
|
||||
suppress_type=$FlowFixMe
|
||||
module.system=haste
|
||||
|
||||
[strict]
|
||||
deprecated-type
|
||||
|
||||
3
flow-typed/TsStub.js
vendored
Normal file
3
flow-typed/TsStub.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
declare module TsStub {
|
||||
declare module.exports: any;
|
||||
}
|
||||
Reference in New Issue
Block a user