disable-devtool/npm/index.d.ts
2020-10-22 00:30:50 +08:00

17 lines
382 B
TypeScript

declare interface optionStatic {
md5?: string;
url?: string;
tkName?: string;
ondevtoolopen?(): void; // ondevtoolopen 优先级高于 url
debugDelay?: number;
interval?: number;
disableMenu?: boolean;
}
declare interface DDTStatic {
(option?: optionStatic): void;
md5(text?: string): string;
}
declare const ddt: DDTStatic;
export default ddt;