From 9f601ff154c4f2cca0053b996db86679dd2f6d2e Mon Sep 17 00:00:00 2001 From: Andrew Branch Date: Thu, 25 Apr 2019 16:15:00 -0700 Subject: [PATCH] Change error code --- src/compiler/diagnosticMessages.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/diagnosticMessages.json b/src/compiler/diagnosticMessages.json index 34d093caea23a..417f8004d7326 100644 --- a/src/compiler/diagnosticMessages.json +++ b/src/compiler/diagnosticMessages.json @@ -4957,6 +4957,6 @@ }, "Quoted constructors have previously been interpreted as methods, which is incorrect. In TypeScript 3.6, they will be correctly parsed as constructors. In the meantime, consider using 'constructor()' to write a constructor, or '[\"constructor\"]()' to write a method.": { "category": "Error", - "code": 96000 + "code": 18005 } }