Skip to content

Commit

Permalink
Fix TypeScript typings (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
rohit-gohri authored May 12, 2021
1 parent aea981f commit 7c926ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ declare namespace NodePolyfillPlugin {
}

declare class NodePolyfillPlugin {
constructor(options: NodePolyfillPlugin.Options)
constructor(options?: NodePolyfillPlugin.Options)

apply(compiler: InstanceType<typeof Compiler>): void
}
Expand Down

0 comments on commit 7c926ae

Please sign in to comment.