Initial commit

This commit is contained in:
jiapengyu
2026-07-27 13:37:48 +08:00
commit ecba71e2a5
39123 changed files with 5989154 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
import { type CompilerError, type SourceLocation } from '@vue/compiler-core';
export declare const enum MPErrorCodes {
X_V_ON_NO_ARGUMENT = 0,
X_V_ON_DYNAMIC_EVENT = 1,
X_V_BIND_NO_ARGUMENT = 2,
X_V_BIND_DYNAMIC_ARGUMENT = 3,
X_V_BIND_MODIFIER_PROP = 4,
X_V_BIND_MODIFIER_ATTR = 5,
X_V_IS_NOT_SUPPORTED = 6,
X_NOT_SUPPORTED = 7,
X_DYNAMIC_COMPONENT_NOT_SUPPORTED = 8
}
export interface MPCompilerError extends CompilerError {
code: MPErrorCodes;
}
export declare function createMPCompilerError(code: MPErrorCodes, loc?: SourceLocation, additionalMessage?: string): MPCompilerError;