diff --git a/src/fb-stubs/ErrorReporter.js b/src/fb-stubs/ErrorReporter.tsx similarity index 84% rename from src/fb-stubs/ErrorReporter.js rename to src/fb-stubs/ErrorReporter.tsx index 37963857b..cd3448376 100644 --- a/src/fb-stubs/ErrorReporter.js +++ b/src/fb-stubs/ErrorReporter.tsx @@ -10,8 +10,8 @@ * The recommended way to use this, is to instantiate it inside Logger, * so that all logged errors get reported to this class. */ -export function cleanStack(stack: string, loc: ?string) {} -import type ScribeLogger from './ScribeLogger'; +export function cleanStack(stack: string, loc?: string) {} +import {ScribeLogger} from './ScribeLogger'; export type ObjectError = | Error