mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-03-15 22:15:18 -05:00
Support for auto-accessor fields from the Stage 3 Decorators proposal (#49705)
* Support for auto-accessor fields * Add tests, ensure accessors are initialized in ctor * classFields cleanup and PR feedback
This commit is contained in:
@@ -46,7 +46,7 @@ module.exports = createRule({
|
||||
context.report({ messageId: "secondArgumentDebugAssertError", node: message1Node });
|
||||
}
|
||||
|
||||
if (argsLen < 3) {
|
||||
if (argsLen !== 3) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user