aboutsummaryrefslogtreecommitdiff
path: root/src/utils/proxyLazy.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/proxyLazy.ts')
-rw-r--r--src/utils/proxyLazy.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/proxyLazy.ts b/src/utils/proxyLazy.ts
index 0912403..6aa04bf 100644
--- a/src/utils/proxyLazy.ts
+++ b/src/utils/proxyLazy.ts
@@ -7,7 +7,7 @@ import { makeLazy } from "./misc";
* @returns Proxy
*
* Note that the example below exists already as an api, see {@link lazyWebpack}
- * @example const mod = proxyLazy(makeLazy(() => findByProps("blah"))); console.log(mod.blah);
+ * @example const mod = proxyLazy(() => findByProps("blah")); console.log(mod.blah);
*/
export function proxyLazy<T>(factory: () => T): T {
const lazy = makeLazy(factory);