Skip to content

Commit 9f601ff

Browse files
committed
Change error code
1 parent b1b0a82 commit 9f601ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/diagnosticMessages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4957,6 +4957,6 @@
49574957
},
49584958
"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.": {
49594959
"category": "Error",
4960-
"code": 96000
4960+
"code": 18005
49614961
}
49624962
}

0 commit comments

Comments
 (0)