chore(monorepo/client): type error in library loader

pull/1738/head
Elian Doran 2025-04-18 11:39:11 +07:00
parent dd3982e24c
commit 059e617839
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

@ -85,7 +85,7 @@ async function requireLibrary(library: Library) {
}
}
async function unwrapValue<T>(value: T | (() => T) | Promise<(() => T)>) {
async function unwrapValue<T>(value: T | (() => T) | Promise<T>) {
if (value && typeof value === "object" && "then" in value) {
return (await (value as Promise<() => T>))();
}