manateelazycat / lsp-bridge

A blazingly fast LSP client for Emacs
GNU General Public License v3.0
1.43k stars 206 forks source link

[TypeScript] lsp-bridge shows typescript errors that don't exist #1056

Open kuba-orlik opened 3 days ago

kuba-orlik commented 3 days ago

lsp-bridge shows an error that does not show up when running tsc or when viewing a file in VS Codium.

Steps to reproduce:

git clone http://hub.sealcode.org/source/jdd.git
cd jdd
git checkout 5792199ef230f598
npm install
emacs src/component-arguments/table.test.ts

lsp-bridge shows Parameter 'tag' implicitly has an 'any' type Error on line 29. But running npx tsc does not show any such error. Neither does this error appear when opening the same file in VS Codium (which seemingly uses the same language server?)

manateelazycat commented 2 days ago

I always show Cannot find name 'describe'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha`.

I have install npm, but still got above error.