Skip to content
New issue

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

Support @deno_types #21

Closed
whinc opened this issue May 14, 2020 · 2 comments · Fixed by #68
Closed

Support @deno_types #21

whinc opened this issue May 14, 2020 · 2 comments · Fixed by #68

Comments

@whinc
Copy link

whinc commented May 14, 2020

the @deno_types directive don't work correctly in vscode type check. For example:
a.js

export const a = 100

a.d.ts

declare const a: boolean
export {a}

Variable a should has type boolean instead of number literal 100 in vscode type checker.
image

deno builtin type checker is correct when i run the program.
image

@justjavac
Copy link
Contributor

WIP

@xcatliu
Copy link

xcatliu commented Jun 1, 2020

Still report error after upgrade vscode deno plugin version to 1.24.0

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants