12 lines
275 B
Text
12 lines
275 B
Text
|
=== tests/cases/conformance/async/es5/asyncAliasReturnType_es5.ts ===
|
||
|
type PromiseAlias<T> = Promise<T>;
|
||
|
>PromiseAlias : Promise<T>
|
||
|
>T : T
|
||
|
>Promise : Promise<T>
|
||
|
>T : T
|
||
|
|
||
|
async function f(): PromiseAlias<void> {
|
||
|
>f : () => Promise<void>
|
||
|
>PromiseAlias : Promise<T>
|
||
|
}
|