neoclide / coc-tsserver

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

Inlay hints work on javascript file and typescript file but in typescriptreact file not working #336

Closed TrietMinh799 closed 2 years ago

TrietMinh799 commented 2 years ago

:CocConfig


## versions

vim version: NVIM v0.6.0 node version: v16.13.1 coc.nvim version: 0.0.80-c581040b6d coc.nvim directory: /home/trietmn/.vim/plugged/coc.nvim term: xterm-256color platform: linux



This is my tsx file

![Screenshot_20211224_221842](https://user-images.githubusercontent.com/57322084/147361696-a7e4e1ef-976b-4226-9b84-7f59ef54e979.png)

Inlay hints not works

but if i enter a javascript file or typescript file in the same directory, it will work
like this
![Screenshot_20211224_221949](https://user-images.githubusercontent.com/57322084/147361791-adafd918-558a-48c0-b86c-c5e7c597ff6a.png)
![Screenshot_20211224_222035](https://user-images.githubusercontent.com/57322084/147361793-bfc98671-9634-4555-9ce0-e3b8aadb093e.png)

I am currently working with typescript 4.5 version

Do I need to change something to work ?