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

Commit 77fe018

Browse files
committed
feat(index): migrate to object based parameters
BREAKING CHANGE: method takes in an object, rather than parameters
1 parent baf692d commit 77fe018

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import 'regenerator-runtime/runtime'
77
* Typescript loader support for .ts
88
* See: https://github.com/s-panferov/awesome-typescript-loader
99
*/
10-
export = function typescript(options = {}, exclude: Array<string> = null) {
10+
export = function typescript({options = {}, exclude = null}) {
1111
return function typescript(this: WebpackConfig): WebpackConfig {
1212
return {
1313
resolve: {

0 commit comments

Comments
 (0)