From eeb9b25dded52182d2131b220d9b17444047546d Mon Sep 17 00:00:00 2001 From: "grit-app[bot]" <109394605+grit-app[bot]@users.noreply.github.com> Date: Fri, 15 Mar 2024 17:23:53 +0000 Subject: [PATCH] [bot] migrate files --- flow.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flow.d.ts b/flow.d.ts index 4528bcc..c8572d4 100644 --- a/flow.d.ts +++ b/flow.d.ts @@ -14,7 +14,7 @@ type HasComponentProps> = T extends ( ) => React.ReactElement ? OmitDefaultProps : never; -export declare namespace Flow { +export const flow = declare namespace Flow { // Abstract Component utility type // https://flow.org/en/docs/react/types/#toc-react-abstractcomponent type AbstractComponent = React.ComponentType< @@ -44,4 +44,4 @@ export declare namespace Flow { O extends Record, F extends (...args: any[]) => any > = { [P in keyof O]: ReturnType }; -} +};