Installation
npm install --save @types/vue-template-es2015-compiler
Summary
This package contains type definitions for vue-template-es2015-compiler (https://github.com/vuejs/vue-template-es2015-compiler#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/vue-template-es2015-compiler.
index.d.ts
interface TransformsOptions {
modules?: boolean | undefined;
/** Custom feature for stripping with from Vue render functions */
stripWith?: boolean | undefined;
/** Custom feature ensures with context targets functional render */
stripWithFunctional?: boolean | undefined;
}
interface CompilerOptions {
/** Selectively support some handy ES2015 features in templates */
transforms?: TransformsOptions | undefined;
/** Allow spread... */
objectAssign?: string | undefined;
}
/**
* Processes the raw render functions generated by `vue-template-compiler`
*/
declare function compiler(code: string, options?: CompilerOptions): string;
export = compiler;
Additional Details
- Last updated: Tue, 07 Nov 2023 15:11:36 GMT
- Dependencies: none
Credits
These definitions were written by Ilya Medvedev.