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

@@ -29,9 +29,9 @@ import {updateSettings} from '../reducers/settings';
import {switchPlugin} from '../reducers/pluginManager';
import {awaitPluginCommandQueueEmpty} from '../dispatcher/pluginManager';
interface PersistedState {
type PersistedState = {
count: 1;
}
};
class TestPlugin extends FlipperPlugin<any, any, any> {
static id = 'TestPlugin';

View File

@@ -12,9 +12,9 @@ import {FlipperPlugin} from '../plugin';
import {TestIdler} from '../utils/Idler';
import {getAllClients} from '../reducers/connections';
interface PersistedState {
type PersistedState = {
count: 1;
}
};
class TestPlugin extends FlipperPlugin<any, any, any> {
static id = 'TestPlugin';