Ncc: Optional chaining

Created on 28 Apr 2020  路  2Comments  路  Source: vercel/ncc

Nextjs is already supporting optional chaining. I was hoping we could get it here too.

I would be willing to contribute if you can confirm this feature is wanted, in which case please do let me know where to start.

enhancement

Most helpful comment

For information, it seems to works with TS, while targeting es2019 in tsconfig.json

All 2 comments

Absolutely we would accept a PR with optional chaining.

I believe the blocker here is upstream https://github.com/acornjs/acorn/pull/891

For information, it seems to works with TS, while targeting es2019 in tsconfig.json

Was this page helpful?
0 / 5 - 0 ratings

Related issues

paulogdm picture paulogdm  路  5Comments

coetry picture coetry  路  5Comments

guybedford picture guybedford  路  4Comments

omar2205 picture omar2205  路  5Comments

maku picture maku  路  3Comments