ts-optchain
ts-optchain copied to clipboard
deprecate in favor to ts 3.7 a?.b?.c
Add note that you can use integrated into ts optional chain feature since 3.7
As much as it saddens me, it's the right way to go. I mean, there are many projects which will take a good while to upgrade to 3.7 for a plethora of reasons, but those who can use it, it's the right way to go and we have a duty to let them know.
RIP this project. but fantastic kudos for doing something really cool with TS plugins.
I'm not sure this is fully deprecated, yet. TypeScript itself supports optional chaining now, but if you are using ts-loader
and want to use latest features in es2020
, like BigInt
... node doesn't support optional chaining yet, and so it breaks: https://github.com/TypeStrong/ts-loader/issues/1061