File tree 1 file changed +9
-9
lines changed
1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 1
- declare module "tslint-webpack-plugin" {
2
- import { Plugin } from "webpack" ;
3
- import { Options as TslintOptions } from "tslint/lib/runner" ;
1
+ import { Plugin } from "webpack" ;
2
+ import { Options as TslintOptions } from "tslint/lib/runner" ;
4
3
4
+ export = TslintWebpackPlugin ;
5
+
6
+ declare class TslintWebpackPlugin extends Plugin {
7
+ constructor ( options ?: TslintWebpackPlugin . Options ) ;
8
+ }
9
+
10
+ declare namespace TslintWebpackPlugin {
5
11
// https://github.com/DefinitelyTyped/DefinitelyTyped/blob/9f4c75126167d0d8af759f58405d53d983e94ad0/types/react-redux/index.d.ts#L33-L34
6
12
type Diff < T extends string , U extends string > = ( { [ P in T ] : P } & { [ P in U ] : never } & { [ x : string ] : never } ) [ T ] ;
7
13
type Omit < T , K extends keyof T > = Pick < T , Diff < keyof T , K > > ;
@@ -17,10 +23,4 @@ declare module "tslint-webpack-plugin" {
17
23
exclude ?: string [ ] ;
18
24
format ?: string ;
19
25
}
20
-
21
- class TslintWebpackPlugin extends Plugin {
22
- constructor ( options ?: Options ) ;
23
- }
24
-
25
- export = TslintWebpackPlugin ;
26
26
}
You can’t perform that action at this time.
0 commit comments