From f6da4b2ab6a23fe4dc3cef02b0b6906192edd102 Mon Sep 17 00:00:00 2001 From: Rohit Gohri Date: Thu, 13 May 2021 01:46:32 +0530 Subject: [PATCH] make constructor options optional --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 7fb9fb5..89d2e2c 100644 --- a/index.d.ts +++ b/index.d.ts @@ -43,7 +43,7 @@ declare namespace NodePolyfillPlugin { } declare class NodePolyfillPlugin { - constructor(options: NodePolyfillPlugin.Options) + constructor(options?: NodePolyfillPlugin.Options) apply(compiler: InstanceType): void }