@knodes/typedoc-pluginutils
Version:
A set of utilities for TypeDoc plugins
7 lines • 545 B
TypeScript
import { Application } from 'typedoc';
export declare const rethrow: <T>(block: () => T, newErrorFactory: (err: any) => string | Error) => T;
export declare const catchWrap: <T>(block: () => T, contextMessage: string | ((err: any) => any)) => T;
export declare const rootDir: ((app: Application) => string) & import("lodash").MemoizedFunction;
export declare const Narrow: <T>(v: any) => v is T;
export declare const writeDiag: (diagDir: string | undefined | null, file: string, content: () => string) => void;
//# sourceMappingURL=misc.d.ts.map