From ff4c4880640b0101c58cbc61492894b481d26c0e Mon Sep 17 00:00:00 2001 From: Ron Buckton Date: Tue, 26 Jan 2016 17:34:30 -0800 Subject: [PATCH] Fixed typo in diagnostic message name --- src/compiler/checker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index ebea12f0410..31fe819298d 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -12534,7 +12534,7 @@ namespace ts { // The promise type was not a valid type reference to the global promise type, so we // report an error and return the unknown type. - error(location, Diagnostics.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T); + error(location, Diagnostics.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type); return unknownType; }