neoclide / coc-tsserver

Tsserver extension for coc.nvim that provide rich features like VSCode for javascript & typescript
MIT License
1.06k stars 68 forks source link

TypeError: import_coc26.SnippetString is not a constructor #374

Closed Skythrew closed 2 years ago

Skythrew commented 2 years ago

Hello there ! Today, I installed coc-tsserver extension and the installation successfullied but there was an error when I ran Neovim. This is the error: TypeError: import_coc26.SnippetString is not a constructor (at line 11725)

I went to the lib/index.js file and corrected this by changing the import_coc26.SnippetString to SnippetString only. I open this issue just to warn you about this error :)

fannheyward commented 2 years ago

Upgrade your coc.nvim to latest release please.