Skip to content

Commit

Permalink
remove unused type imports 1/1
Browse files Browse the repository at this point in the history
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
  • Loading branch information
alunyov authored and facebook-github-bot committed Jan 18, 2023
1 parent 60b9d8c commit 58a6cf8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
5 changes: 1 addition & 4 deletions Libraries/Image/ImageViewNativeComponent.js.flow
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@ import type {ResolvedAssetSource} from './AssetSourceResolver';
import type {ImageProps} from './ImageProps';
import type {ViewProps} from '../Components/View/ViewPropTypes';
import {ConditionallyIgnoredEventHandlers} from '../NativeComponent/ViewConfigIgnore';
import type {
HostComponent,
PartialViewConfig,
} from '../Renderer/shims/ReactNativeTypes';
import type {HostComponent} from '../Renderer/shims/ReactNativeTypes';
import type {
ColorValue,
DangerouslyImpreciseStyle,
Expand Down
6 changes: 1 addition & 5 deletions Libraries/Lists/FlatList.js.flow
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,7 @@ const View = require('../Components/View/View');
import typeof ScrollViewNativeComponent from '../Components/ScrollView/ScrollViewNativeComponent';
import {type ScrollResponderType} from '../Components/ScrollView/ScrollView';
import type {ViewStyleProp} from '../StyleSheet/StyleSheet';
import type {
ViewToken,
ViewabilityConfigCallbackPair,
} from './ViewabilityHelper';
import type {RenderItemType, RenderItemProps} from './VirtualizedList';
import type {RenderItemType} from './VirtualizedList';
import typeof VirtualizedList from './VirtualizedList';

type RequiredProps<ItemT> = {|
Expand Down

0 comments on commit 58a6cf8

Please sign in to comment.