We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
While testing out the new Compiler API #3442 i ran into some inconsistency between the typings and the returned data for diagnostics.
Deno.compile is defined type wise to return Diagnostic[](https://github.com/denoland/deno/blob/master/cli/js/compiler_api.ts#L331), but code implemented returns DiagnosticItem[] (https://github.com/denoland/deno/blob/master/cli/js/compiler.ts#L245)
Deno.compile
Diagnostic[]
DiagnosticItem[]
The text was updated successfully, but these errors were encountered:
Ref #3624. Technically not duplicate, looks like it's not just bundle.
cc @kitsonk
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
While testing out the new Compiler API #3442 i ran into some inconsistency between the typings and the returned data for diagnostics.
Deno.compile
is defined type wise to returnDiagnostic[]
(https://github.com/denoland/deno/blob/master/cli/js/compiler_api.ts#L331), but code implemented returnsDiagnosticItem[]
(https://github.com/denoland/deno/blob/master/cli/js/compiler.ts#L245)The text was updated successfully, but these errors were encountered: