Closed pjg closed 4 years ago
Can't reproduce. TypeScirpt bundled in coc-tsserver
is already upgrade to 3.7, which Is support optional. Do you has local workspace typescript installed?
That was it, I had to upgrade typescript and related packages in the project to make it all work. Thanks!
I know this is closed, but is there a way to configure coc-tsserver to use my system typescript and not project specific typescript? Looks like a repo at work is using typescript 3.5 still
Read configuration in Readme
Typescript version which the tsserver uses does support optional chaining, so I'm not sure why such expressions are being highlighted as incorrect JS code: