Skip to content

Commit d577313

Browse files
committed
remove unused imports
1 parent c86441c commit d577313

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

packages/react-native-codegen/src/parsers/flow/parser.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,6 @@ import type {ParserType} from '../errors';
2626
import type {Parser} from '../parser';
2727
import type {ParserErrorCapturer, TypeDeclarationMap, PropAST} from '../utils';
2828

29-
type EventPropertyType = {
30-
key: {
31-
name: string,
32-
},
33-
optional: boolean,
34-
value: {
35-
type: string,
36-
},
37-
};
38-
3929
const {flowTranslateTypeAnnotation} = require('./modules');
4030

4131
// $FlowFixMe[untyped-import] there's no flowtype flow-parser

packages/react-native-codegen/src/parsers/typescript/components/events.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,7 @@
1010

1111
'use strict';
1212

13-
import type {
14-
EventTypeShape,
15-
NamedShape,
16-
EventTypeAnnotation,
17-
} from '../../../CodegenSchema.js';
13+
import type {EventTypeShape} from '../../../CodegenSchema.js';
1814
import type {TypeDeclarationMap} from '../../utils';
1915
import type {Parser} from '../../parser';
2016
const {flattenProperties} = require('./componentsUtils');

0 commit comments

Comments
 (0)