Migrate ErrorReporter

Summary: _typescript_

Reviewed By: jknoxville

Differential Revision: D16648552

fbshipit-source-id: 969c549594d76dca6552338a25f6ab7d8047d14d
This commit is contained in:
Pascal Hartig
2019-08-09 02:38:10 -07:00
committed by Facebook Github Bot
parent fc0966a133
commit a314d1d930

View File

@@ -10,8 +10,8 @@
* The recommended way to use this, is to instantiate it inside Logger, * The recommended way to use this, is to instantiate it inside Logger,
* so that all logged errors get reported to this class. * so that all logged errors get reported to this class.
*/ */
export function cleanStack(stack: string, loc: ?string) {} export function cleanStack(stack: string, loc?: string) {}
import type ScribeLogger from './ScribeLogger'; import {ScribeLogger} from './ScribeLogger';
export type ObjectError = export type ObjectError =
| Error | Error