Skip to content

Commit 4810aca

Browse files
committed
fix(index): use the type with metadata
1 parent 9323364 commit 4810aca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import {WebpackConfig, get} from '@easy-webpack/core'
1+
import {WebpackConfigWithMetadata, get} from '@easy-webpack/core'
22
import * as path from 'path'
33

44
/**
55
* Tslint loader support for *.ts files
66
* See: https://github.com/wbuchwalter/tslint-loader
77
*/
88
export = function tslint({options = undefined, exclude = null} = {}) {
9-
return function tslint(this: WebpackConfig): WebpackConfig {
9+
return function tslint(this: WebpackConfigWithMetadata): WebpackConfigWithMetadata {
1010
return {
1111
module: {
1212
preLoaders: get(this, 'module.preLoaders', []).concat([

0 commit comments

Comments
 (0)