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
deno's implementation is earlier than tsc, so it has its own error format.
But presently, tsc has its standard error format, and users would use it with tsc isolatedDeclaration: true in tsconfig.json and wish they both have the same error diagnostic behavior
In order to be fully aligned with tsc (in fact I plan to refer to oxc for convenience 😅), we need a lot of refactoring. Maybe nearly rewrite everything to determine some errors to be thrown somewhere. Also that means we will never follow the deno's implementation. I'm glad to do but I can't make sure when it will be done since this is time-consuming. What do you think? @kdy1
I think it may create too much maintenance burden. And I can't make the time to maintain isolated dts frequently, so please do what you want. I'll be able to help a bit or review PRs, though.
Summary
deno's implementation is earlier than tsc, so it has its own error format.
But presently, tsc has its standard error format, and users would use it with tsc
isolatedDeclaration: true
intsconfig.json
and wish they both have the same error diagnostic behaviorthere is one case
input
expected behavior
actual behavior
output successfully
Related links
#9715 (comment)_
web-infra-dev/rspack#8097
The text was updated successfully, but these errors were encountered: