• Home
Name
Date
Size
#Lines
LOC

..--

README.mdD07-Sep-20241.6 KiB2715

dom.generated.d.tsD07-Sep-2024796.8 KiB18,48613,703

dom.iterable.d.tsD07-Sep-20243.7 KiB11641

dom.iterable.generated.d.tsD07-Sep-202415.3 KiB322239

es2015.collection.d.tsD07-Sep-20244.4 KiB13160

es2015.core.d.tsD07-Sep-202420.4 KiB54099

es2015.d.tsD07-Sep-2024398 110

es2015.full.d.tsD07-Sep-2024184 60

es2015.generator.d.tsD07-Sep-20241.7 KiB6020

es2015.iterable.d.tsD07-Sep-202414.2 KiB479179

es2015.promise.d.tsD07-Sep-20242.4 KiB6411

es2015.proxy.d.tsD07-Sep-20244.4 KiB11120

es2015.reflect.d.tsD07-Sep-20245.6 KiB12738

es2015.symbol.d.tsD07-Sep-2024822 287

es2015.symbol.wellknown.d.tsD07-Sep-20249.7 KiB305125

es2016.array.include.d.tsD07-Sep-20244 KiB9833

es2016.d.tsD07-Sep-202476 20

es2016.full.d.tsD07-Sep-2024182 50

es2017.d.tsD07-Sep-2024236 70

es2017.full.d.tsD07-Sep-2024182 50

es2017.intl.d.tsD07-Sep-2024613 2823

es2017.object.d.tsD07-Sep-20241.6 KiB327

es2017.sharedmemory.d.tsD07-Sep-20245.4 KiB11830

es2017.string.d.tsD07-Sep-20241.5 KiB284

es2017.typedarrays.d.tsD07-Sep-2024607 3627

es2018.asyncgenerator.d.tsD07-Sep-20241.8 KiB6020

es2018.asynciterable.d.tsD07-Sep-2024924 2514

es2018.d.tsD07-Sep-2024241 70

es2018.full.d.tsD07-Sep-2024182 50

es2018.intl.d.tsD07-Sep-20242.2 KiB5442

es2018.promise.d.tsD07-Sep-2024511 133

es2018.regexp.d.tsD07-Sep-2024392 1913

es2019.array.d.tsD07-Sep-20242.3 KiB6626

es2019.d.tsD07-Sep-2024224 70

es2019.full.d.tsD07-Sep-2024184 60

es2019.intl.d.tsD07-Sep-2024107 65

es2019.object.d.tsD07-Sep-2024634 164

es2019.string.d.tsD07-Sep-2024694 206

es2019.symbol.d.tsD07-Sep-2024159 73

es2020.bigint.d.tsD07-Sep-202434.4 KiB711140

es2020.d.tsD07-Sep-2024357 100

es2020.date.d.tsD07-Sep-20242.1 KiB245

es2020.full.d.tsD07-Sep-2024184 60

es2020.intl.d.tsD07-Sep-202420.1 KiB414156

es2020.number.d.tsD07-Sep-2024744 113

es2020.promise.d.tsD07-Sep-2024978 3013

es2020.sharedmemory.d.tsD07-Sep-20243.9 KiB8013

es2020.string.d.tsD07-Sep-2024394 113

es2020.symbol.wellknown.d.tsD07-Sep-2024621 206

es2021.d.tsD07-Sep-2024188 60

es2021.full.d.tsD07-Sep-2024184 60

es2021.intl.d.tsD07-Sep-20246.9 KiB13544

es2021.promise.d.tsD07-Sep-20241.4 KiB3113

es2021.string.d.tsD07-Sep-2024754 164

es2021.weakref.d.tsD07-Sep-20241.9 KiB5619

es2022.array.d.tsD07-Sep-20243.4 KiB10439

es2022.d.tsD07-Sep-2024268 80

es2022.error.d.tsD07-Sep-20241.5 KiB5646

es2022.full.d.tsD07-Sep-2024184 60

es2022.intl.d.tsD07-Sep-20244.7 KiB9229

es2022.object.d.tsD07-Sep-2024240 93

es2022.sharedmemory.d.tsD07-Sep-2024441 83

es2022.string.d.tsD07-Sep-2024309 83

es5.d.tsD07-Sep-2024211.8 KiB4,5091,071

es5.full.d.tsD07-Sep-2024143 50

esnext.d.tsD07-Sep-202469 30

esnext.full.d.tsD07-Sep-2024182 50

esnext.intl.d.tsD07-Sep-2024349 119

header.d.tsD07-Sep-202440 20

libs.jsonD07-Sep-20242.2 KiB8786

scripthost.d.tsD07-Sep-20248.7 KiB30887

webworker.generated.d.tsD07-Sep-2024265 KiB6,1735,011

webworker.importscripts.d.tsD07-Sep-2024195 71

webworker.iterable.generated.d.tsD07-Sep-202411 KiB156117

README.md

1 # Read this!
2 
3 The files within this directory are copied and deployed with TypeScript as the set of APIs  available as a part of the JavaScript language.
4 
5 There are three main domains of APIs in `src/lib`:
6 
7  - **ECMAScript language features** - e.g. JavaScript APIs like functions on Array etc which are documented in [ECMA-262](https://tc39.es/ecma262/)
8  - **DOM APIs** - e.g. APIs which are available in web browsers
9  - **Intl APIs** - e.g. APIs scoped to `Intl` which are documented in [ECMA-402](https://www.ecma-international.org/publications-and-standards/standards/ecma-402/)
10 
11 ## How do we figure out when to add something?
12 
13 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.
14 
15 You can find the source of truth for modern language features and Intl APIs in these completed proposal lists:
16 
17  - [JavaScript](https://github.com/tc39/proposals/blob/master/finished-proposals.md)
18  - [Intl](https://github.com/tc39/proposals/blob/master/ecma402/finished-proposals.md)
19 
20 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.)
21 
22 ## Generated files
23 
24 The DOM files ending in `.generated.d.ts` aren't meant to be edited by hand.
25 
26 If you need to make changes to such files, make a change to the input files for [**our library generator**](https://github.com/microsoft/TypeScript-DOM-lib-generator).
27