Skip to content

Commit 7c926ae

Browse files
authored
Fix TypeScript typings (#10)
1 parent aea981f commit 7c926ae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ declare namespace NodePolyfillPlugin {
4343
}
4444

4545
declare class NodePolyfillPlugin {
46-
constructor(options: NodePolyfillPlugin.Options)
46+
constructor(options?: NodePolyfillPlugin.Options)
4747

4848
apply(compiler: InstanceType<typeof Compiler>): void
4949
}

0 commit comments

Comments
 (0)