Disallow decorators on abstract/declare fields (#19210)
This commit is contained in:
1 parent
e3d23c2cef
commit
5d7f64ef5b
5 files changed
-45
No files matched your search
@@ -223,9 +223,6 @@ const allowedReasonCodesArray = [
|
||||
```
|
||||
*/
|
||||
"DeclarationMissingInitializer",
|
||||
|
||||
// https://github.com/babel/babel/pull/17949
|
||||
"DecoratorAbstractMethod",
|
||||
];
|
||||
const allowedReasonCodes = new Set(allowedReasonCodesArray);
|
||||
|
||||
|
||||
Reference in new issue
Block a user