Open kitsonk opened 7 months ago
Slowly getting there (ex. https://github.com/denoland/deno/pull/22615)
Is there a command besides deno publish
you can run to show slow types?
deno publish --dry-run
or deno lint
when there's a deno.json with "name", "verison", and "exports", in the config, or { "lint": { "rules": { "include": ["no-slow-types"] }}}
In order to reduce developer friction, the LSP could support surfacing slow type diagnostics directly in an IDE.
For example, the following slow type diagnostic could be made available:
In addition, the lsp could make quick fixes available to extract the inferred type from tsc to resolve the diagnostic.