mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
* fix(parser): disallow super() after new * fix(generator): update new callee parenthese rules * fix: disallow super/import after bind operator * update typescript parser test allowlist * fix(types): disallow import/super/v8Intrinsic as callee of new expression * chore: fix lint error * add new test cases * update test cases
5 lines
118 B
JSON
5 lines
118 B
JSON
{
|
|
"allowSuperOutsideMethod": true,
|
|
"throws": "The right-hand side of binding can not be super or import. (1:3)"
|
|
}
|