UNPKG

489 BTypeScriptView Raw
1import * as webpack from 'webpack';
2declare interface Loader {
3 _module: webpack.NormalModule;
4 cacheable?(): void;
5 async(): (...args: unknown[]) => unknown;
6}
7declare function loader(this: Loader, content: string): string;
8declare namespace loader {
9 const htmlSymbol: symbol;
10 let attributes: {
11 require: string[];
12 compose: string[];
13 "router-view": string[];
14 };
15 function modules(html: string): string[];
16}
17export = loader;