Vscode_deno: Support @deno_types

Created on 14 May 2020  路  2Comments  路  Source: denoland/vscode_deno

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

Most helpful comment

WIP

All 2 comments

WIP

Still report error after upgrade vscode deno plugin version to 1.24.0

image

Was this page helpful?
0 / 5 - 0 ratings

Related issues

chenguzhen87 picture chenguzhen87  路  5Comments

evilsquirrel404 picture evilsquirrel404  路  4Comments

Ciantic picture Ciantic  路  10Comments

taigah picture taigah  路  3Comments

trentjones21 picture trentjones21  路  4Comments