$ cnpm install @types/vue-template-es2015-compiler
npm install --save @types/vue-template-es2015-compiler
This package contains type definitions for vue-template-es2015-compiler (https://github.com/vuejs/vue-template-es2015-compiler#readme).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/vue-template-es2015-compiler.
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;
These definitions were written by Ilya Medvedev.
Copyright 2013 - present © cnpmjs.org | Home |