Skip to content

Files

lib

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Sep 8, 2021
Nov 1, 2024
Mar 20, 2023
Aug 5, 2024
Feb 3, 2025
Aug 5, 2024
Jan 22, 2025
Aug 16, 2023
Sep 24, 2024
Mar 26, 2020
May 31, 2018
Aug 5, 2024
Jan 22, 2025
Aug 16, 2023
Sep 12, 2022
Aug 9, 2022
Aug 16, 2023
Sep 24, 2024
Sep 24, 2024
Nov 3, 2023
Aug 16, 2023
Sep 27, 2024
Sep 27, 2024
Sep 27, 2024
May 22, 2023
Aug 16, 2023
Aug 16, 2023
Jun 21, 2024
Sep 27, 2024
Apr 3, 2017
Sep 24, 2024
Aug 5, 2024
Aug 5, 2024
Mar 26, 2020
Jan 2, 2024
Mar 1, 2024
Aug 16, 2023
Aug 16, 2023
Aug 16, 2023
Aug 26, 2022
Jan 2, 2024
Mar 1, 2024
Aug 16, 2023
Aug 30, 2021
Jan 24, 2020
Jan 22, 2025
Feb 28, 2022
Aug 16, 2023
Jan 2, 2024
Sep 27, 2024
Feb 28, 2022
Aug 16, 2023
Sep 27, 2024
Sep 27, 2024
Aug 5, 2024
Sep 23, 2021
Jan 2, 2024
Sep 27, 2024
Aug 16, 2023
Mar 10, 2021
Sep 27, 2024
Sep 24, 2024
Sep 27, 2024
Sep 27, 2024
Jan 2, 2024
Sep 27, 2024
Mar 10, 2022
Mar 18, 2024
Nov 4, 2021
Jan 22, 2025
Aug 16, 2023
Mar 1, 2024
Jan 2, 2024
Apr 5, 2024
Sep 27, 2024
Sep 27, 2024
Sep 27, 2024
Sep 27, 2024
Sep 27, 2024
Sep 27, 2024
Sep 27, 2024
Oct 7, 2024
Sep 27, 2024
Jan 22, 2025
May 4, 2018
Sep 3, 2024
Sep 27, 2024
Jan 22, 2025
Aug 16, 2023
Aug 16, 2024
Jan 22, 2025
Jan 2, 2024
Mar 1, 2024
Jan 22, 2025
Nov 6, 2024
Jan 12, 2016
Jan 22, 2025
Aug 16, 2023
Aug 5, 2024
Feb 3, 2025
Aug 16, 2023
Jan 22, 2025

Read this!

The files within this directory are copied and deployed with TypeScript as the set of APIs available as a part of the JavaScript language.

There are three main domains of APIs in src/lib:

  • ECMAScript language features - e.g. JavaScript APIs like functions on Array etc which are documented in ECMA-262
  • DOM APIs - e.g. APIs which are available in web browsers
  • Intl APIs - e.g. APIs scoped to Intl which are documented in ECMA-402

How do we figure out when to add something?

TypeScript has a rule-of-thumb to only add something when it has got far enough through the standards process that it is more or less confirmed. For JavaScript APIs and language features, that means the proposal is at stage 3 or later.

You can find the source of truth for modern language features and Intl APIs in these completed proposal lists:

For the DOM APIs, which are a bit more free-form, we have asked that APIs are available un-prefixed/flagged in at least 2 browser engines (i.e. not just 2 chromium browsers.)

Generated files

The DOM files ending in .generated.d.ts aren't meant to be edited by hand.

If you need to make changes to such files, make a change to the input files for our library generator.