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:
committed by
Facebook GitHub Bot
parent
59b11c5f12
commit
f2abbf63db
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user