Closed UnsolvedCypher closed 7 hours ago
It turns out it is expected behavior for tsc
not to run with the plugin, see https://github.com/Microsoft/TypeScript/wiki/Writing-a-Language-Service-Plugin .
tsc
will not work no matter what since the plugin is just for the LSP to resolve files properly and does not tell the TypeScript compiler anything. The purpose of the plugin is to work with Vite and the vite-gleam
plugin which does build *.gleam
properly.
In the example project folder, running
tsc
produces an error:I would expect TypeScript not to produce this error, given that
ts-gleam
tells it how to open.gleam
files. Interestingly, I don't see this error in my LSP when opening a file. Please let me know if there is any more information I can provide! And thank you for this incredibly useful package 😄