UNPKG

493 BTypeScriptView Raw
1import { Reactotron, ReactotronCore } from "reactotron-core-client";
2export interface TrackGlobalErrorsOptions {
3 veto?: (frame: any) => boolean;
4}
5declare const _default: <ReactotronSubtype = ReactotronCore>(options: TrackGlobalErrorsOptions) => (reactotron: Reactotron<ReactotronSubtype> & ReactotronSubtype) => {
6 features: {
7 reportError: (error: any) => void;
8 trackGlobalErrors: () => void;
9 untrackGlobalErrors: () => void;
10 };
11};
12export default _default;