Files
story-studio/remotion/node_modules/@remotion/renderer/dist/wrap-with-error-handling.d.ts
2026-02-21 10:33:18 +01:00

9 lines
352 B
TypeScript

import type { LogLevel } from './log-level';
type AsyncFunction<A extends unknown[], R> = (...args: A) => Promise<R>;
type LogLevelAndIndentApi = {
logLevel: LogLevel;
indent: boolean;
};
export declare const wrapWithErrorHandling: <A extends [LogLevelAndIndentApi, ...unknown[]], R>(fn: AsyncFunction<A, R>) => AsyncFunction<A, R>;
export {};