You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ok interesting, I took a peek and it looks like swc which is used in this module doesn't support type-checking, so it would have to go through an alternate path of either trying to use deno::tsc (not sure if this is exposed) or potentially stc. I expect it would only make sense to use the same method that deno uses itself, which is through the deno::tsc (https://github.com/denoland/deno/blob/main/cli/tools/check.rs#L136).
😞 The compiler runtime API was nice. I thought the idea was to move that out of core into a separate library and that was deno_emit. It seems the natural place for such an option, and indeed Deno.emit used to support it...
How difficult would it be to add a compiler option to check TypeScript input code? If reasonable, I wouldn't mind taking a stab at adding it myself.
The text was updated successfully, but these errors were encountered: