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

This commit is contained in:
Elian Doran 2025-04-18 11:39:11 +03:00
parent dd3982e24c
commit 059e617839
No known key found for this signature in database

View File

@ -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>))();
}