ban interface usage for component props and state

Summary: another eslint rule for flipper codebase

Reviewed By: passy

Differential Revision: D33917213

fbshipit-source-id: e60b867d359ef5b94a481edf0eda318ecff17eee
This commit is contained in:
Anton Kastritskiy
2022-02-02 05:08:48 -08:00
committed by Facebook GitHub Bot
parent 59b11c5f12
commit f2abbf63db
8 changed files with 61 additions and 9 deletions

View File

@@ -158,7 +158,6 @@ To start Flipper against a specific OnDemand instance, set FB_ONDEMAND flag, e.g
</FbInternalOnly>
## Guidelines for writing TypeScript
* Prefer `type` for React props and state over interfaces
* Install 3rd party type definitions as dev dependency (e.g. `yarn add @types/lodash --dev`)
## Submitting a diff / PR