UNPKG

react-native-filament

Version:

A real-time physically based 3D rendering engine for React Native

7 lines 408 B
/** * Report an error to react native's `ErrorUtils` if available, or log to console otherwise. */ export declare function reportFatalError(error: unknown): void; export declare function reportWorkletError(error: unknown): void; export declare function wrapWithErrorHandler<T extends (...args: any[]) => any>(callback: T): (...args: Parameters<T>) => ReturnType<T>; //# sourceMappingURL=ErrorUtils.d.ts.map