H5-contact/node_modules/@dcloudio/uni-cli-shared/dist/hbx/log.d.ts

14 lines
646 B
TypeScript

import type { LogErrorOptions } from 'vite';
import type { Formatter } from '../logs/format';
export declare function formatAtFilename(filename: string, line?: number, column?: number): string;
export declare const h5ServeFormatter: Formatter;
export declare const removeInfoFormatter: Formatter;
export declare const removeWarnFormatter: Formatter;
export declare const removeDuplicatePluginFormatter: Formatter;
export declare const errorFormatter: Formatter<LogErrorOptions>;
interface ErrorWithBlockFlag extends Error {
__errorBlocked: true;
}
export declare function createErrorWithBlockFlag(msg: string): ErrorWithBlockFlag;
export {};