vue/types/index.d.ts
wumingyang 4061c42748 adapt index.d.ts for end users (#3582)
* adapt index.d.ts for end users

* fix extend return type
2016-09-04 17:33:25 +08:00

7 lines
236 B
TypeScript

import {Vue as _Vue} from "./vue.d";
// `Vue` in `export = Vue` must be a namespace
declare namespace Vue {}
// TS cannot merge imported class with namespace, declare a subclass to bypass
declare class Vue extends _Vue {}
export = Vue;