a4f9bf0fce
* Create type aliases for unresolved type symbols * Accept new baselines * Update fourslash tests * Unresolved import aliases create tagged unresolved symbols * Add comments * Accept new baselines * Add fourslash tests
11 lines
363 B
Plaintext
11 lines
363 B
Plaintext
=== tests/cases/conformance/async/es2017/asyncArrowFunction/asyncArrowFunction10_es2017.ts ===
|
|
var foo = async (): Promise<void> => {
|
|
>foo : () => Promise<void>
|
|
>async (): Promise<void> => { // Legal to use 'await' in a type context. var v: await;} : () => Promise<void>
|
|
|
|
// Legal to use 'await' in a type context.
|
|
var v: await;
|
|
>v : await
|
|
}
|
|
|