utils.d.ts 812 B

1234567891011
  1. import { ExpressionNode } from '@vue/compiler-core';
  2. import { TemplateCompilerOptions } from './options';
  3. import { TransformContext } from './transform';
  4. import { CompilerError } from './errors';
  5. export declare const __DEV__ = true;
  6. export declare const __BROWSER__ = false;
  7. export declare const __COMPAT__ = false;
  8. export declare function genRenderFunctionDecl({ className, }: TemplateCompilerOptions): string;
  9. export declare function rewriteObjectExpression(exp: ExpressionNode, context: TransformContext): import("@vue/compiler-core").SimpleExpressionNode | undefined;
  10. export declare function onCompilerError(error: CompilerError): void;
  11. export declare function addEasyComponentAutoImports(easyComponentAutoImports: Record<string, [string, string]>, rootDir: string, tagName: string, fileName: string): void;