* fix: ensure (a?.b)() has proper this * let test be more restrictive * fix: transformed member call should preserve computed * chore: revamp test files * refactor: simplify * fix: unwrap parthenthesizedExpression * add loose test cases * add `(a?.#b)()` support * add with-transform test cases * Update packages/babel-plugin-proposal-optional-chaining/src/index.js Co-authored-by: Justin Ridgewell <justin@ridgewell.name> * address review comments * update test fixtures Co-authored-by: Justin Ridgewell <justin@ridgewell.name>
7 lines
114 B
JSON
7 lines
114 B
JSON
{
|
|
"plugins": ["proposal-optional-chaining"],
|
|
"parserOpts": {
|
|
"createParenthesizedExpressions": true
|
|
}
|
|
}
|