diff --git a/flow-typed/npm/@react-native-community/cli-types_v19.x.x.js b/flow-typed/npm/@react-native-community/cli-types_v19.x.x.js index 308beeecf20e..98965820c138 100644 --- a/flow-typed/npm/@react-native-community/cli-types_v19.x.x.js +++ b/flow-typed/npm/@react-native-community/cli-types_v19.x.x.js @@ -35,7 +35,7 @@ declare module '@react-native-community/cli-types' { name: string, version: string, }, - func: CommandFunction, + func: CommandFunction, options?: Array OptionValue>>, }; diff --git a/flow-typed/npm/yargs_v17.x.x.js b/flow-typed/npm/yargs_v17.x.x.js index 07077c11f282..1c78d56a73da 100644 --- a/flow-typed/npm/yargs_v17.x.x.js +++ b/flow-typed/npm/yargs_v17.x.x.js @@ -103,7 +103,7 @@ declare module 'yargs' { builder?: | {[key: string]: Options, ...} | ((yargsInstance: Yargs) => unknown), - handler?: Function, + handler?: any, ): this; command( cmd: string | Array, diff --git a/packages/debugger-shell/src/electron/SettingsStore.js b/packages/debugger-shell/src/electron/SettingsStore.js index c4714beed615..569361b45636 100644 --- a/packages/debugger-shell/src/electron/SettingsStore.js +++ b/packages/debugger-shell/src/electron/SettingsStore.js @@ -30,7 +30,7 @@ type Options = Readonly<{ * - Supports the Electron main process only. */ export default class SettingsStore { - #defaultValues: Object = {}; + #defaultValues: any = {}; path: string; constructor(options: Options = {}) {