mirror of
https://github.com/wangdoc/typescript-tutorial.git
synced 2025-12-20 00:50:17 +08:00
docs(utility): fixed #107
This commit is contained in:
@@ -44,7 +44,7 @@ type Awaited<T> =
|
||||
} ? F extends (
|
||||
value: infer V,
|
||||
...args: infer _
|
||||
) => any ? Awaited<...> : never:
|
||||
) => any ? Awaited<V> : never:
|
||||
T;
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user