Skip to content

Commit

Permalink
[workbench] [workbench] Add missing DevSettings implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
alloy committed Nov 22, 2020
1 parent 9fbd7de commit 4a8501f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
@@ -0,0 +1,8 @@
// @flow
interface IDevSettings {
addMenuItem(title: string, handler: () => mixed): void,
reload(reason?: string): void,
onFastRefresh(): void,
}

declare module.exports: IDevSettings;
@@ -0,0 +1,8 @@
// @flow
interface IDevSettings {
addMenuItem: (title: string, handler: () => unknown) => void;
reload: (reason?: string) => void;
onFastRefresh: () => void;
}
declare const $f2tExportDefault: IDevSettings;
export default $f2tExportDefault;

0 comments on commit 4a8501f

Please sign in to comment.