diff --git a/src/fb-stubs/ErrorReporter.tsx b/src/fb-stubs/ErrorReporter.tsx index acd9480a1..f1e39bc8e 100644 --- a/src/fb-stubs/ErrorReporter.tsx +++ b/src/fb-stubs/ErrorReporter.tsx @@ -11,7 +11,7 @@ * so that all logged errors get reported to this class. */ export function cleanStack(stack: string, loc?: string) {} -import {ScribeLogger} from './ScribeLogger'; +import ScribeLogger from './ScribeLogger'; export type ObjectError = | Error diff --git a/src/fb-stubs/ScribeLogger.js b/src/fb-stubs/ScribeLogger.tsx similarity index 68% rename from src/fb-stubs/ScribeLogger.js rename to src/fb-stubs/ScribeLogger.tsx index 335a01a82..6dd8648d4 100644 --- a/src/fb-stubs/ScribeLogger.js +++ b/src/fb-stubs/ScribeLogger.tsx @@ -5,12 +5,12 @@ * @format */ -export type ScribeMessage = {| - category: string, - message: string, -|}; +export type ScribeMessage = { + category: string; + message: string; +}; -import type {Logger} from '../fb-interfaces/Logger.js'; +import {Logger} from '../fb-interfaces/Logger.js'; export default class ScribeLogger { constructor(logger: Logger) {}