Skip to content

Commit 58a6cf8

Browse files
alunyovfacebook-github-bot
authored andcommitted
remove unused type imports 1/1
Summary: Cleans up unused type imports from the codebase. ./scripts/typedjs/flow/runner --config /data/sandcastle/boxes/www/scripts/typedjs/flow/runner.config.xplat.js codemod local/removeUnusedTypeImports /data/sandcastle/boxes/fbsource/xplat/js drop-conflicts bypass-lint bypass_size_limit Reviewed By: GijsWeterings Differential Revision: D42556504 fbshipit-source-id: 05885edccb686390f29f69c2f2049bf650a1b8c5
1 parent 60b9d8c commit 58a6cf8

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

Libraries/Image/ImageViewNativeComponent.js.flow

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,7 @@ import type {ResolvedAssetSource} from './AssetSourceResolver';
1212
import type {ImageProps} from './ImageProps';
1313
import type {ViewProps} from '../Components/View/ViewPropTypes';
1414
import {ConditionallyIgnoredEventHandlers} from '../NativeComponent/ViewConfigIgnore';
15-
import type {
16-
HostComponent,
17-
PartialViewConfig,
18-
} from '../Renderer/shims/ReactNativeTypes';
15+
import type {HostComponent} from '../Renderer/shims/ReactNativeTypes';
1916
import type {
2017
ColorValue,
2118
DangerouslyImpreciseStyle,

Libraries/Lists/FlatList.js.flow

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,7 @@ const View = require('../Components/View/View');
1414
import typeof ScrollViewNativeComponent from '../Components/ScrollView/ScrollViewNativeComponent';
1515
import {type ScrollResponderType} from '../Components/ScrollView/ScrollView';
1616
import type {ViewStyleProp} from '../StyleSheet/StyleSheet';
17-
import type {
18-
ViewToken,
19-
ViewabilityConfigCallbackPair,
20-
} from './ViewabilityHelper';
21-
import type {RenderItemType, RenderItemProps} from './VirtualizedList';
17+
import type {RenderItemType} from './VirtualizedList';
2218
import typeof VirtualizedList from './VirtualizedList';
2319

2420
type RequiredProps<ItemT> = {|

0 commit comments

Comments
 (0)