Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,4 @@ declare module '@react-native-community/cli-server-api' {
},
...
};

declare export const indexPageMiddleware: NextHandleFunction;
}
29 changes: 0 additions & 29 deletions flow-typed/npm/@react-native-community/cli-tools_v12.x.x.js

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
*/

declare module '@react-native-community/cli-types' {
declare export type CommandFunction<Args = Object> = (
declare type CommandFunction<Args = Object> = (
argv: Array<string>,
ctx: Config,
args: Args,
) => Promise<void> | void;

declare export type OptionValue = string | boolean | number;
declare type OptionValue = string | boolean | number;

declare export type CommandOption<T = (ctx: Config) => OptionValue> = {
declare type CommandOption<T = (ctx: Config) => OptionValue> = {
name: string,
description?: string,
parse?: (val: string) => any,
Expand Down
Loading