Open smart--petea opened 7 years ago
Happens sometimes to me too, especially on new files. A :TsuReloadProject
or reloading the file usually solves the problem for me.
npm i -g typescript@latest
Integrate with syntastic
If you use syntastic, you can use syntastic for displaying syntax and semantics errors instead of vim's default quickfix window. To integrate syntastic, write the following setting to your .vimrc.
let g:tsuquyomi_disable_quickfix = 1 let g:syntastic_typescript_checkers = ['tsuquyomi'] " You shouldn't use 'tsc' checker.
syntastic has default TypeScript checker whose name is 'tsc'. You shouldn't use it with running Tusuquyomi because they don't share compile options. Tusuquyomi's checker whose name is 'tsuquyomi' uses tsserver and your tsconfig.json.
I have tsconfig.json in the root. Tsuquyomi doesn't catch "experimentalDecorators". It throws me errors. Where is ma fault?