Microsoft/TypeScript

Create Annex B lib target

Open

#19,299 opened on Oct 18, 2017

View on GitHub
 (3 comments) (17 reactions) (0 assignees)TypeScript (6,726 forks)batch import
CommittedEffort: ModerateHelp WantedSuggestion

Repository metrics

Stars
 (48,455 stars)
PR merge metrics
 (Avg merge 6d 17h) (9 merged PRs in 30d)

Description

image

Annex B is the 🚽 of JavaScript with such features like a broken escape method and the blink method for strings. We shouldn't offer broken functions by default, and (almost) no one wants to see fontcolor in their string completion list, but it is "standard", so we should have a separate lib target (in the same category as e.g. dom) for annex-b that squirrels away the Annex B declarations so people can still opt in if they want to.

Contributor guide