Skip to content

Commit

Permalink
feat: add patch for import-lazy typings
Browse files Browse the repository at this point in the history
  • Loading branch information
phoenisx committed Nov 3, 2022
1 parent 824506a commit 2ce722f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions 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<T = unknown>(
- importFn: (moduleId: string) => T
-): (moduleId: string) => T;
+ importFn: (moduleId?: string) => T
+): (moduleId?: string) => T;

export = importLazy;

0 comments on commit 2ce722f

Please sign in to comment.