@types/vue-template-es2015-compiler
TypeScript icon, indicating that this package has built-in type declarations

1.9.2 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/vue-template-es2015-compiler

Weekly Downloads

2,074

Version

1.9.2

License

MIT

Unpacked Size

4.1 kB

Total Files

5

Last publish

Collaborators

  • types