Summary: This converts the index file to TypeScript which is used as an export for all plugins. Alongside, I had to fix a couple of errors in various files to make sure everything works correctly. For plugins using flow, we define an interface which uses the type definition for FlipperPlugin and types all UI components as `any`. Reviewed By: passy Differential Revision: D16936890 fbshipit-source-id: dacd9a63a82b9f0bbb530b06072186874cba7b6f
38 lines
637 B
Plaintext
38 lines
637 B
Plaintext
[ignore]
|
|
.*/scripts/.*
|
|
.*/coverage/.*
|
|
.*/build/.*
|
|
.*/dist/.*
|
|
.*/static/.*
|
|
<PROJECT_ROOT>/src/fb/plugins/relaydevtools/relay-devtools/DevtoolsUI.js$
|
|
.*/website/.*
|
|
<PROJECT_ROOT>/src/plugins/sections/d3/d3.js$
|
|
.*\.tsx
|
|
.*/node_modules/.*
|
|
|
|
[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='^\(.*\)\.tsx$' -> 'TsStub'
|
|
suppress_type=$FlowFixMe
|
|
module.system=haste
|
|
|
|
[strict]
|
|
deprecated-type
|
|
nonstrict-import
|
|
sketchy-null
|
|
unclear-type
|
|
unsafe-getters-setters
|
|
untyped-import
|
|
untyped-type-import
|
|
|
|
[version]
|
|
0.104.0
|