@@ -7,13 +7,13 @@ declare module 'webpack' {
77 toJson ( ) : Object ,
88 hasErrors ( ) : boolean
99 }
10- declare class Compiler {
10+ declare interface Compiler {
1111 outputFileSystem: FileSystem ;
1212 watch ( options : Object , callback : ( error : Error , stats : Stats ) = > void ) : void ;
1313 run ( callback : ( error : Error , stats : Stats ) = > void ) : void ;
1414 }
1515
16- declare class DefinePlugin {
16+ declare interface DefinePlugin {
1717 constructor ( option : { [ key : string ] : string } ) : void ;
1818 }
1919 declare module . exports : {
@@ -31,11 +31,11 @@ declare module 'serialize-javascript' {
3131declare module 'node-version' {
3232 declare module . exports : {
3333 original : string ,
34- short : string ,
35- long : string ,
36- major : string ,
37- minor : string ,
38- build : string
34+ short : string ,
35+ long : string ,
36+ major : string ,
37+ minor : string ,
38+ build : string
3939 }
4040}
4141declare module 'webpack-node-externals' {
@@ -51,11 +51,13 @@ declare module 'vue' {
5151 static use ( vuePlugin : Object ) : void ;
5252 static mixin ( options : Object ) : void ;
5353 }
54+
55+
5456 declare module . exports : typeof Component ;
5557}
5658
5759declare module 'vue - server - renderer ' {
58- declare class VueServerRenderer {
60+ declare interface VueServerRenderer {
5961 renderToString ( vm : Vue , context : any , callback : any ) : string ;
6062 renderToStream ( vm : Vue , context ? : Object ) : Readable ;
6163 }
@@ -75,3 +77,12 @@ declare module 'vue-router' {
7577declare module 'memory - fs ' {
7678 declare module . exports : FileSystem ;
7779}
80+
81+ declare module 'webpack - merge ' {
82+ declare interface WebpackMerge {
83+ ( ...configs : Object [ ] ) : Object ,
84+ smart ( ...configs : Object [ ] ) : Object
85+ }
86+ declare var merge : WebpackMerge ;
87+ declare module . exports : typeof merge
88+ }
0 commit comments