microsoft / microsoft/TypeScript

`atob()` is incorrectly marked as deprecated.

Open
#45,566 3 comments 30 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Blocked Bug Domain: lib.d.ts
Dominant language
Go
Stars
111k
Forks
14.4k
Avg merge
1d 19h
Merged PRs (30d)
117

Description

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

  • VS Code Version: 1.60.0
  • OS Version: Windows 7

image

Steps to Reproduce:

  1. Reference the atob() function in a JavaScript or TypeScript file.
  2. The reference to the function is marked as deprecated, even if only the unintended one of its two overloads is.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the report by referencing atob() in a JavaScript or TypeScript file, then locate the declaration and deprecation metadata for its overloads. Confirm which overload is unintentionally marking the function as deprecated, and verify that the intended overload remains deprecated while the other reference no longer is.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.