Skip to content

Testbench for testing typescript language server plugins

Notifications You must be signed in to change notification settings

non25/typescript-ls-testbench

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Typescript Language Server test case

Run npm install or yarn install to install packages

Open src/index.ts in lsp-compatible editor

If plugins are working you should see following errors:

Line 4: Type 'string' is not assignable to type 'number'.
Line 8: Property 'class2' does not exist on type '{ class: string; someOtherClass: string; }'. Did you mean 'class'?

If they are not working the erorr is:

Line 2: Cannot find module './component.svelte' or its corresponding type declarations.

About

Testbench for testing typescript language server plugins

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published