mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Merge branch 'master' of https://github.com/Microsoft/TypeScript into fixFindAllRefForSalsa
This commit is contained in:
commit
5ced4c401f
1 file changed
+1
-1
@@ -9,5 +9,5 @@ tests/cases/conformance/async/es6/test.ts(3,25): error TS1064: The return type o
|
||||
class Test {
|
||||
async example<T>(): Task<T> { return; }
|
||||
~~~~~~~
|
||||
!!! error TS1064: The return type of an async function or method must be the global Promise<T>.
|
||||
!!! error TS1064: The return type of an async function or method must be the global Promise<T> type.
|
||||
}
|
||||
Reference in new issue
Block a user