Skip to content

lib.dom.d.ts leaks to @ts-check? #102561

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

Closed
hemanth opened this issue Jul 15, 2020 · 1 comment
Closed

lib.dom.d.ts leaks to @ts-check? #102561

hemanth opened this issue Jul 15, 2020 · 1 comment
Assignees
Labels
javascript JavaScript support issues

Comments

@hemanth
Copy link

hemanth commented Jul 15, 2020

Version: 1.46.0
Commit: a5d1cc28bb5da32ec67e86cc50f84c67cc690321
Date: 2020-06-10T08:59:06.977Z (1 mo ago)
Electron: 7.3.1
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Darwin x64 18.7.0

Steps to Reproduce:

  1. One any JS file, define name variable.
  2. We see the redeclaration error.

image

Does this issue occur when all extensions are disabled?: Yes

Should declare const name: never; be a declare var name: never;?

@mjbvz
Copy link
Collaborator

mjbvz commented Jul 15, 2020

Duplicate of microsoft/TypeScript#39534

@mjbvz mjbvz marked this as a duplicate of microsoft/TypeScript#39534 Jul 15, 2020
@mjbvz mjbvz closed this as completed Jul 15, 2020
@mjbvz mjbvz added the javascript JavaScript support issues label Jul 15, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Aug 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
javascript JavaScript support issues
Projects
None yet
Development

No branches or pull requests

2 participants