telefunc
Version:
Remote functions. Instead of API.
18 lines (17 loc) • 403 B
TypeScript
export type { Loader };
export type { Compiler };
type Loader = {
_compiler: Compiler;
resource: string;
mode: 'production' | 'development';
async: () => void;
callback: (err: Error | null, content: string | Buffer, sourceMap?: SourceMap, meta?: any) => void;
};
type SourceMap = {
mappings: string;
};
type Compiler = {
name: string;
context: string;
hooks: any;
};