esm icon indicating copy to clipboard operation
esm copied to clipboard

Add support for conditional chaining

Open kristoferjoseph opened this issue 2 years ago • 1 comments

Using conditional chaining const foo = bar?.baz || '' causes syntaz error.

kristoferjoseph avatar Jul 19 '22 18:07 kristoferjoseph

this was addressed in earlier tickets and was resolved by forks i.e. add change this in your package.json

    "esm": "https://github.com/jsg2021/esm/releases/download/v3.x.x-pr883/esm-3.x.x-pr883.tgz",

or just move to a new published fork altogether and use command line node -r esm-wallaby index.js

    "esm-wallaby": "^3.2.26",

niron1 avatar Dec 31 '22 11:12 niron1