Skip to content
This repository was archived by the owner on May 29, 2022. It is now read-only.

Commit 15f42d6

Browse files
committed
fix(index): use the type with metadata
1 parent 7e3d4ac commit 15f42d6

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,4 +1,4 @@
1-
import {WebpackConfig, get} from '@easy-webpack/core'
1+
import {WebpackConfigWithMetadata, get} from '@easy-webpack/core'
22
import * as path from 'path'
33
import {ForkCheckerPlugin, TsConfigPathsPlugin} from 'awesome-typescript-loader'
44

@@ -7,7 +7,7 @@ import {ForkCheckerPlugin, TsConfigPathsPlugin} from 'awesome-typescript-loader'
77
* See: https://github.com/s-panferov/awesome-typescript-loader
88
*/
99
export = function typescript({options = undefined, exclude = null} = {}) {
10-
return function typescript(this: WebpackConfig): WebpackConfig {
10+
return function typescript(this: WebpackConfigWithMetadata): WebpackConfigWithMetadata {
1111
const loader = {
1212
test: /\.tsx?$/,
1313
loader: 'awesome-typescript',

0 commit comments

Comments
 (0)