Commit 94d66071 authored by nanahira's avatar nanahira

fix

parent 639099f0
......@@ -69,7 +69,7 @@ export function abortable<T>(
}
// Promise:按“真 Promise + 代理”的方案处理
if (typeof (value as any).then === 'function') {
if (typeof (value as any)?.then === 'function') {
return wrapNativePromise(value as any) as unknown as V;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment