From 53794ec180daad2c7de8eac0db03a351527b227c Mon Sep 17 00:00:00 2001 From: Vendicated Date: Fri, 14 Oct 2022 21:40:10 +0200 Subject: [PATCH] Fix jsdoc --- src/utils/proxyLazy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/proxyLazy.ts b/src/utils/proxyLazy.ts index 09124033..6aa04bf0 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(factory: () => T): T { const lazy = makeLazy(factory);