{"range":{"start":{"line":74,"character":32},"end":{"line":74,"character":52}},"message":"No overload matches this call.\n Overload 1 of 2, '(props: Omit Promise; }, \"loading\">, context?: any): ReactElement | Component, any, any> | null', gave the following error.\n Type '() => void' is not assignable to type '((event: MouseEvent) => unknown) & (() => Promise)'.\n Type '() => void' is not assignable to type '() => Promise'.\n Type 'void' is not assignable to type 'Promise'.\n Overload 2 of 2, '(props: PropsWithChildren Promise; }, \"loading\">>, context?: any): ReactElement | Component<...> | null', gave the following error.\n Type '() => void' is not assignable to type '((event: MouseEvent) => unknown) & (() => Promise)'.","code":2769,"severity":1,"source":"tsserver"}