6 lines
206 B
TypeScript
6 lines
206 B
TypeScript
type Handler = Function;
|
|
declare function getHandler(filename: string, name: string): Promise<Handler | null>;
|
|
declare function throwInNextTick(error: Error): void;
|
|
|
|
export { getHandler, throwInNextTick };
|