From 2ce722fee97fe725523b4ebd628163ed2305b33f Mon Sep 17 00:00:00 2001 From: Shub Date: Thu, 3 Nov 2022 20:25:58 +0530 Subject: [PATCH] feat: add patch for import-lazy typings --- patches/import-lazy+4.0.0.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 patches/import-lazy+4.0.0.patch diff --git a/patches/import-lazy+4.0.0.patch b/patches/import-lazy+4.0.0.patch new file mode 100644 index 0000000000..0a2724f0ac --- /dev/null +++ b/patches/import-lazy+4.0.0.patch @@ -0,0 +1,14 @@ +diff --git a/node_modules/import-lazy/index.d.ts b/node_modules/import-lazy/index.d.ts +index b842b41..4fc7073 100644 +--- a/node_modules/import-lazy/index.d.ts ++++ b/node_modules/import-lazy/index.d.ts +@@ -20,7 +20,7 @@ console.log(stuff.PHI); // => 1.618033 + ``` + */ + declare function importLazy( +- importFn: (moduleId: string) => T +-): (moduleId: string) => T; ++ importFn: (moduleId?: string) => T ++): (moduleId?: string) => T; + + export = importLazy;