wumingyang
8 years ago
committed by
Evan You
6 changed files with 10 additions and 6 deletions
@ -1,2 +1,6 @@ |
|||||
import {Vue} from "./vue.d"; |
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; |
export = Vue; |
||||
|
Loading…
Reference in new issue