前端 uni-app 重写: 9页面 H5

This commit is contained in:
zhiqui
2026-11-15 15:09:37 +08:00
parent 513b53672e
commit ea7c2529e9
24104 changed files with 3667749 additions and 0 deletions
@@ -0,0 +1,15 @@
import type { SourceLocation } from '@vue/compiler-core';
export { formatErrMsg, formatInfoMsg, formatWarnMsg } from './format';
type LogType = 'error' | 'warn' | 'info' | 'log';
export declare function resetOutput(type: LogType): void;
export declare function output(type: LogType, msg: string): void;
export interface CompileLogError extends Error {
loc?: Omit<SourceLocation, 'source'>;
customPrint?: () => void;
}
export interface CompileLogOptions {
plugin?: string;
line?: number;
column?: number;
}
export declare function onCompileLog(type: 'warn' | 'error', error: CompileLogError, code: string, relativeFileName: string, options?: CompileLogOptions): void;