mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
7 lines
283 B
Plaintext
7 lines
283 B
Plaintext
asyncDeclare_es6.ts(1,9): error TS1040: 'async' modifier cannot be used in an ambient context.
|
|
|
|
|
|
==== asyncDeclare_es6.ts (1 errors) ====
|
|
declare async function foo(): Promise<void>;
|
|
~~~~~
|
|
!!! error TS1040: 'async' modifier cannot be used in an ambient context. |