mirror of
https://github.com/stCarolas/setup-maven.git
synced 2024-11-22 19:06:07 +08:00
chore: update node_modules
This commit is contained in:
parent
4d59bc2d29
commit
f5430bd5fe
8
node_modules/.package-lock.json
generated
vendored
8
node_modules/.package-lock.json
generated
vendored
@ -1157,16 +1157,16 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/typescript": {
|
"node_modules/typescript": {
|
||||||
"version": "3.7.3",
|
"version": "5.3.3",
|
||||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-3.7.3.tgz",
|
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz",
|
||||||
"integrity": "sha512-Mcr/Qk7hXqFBXMN7p7Lusj1ktCBydylfQM/FZCk5glCNQJrCUKPkMHdo9R0MTFWsC/4kPFvDS0fDPvukfCkFsw==",
|
"integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"bin": {
|
"bin": {
|
||||||
"tsc": "bin/tsc",
|
"tsc": "bin/tsc",
|
||||||
"tsserver": "bin/tsserver"
|
"tsserver": "bin/tsserver"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=4.2.0"
|
"node": ">=14.17"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/underscore": {
|
"node_modules/underscore": {
|
||||||
|
348
node_modules/typescript/AUTHORS.md
generated
vendored
348
node_modules/typescript/AUTHORS.md
generated
vendored
@ -1,348 +0,0 @@
|
|||||||
TypeScript is authored by:
|
|
||||||
* Aaron Holmes
|
|
||||||
* Abubaker Bashir
|
|
||||||
* Adam Freidin
|
|
||||||
* Adi Dahiya
|
|
||||||
* Aditya Daflapurkar
|
|
||||||
* Adnan Chowdhury
|
|
||||||
* Adrian Leonhard
|
|
||||||
* Adrien Gibrat
|
|
||||||
* Ahmad Farid
|
|
||||||
* Akshar Patel
|
|
||||||
* Alan Agius
|
|
||||||
* Alex Chugaev
|
|
||||||
* Alex Eagle
|
|
||||||
* Alex Khomchenko
|
|
||||||
* Alex Ryan
|
|
||||||
* Alexander Kuvaev
|
|
||||||
* Alexander Rusakov
|
|
||||||
* Alexander Tarasyuk
|
|
||||||
* Ali Sabzevari
|
|
||||||
* Aliaksandr Radzivanovich
|
|
||||||
* Aluan Haddad
|
|
||||||
* Anatoly Ressin
|
|
||||||
* Anders Hejlsberg
|
|
||||||
* Andreas Martin
|
|
||||||
* Andrej Baran
|
|
||||||
* Andrew Casey
|
|
||||||
* Andrew Faulkner
|
|
||||||
* Andrew Ochsner
|
|
||||||
* Andrew Stegmaier
|
|
||||||
* Andrew Z Allen
|
|
||||||
* András Parditka
|
|
||||||
* Andy Hanson
|
|
||||||
* Anil Anar
|
|
||||||
* Anton Khlynovskiy
|
|
||||||
* Anton Tolmachev
|
|
||||||
* Anubha Mathur
|
|
||||||
* Armando Aguirre
|
|
||||||
* Arnaud Tournier
|
|
||||||
* Arnav Singh
|
|
||||||
* Artem Tyurin
|
|
||||||
* Arthur Ozga
|
|
||||||
* Asad Saeeduddin
|
|
||||||
* Avery Morin
|
|
||||||
* Basarat Ali Syed
|
|
||||||
* @begincalendar
|
|
||||||
* Ben Duffield
|
|
||||||
* Ben Mosher
|
|
||||||
* Benjamin Bock
|
|
||||||
* Benjamin Lichtman
|
|
||||||
* Benny Neugebauer
|
|
||||||
* Bill Ticehurst
|
|
||||||
* Blaine Bublitz
|
|
||||||
* Blake Embrey
|
|
||||||
* @bluelovers
|
|
||||||
* @bootstraponline
|
|
||||||
* Bowden Kelly
|
|
||||||
* Bowden Kenny
|
|
||||||
* Brandon Slade
|
|
||||||
* Brett Mayen
|
|
||||||
* Bryan Forbes
|
|
||||||
* Caitlin Potter
|
|
||||||
* Cameron Taggart
|
|
||||||
* @cedvdb
|
|
||||||
* Charles Pierce
|
|
||||||
* Charly POLY
|
|
||||||
* Chris Bubernak
|
|
||||||
* Christophe Vidal
|
|
||||||
* Chuck Jazdzewski
|
|
||||||
* Colby Russell
|
|
||||||
* Colin Snover
|
|
||||||
* Cotton Hou
|
|
||||||
* Cyrus Najmabadi
|
|
||||||
* Dafrok Zhang
|
|
||||||
* Dahan Gong
|
|
||||||
* Dan Corder
|
|
||||||
* Dan Freeman
|
|
||||||
* Dan Quirk
|
|
||||||
* Daniel Gooss
|
|
||||||
* Daniel Hollocher
|
|
||||||
* Daniel Król
|
|
||||||
* Daniel Lehenbauer
|
|
||||||
* Daniel Rosenwasser
|
|
||||||
* David Kmenta
|
|
||||||
* David Li
|
|
||||||
* David Sheldrick
|
|
||||||
* David Sherret
|
|
||||||
* David Souther
|
|
||||||
* David Staheli
|
|
||||||
* Denis Nedelyaev
|
|
||||||
* Derek P Sifford
|
|
||||||
* Dhruv Rajvanshi
|
|
||||||
* Dick van den Brink
|
|
||||||
* Diogo Franco (Kovensky)
|
|
||||||
* Dirk Bäumer
|
|
||||||
* Dirk Holtwick
|
|
||||||
* Dom Chen
|
|
||||||
* Donald Pipowitch
|
|
||||||
* Doug Ilijev
|
|
||||||
* @e-cloud
|
|
||||||
* Ecole Keine
|
|
||||||
* Elisée Maurer
|
|
||||||
* Elizabeth Dinella
|
|
||||||
* Emilio García-Pumarino
|
|
||||||
* Eric Grube
|
|
||||||
* Eric Tsang
|
|
||||||
* Erik Edrosa
|
|
||||||
* Erik McClenney
|
|
||||||
* Esakki Raj
|
|
||||||
* Ethan Resnick
|
|
||||||
* Ethan Rubio
|
|
||||||
* Eugene Timokhov
|
|
||||||
* Evan Martin
|
|
||||||
* Evan Sebastian
|
|
||||||
* Eyas Sharaiha
|
|
||||||
* Fabian Cook
|
|
||||||
* @falsandtru
|
|
||||||
* Filipe Silva
|
|
||||||
* @flowmemo
|
|
||||||
* Francois Wouts
|
|
||||||
* Frank Wallis
|
|
||||||
* Franklin Tse
|
|
||||||
* František Žiacik
|
|
||||||
* Gabe Moothart
|
|
||||||
* Gabriel Isenberg
|
|
||||||
* Gilad Peleg
|
|
||||||
* Godfrey Chan
|
|
||||||
* Graeme Wicksted
|
|
||||||
* Guilherme Oenning
|
|
||||||
* Guillaume Salles
|
|
||||||
* Guy Bedford
|
|
||||||
* Halasi Tamás
|
|
||||||
* Harald Niesche
|
|
||||||
* Hendrik Liebau
|
|
||||||
* Henry Mercer
|
|
||||||
* Herrington Darkholme
|
|
||||||
* Holger Jeromin
|
|
||||||
* Homa Wong
|
|
||||||
* Iain Monro
|
|
||||||
* @IdeaHunter
|
|
||||||
* Igor Novozhilov
|
|
||||||
* Ika
|
|
||||||
* Ingvar Stepanyan
|
|
||||||
* Isiah Meadows
|
|
||||||
* Ivan Enderlin
|
|
||||||
* Ivo Gabe de Wolff
|
|
||||||
* Iwata Hidetaka
|
|
||||||
* Jack Williams
|
|
||||||
* Jakub Korzeniowski
|
|
||||||
* Jakub Młokosiewicz
|
|
||||||
* James Henry
|
|
||||||
* James Whitney
|
|
||||||
* Jan Melcher
|
|
||||||
* Jason Freeman
|
|
||||||
* Jason Jarrett
|
|
||||||
* Jason Killian
|
|
||||||
* Jason Ramsay
|
|
||||||
* JBerger
|
|
||||||
* Jed Mao
|
|
||||||
* Jeffrey Morlan
|
|
||||||
* Jesse Schalken
|
|
||||||
* Jing Ma
|
|
||||||
* Jiri Tobisek
|
|
||||||
* Joe Calzaretta
|
|
||||||
* Joe Chung
|
|
||||||
* Joel Day
|
|
||||||
* Joey Wilson
|
|
||||||
* Johannes Rieken
|
|
||||||
* John Doe
|
|
||||||
* John Vilk
|
|
||||||
* Jonathan Bond-Caron
|
|
||||||
* Jonathan Park
|
|
||||||
* Jonathan Toland
|
|
||||||
* Jonathan Turner
|
|
||||||
* Jonathon Smith
|
|
||||||
* Jordi Oliveras Rovira
|
|
||||||
* Joscha Feth
|
|
||||||
* Josh Abernathy
|
|
||||||
* Josh Goldberg
|
|
||||||
* Josh Kalderimis
|
|
||||||
* Josh Soref
|
|
||||||
* Juan Luis Boya García
|
|
||||||
* Julian Williams
|
|
||||||
* Justin Bay
|
|
||||||
* Justin Johansson
|
|
||||||
* K. Preißer
|
|
||||||
* Kagami Sascha Rosylight
|
|
||||||
* Kanchalai Tanglertsampan
|
|
||||||
* Kate Miháliková
|
|
||||||
* Keith Mashinter
|
|
||||||
* Ken Howard
|
|
||||||
* Kenji Imamula
|
|
||||||
* Kerem Kat
|
|
||||||
* Kevin Donnelly
|
|
||||||
* Kevin Gibbons
|
|
||||||
* Kevin Lang
|
|
||||||
* Khải
|
|
||||||
* Kitson Kelly
|
|
||||||
* Klaus Meinhardt
|
|
||||||
* Kris Zyp
|
|
||||||
* Kyle Kelley
|
|
||||||
* Kārlis Gaņģis
|
|
||||||
* Lorant Pinter
|
|
||||||
* Lucien Greathouse
|
|
||||||
* Lukas Elmer
|
|
||||||
* Maarten Sijm
|
|
||||||
* Magnus Hiie
|
|
||||||
* Magnus Kulke
|
|
||||||
* Manish Giri
|
|
||||||
* Marin Marinov
|
|
||||||
* Marius Schulz
|
|
||||||
* Markus Johnsson
|
|
||||||
* Martin Hiller
|
|
||||||
* Martin Probst
|
|
||||||
* Martin Vseticka
|
|
||||||
* Martyn Janes
|
|
||||||
* Masahiro Wakame
|
|
||||||
* Mateusz Burzyński
|
|
||||||
* Matt Bierner
|
|
||||||
* Matt McCutchen
|
|
||||||
* Matt Mitchell
|
|
||||||
* Mattias Buelens
|
|
||||||
* Mattias Buelens
|
|
||||||
* Max Deepfield
|
|
||||||
* Maxwell Paul Brickner
|
|
||||||
* @meyer
|
|
||||||
* Micah Zoltu
|
|
||||||
* @micbou
|
|
||||||
* Michael
|
|
||||||
* Michael Bromley
|
|
||||||
* Mike Busyrev
|
|
||||||
* Mike Morearty
|
|
||||||
* Mine Starks
|
|
||||||
* Mohamed Hegazy
|
|
||||||
* Mohsen Azimi
|
|
||||||
* Myles Megyesi
|
|
||||||
* Nathan Shively-Sanders
|
|
||||||
* Nathan Yee
|
|
||||||
* Nicolas Henry
|
|
||||||
* Nicu Micleușanu
|
|
||||||
* @nieltg
|
|
||||||
* Nima Zahedi
|
|
||||||
* Noah Chen
|
|
||||||
* Noel Varanda
|
|
||||||
* Noj Vek
|
|
||||||
* Oleg Mihailik
|
|
||||||
* Oleksandr Chekhovskyi
|
|
||||||
* Omer Sheikh
|
|
||||||
* Orta Therox
|
|
||||||
* Oskar Segersva¨rd
|
|
||||||
* Oussama Ben Brahim
|
|
||||||
* Patrick Zhong
|
|
||||||
* Paul Jolly
|
|
||||||
* Paul Koerbitz
|
|
||||||
* Paul van Brenk
|
|
||||||
* @pcbro
|
|
||||||
* Pedro Maltez
|
|
||||||
* Perry Jiang
|
|
||||||
* Peter Burns
|
|
||||||
* Philip Bulley
|
|
||||||
* Philippe Voinov
|
|
||||||
* Pi Lanningham
|
|
||||||
* Piero Cangianiello
|
|
||||||
* @piloopin
|
|
||||||
* Prayag Verma
|
|
||||||
* Priyantha Lankapura
|
|
||||||
* @progre
|
|
||||||
* Punya Biswal
|
|
||||||
* Rado Kirov
|
|
||||||
* Raj Dosanjh
|
|
||||||
* Reiner Dolp
|
|
||||||
* Remo H. Jansen
|
|
||||||
* @rhysd
|
|
||||||
* Ricardo N Feliciano
|
|
||||||
* Richard Karmazín
|
|
||||||
* Richard Knoll
|
|
||||||
* Richard Sentino
|
|
||||||
* Robert Coie
|
|
||||||
* Rohit Verma
|
|
||||||
* Ron Buckton
|
|
||||||
* Rostislav Galimsky
|
|
||||||
* Rowan Wyborn
|
|
||||||
* Ryan Cavanaugh
|
|
||||||
* Ryohei Ikegami
|
|
||||||
* Sam Bostock
|
|
||||||
* Sam El-Husseini
|
|
||||||
* Sarangan Rajamanickam
|
|
||||||
* Sean Barag
|
|
||||||
* Sergey Rubanov
|
|
||||||
* Sergey Shandar
|
|
||||||
* Sergii Bezliudnyi
|
|
||||||
* Sharon Rolel
|
|
||||||
* Sheetal Nandi
|
|
||||||
* Shengping Zhong
|
|
||||||
* Shyyko Serhiy
|
|
||||||
* Simon Hürlimann
|
|
||||||
* Slawomir Sadziak
|
|
||||||
* Solal Pirelli
|
|
||||||
* Soo Jae Hwang
|
|
||||||
* Stan Thomas
|
|
||||||
* Stanislav Iliev
|
|
||||||
* Stanislav Sysoev
|
|
||||||
* Stas Vilchik
|
|
||||||
* Stephan Ginthör
|
|
||||||
* Steve Lucco
|
|
||||||
* @styfle
|
|
||||||
* Sudheesh Singanamalla
|
|
||||||
* Sébastien Arod
|
|
||||||
* @T18970237136
|
|
||||||
* @t_
|
|
||||||
* Taras Mankovski
|
|
||||||
* Tarik Ozket
|
|
||||||
* Tetsuharu Ohzeki
|
|
||||||
* Thomas den Hollander
|
|
||||||
* Thomas Loubiou
|
|
||||||
* Tien Hoanhtien
|
|
||||||
* Tim Lancina
|
|
||||||
* Tim Perry
|
|
||||||
* Tim Viiding-Spader
|
|
||||||
* Tingan Ho
|
|
||||||
* Todd Thomson
|
|
||||||
* togru
|
|
||||||
* Tomas Grubliauskas
|
|
||||||
* Torben Fitschen
|
|
||||||
* @TravCav
|
|
||||||
* TruongSinh Tran-Nguyen
|
|
||||||
* Tycho Grouwstra
|
|
||||||
* Vadi Taslim
|
|
||||||
* Vakhurin Sergey
|
|
||||||
* Vidar Tonaas Fauske
|
|
||||||
* Viktor Zozulyak
|
|
||||||
* Vilic Vane
|
|
||||||
* Vimal Raghubir
|
|
||||||
* Vladimir Kurchatkin
|
|
||||||
* Vladimir Matveev
|
|
||||||
* Vyacheslav Pukhanov
|
|
||||||
* Wenlu Wang
|
|
||||||
* Wesley Wigham
|
|
||||||
* William Orr
|
|
||||||
* Wilson Hobbs
|
|
||||||
* York Yao
|
|
||||||
* @yortus
|
|
||||||
* Yuichi Nukiyama
|
|
||||||
* Yuval Greenfield
|
|
||||||
* Zeeshan Ahmed
|
|
||||||
* Zev Spitz
|
|
||||||
* Zhengbo Li
|
|
||||||
* @Zzzen
|
|
1
node_modules/typescript/CODE_OF_CONDUCT.md
generated
vendored
1
node_modules/typescript/CODE_OF_CONDUCT.md
generated
vendored
@ -1 +0,0 @@
|
|||||||
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
|
|
77
node_modules/typescript/README.md
generated
vendored
77
node_modules/typescript/README.md
generated
vendored
@ -1,40 +1,39 @@
|
|||||||
|
|
||||||
# TypeScript
|
# TypeScript
|
||||||
|
|
||||||
[![Join the chat at https://gitter.im/microsoft/TypeScript](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/microsoft/TypeScript?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
[![GitHub Actions CI](https://github.com/microsoft/TypeScript/workflows/CI/badge.svg)](https://github.com/microsoft/TypeScript/actions?query=workflow%3ACI)
|
||||||
[![Build Status](https://travis-ci.org/microsoft/TypeScript.svg?branch=master)](https://travis-ci.org/microsoft/TypeScript)
|
|
||||||
[![VSTS Build Status](https://dev.azure.com/typescript/TypeScript/_apis/build/status/Typescript/node10)](https://dev.azure.com/typescript/TypeScript/_build/latest?definitionId=4&view=logs)
|
|
||||||
[![npm version](https://badge.fury.io/js/typescript.svg)](https://www.npmjs.com/package/typescript)
|
[![npm version](https://badge.fury.io/js/typescript.svg)](https://www.npmjs.com/package/typescript)
|
||||||
[![Downloads](https://img.shields.io/npm/dm/typescript.svg)](https://www.npmjs.com/package/typescript)
|
[![Downloads](https://img.shields.io/npm/dm/typescript.svg)](https://www.npmjs.com/package/typescript)
|
||||||
|
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/microsoft/TypeScript/badge)](https://api.securityscorecards.dev/projects/github.com/microsoft/TypeScript)
|
||||||
|
|
||||||
|
|
||||||
[TypeScript](https://www.typescriptlang.org/) is a language for application-scale JavaScript. TypeScript adds optional types to JavaScript that support tools for large-scale JavaScript applications for any browser, for any host, on any OS. TypeScript compiles to readable, standards-based JavaScript. Try it out at the [playground](https://www.typescriptlang.org/play/), and stay up to date via [our blog](https://blogs.msdn.microsoft.com/typescript) and [Twitter account](https://twitter.com/typescript).
|
[TypeScript](https://www.typescriptlang.org/) is a language for application-scale JavaScript. TypeScript adds optional types to JavaScript that support tools for large-scale JavaScript applications for any browser, for any host, on any OS. TypeScript compiles to readable, standards-based JavaScript. Try it out at the [playground](https://www.typescriptlang.org/play/), and stay up to date via [our blog](https://blogs.msdn.microsoft.com/typescript) and [Twitter account](https://twitter.com/typescript).
|
||||||
|
|
||||||
|
Find others who are using TypeScript at [our community page](https://www.typescriptlang.org/community/).
|
||||||
|
|
||||||
## Installing
|
## Installing
|
||||||
|
|
||||||
For the latest stable version:
|
For the latest stable version:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm install -g typescript
|
npm install -D typescript
|
||||||
```
|
```
|
||||||
|
|
||||||
For our nightly builds:
|
For our nightly builds:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm install -g typescript@next
|
npm install -D typescript@next
|
||||||
```
|
```
|
||||||
|
|
||||||
## Contribute
|
## Contribute
|
||||||
|
|
||||||
There are many ways to [contribute](https://github.com/microsoft/TypeScript/blob/master/CONTRIBUTING.md) to TypeScript.
|
There are many ways to [contribute](https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md) to TypeScript.
|
||||||
* [Submit bugs](https://github.com/microsoft/TypeScript/issues) and help us verify fixes as they are checked in.
|
* [Submit bugs](https://github.com/microsoft/TypeScript/issues) and help us verify fixes as they are checked in.
|
||||||
* Review the [source code changes](https://github.com/microsoft/TypeScript/pulls).
|
* Review the [source code changes](https://github.com/microsoft/TypeScript/pulls).
|
||||||
* Engage with other TypeScript users and developers on [StackOverflow](https://stackoverflow.com/questions/tagged/typescript).
|
* Engage with other TypeScript users and developers on [StackOverflow](https://stackoverflow.com/questions/tagged/typescript).
|
||||||
|
* Help each other in the [TypeScript Community Discord](https://discord.gg/typescript).
|
||||||
* Join the [#typescript](https://twitter.com/search?q=%23TypeScript) discussion on Twitter.
|
* Join the [#typescript](https://twitter.com/search?q=%23TypeScript) discussion on Twitter.
|
||||||
* [Contribute bug fixes](https://github.com/microsoft/TypeScript/blob/master/CONTRIBUTING.md).
|
* [Contribute bug fixes](https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md).
|
||||||
* Read the language specification ([docx](https://github.com/microsoft/TypeScript/blob/master/doc/TypeScript%20Language%20Specification.docx?raw=true),
|
|
||||||
[pdf](https://github.com/microsoft/TypeScript/blob/master/doc/TypeScript%20Language%20Specification.pdf?raw=true), [md](https://github.com/microsoft/TypeScript/blob/master/doc/spec.md)).
|
|
||||||
|
|
||||||
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see
|
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see
|
||||||
the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com)
|
the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com)
|
||||||
@ -43,65 +42,9 @@ with any additional questions or comments.
|
|||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
* [TypeScript in 5 minutes](https://www.typescriptlang.org/docs/handbook/typescript-in-5-minutes.html)
|
* [TypeScript in 5 minutes](https://www.typescriptlang.org/docs/handbook/typescript-in-5-minutes.html)
|
||||||
* [Programming handbook](https://www.typescriptlang.org/docs/handbook/basic-types.html)
|
* [Programming handbook](https://www.typescriptlang.org/docs/handbook/intro.html)
|
||||||
* [Language specification](https://github.com/microsoft/TypeScript/blob/master/doc/spec.md)
|
|
||||||
* [Homepage](https://www.typescriptlang.org/)
|
* [Homepage](https://www.typescriptlang.org/)
|
||||||
|
|
||||||
## Building
|
|
||||||
|
|
||||||
In order to build the TypeScript compiler, ensure that you have [Git](https://git-scm.com/downloads) and [Node.js](https://nodejs.org/) installed.
|
|
||||||
|
|
||||||
Clone a copy of the repo:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
git clone https://github.com/microsoft/TypeScript.git
|
|
||||||
```
|
|
||||||
|
|
||||||
Change to the TypeScript directory:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
cd TypeScript
|
|
||||||
```
|
|
||||||
|
|
||||||
Install [Gulp](https://gulpjs.com/) tools and dev dependencies:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
npm install -g gulp
|
|
||||||
npm install
|
|
||||||
```
|
|
||||||
|
|
||||||
Use one of the following to build and test:
|
|
||||||
|
|
||||||
```
|
|
||||||
gulp local # Build the compiler into built/local.
|
|
||||||
gulp clean # Delete the built compiler.
|
|
||||||
gulp LKG # Replace the last known good with the built one.
|
|
||||||
# Bootstrapping step to be executed when the built compiler reaches a stable state.
|
|
||||||
gulp tests # Build the test infrastructure using the built compiler.
|
|
||||||
gulp runtests # Run tests using the built compiler and test infrastructure.
|
|
||||||
# Some low-value tests are skipped when not on a CI machine - you can use the
|
|
||||||
# --skipPercent=0 command to override this behavior and run all tests locally.
|
|
||||||
# You can override the specific suite runner used or specify a test for this command.
|
|
||||||
# Use --tests=<testPath> for a specific test and/or --runner=<runnerName> for a specific suite.
|
|
||||||
# Valid runners include conformance, compiler, fourslash, project, user, and docker
|
|
||||||
# The user and docker runners are extended test suite runners - the user runner
|
|
||||||
# works on disk in the tests/cases/user directory, while the docker runner works in containers.
|
|
||||||
# You'll need to have the docker executable in your system path for the docker runner to work.
|
|
||||||
gulp runtests-parallel # Like runtests, but split across multiple threads. Uses a number of threads equal to the system
|
|
||||||
# core count by default. Use --workers=<number> to adjust this.
|
|
||||||
gulp baseline-accept # This replaces the baseline test results with the results obtained from gulp runtests.
|
|
||||||
gulp lint # Runs eslint on the TypeScript source.
|
|
||||||
gulp help # List the above commands.
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
## Usage
|
|
||||||
|
|
||||||
```bash
|
|
||||||
node built/local/tsc.js hello.ts
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
## Roadmap
|
## Roadmap
|
||||||
|
|
||||||
For details on our planned features and future direction please refer to our [roadmap](https://github.com/microsoft/TypeScript/wiki/Roadmap).
|
For details on our planned features and future direction please refer to our [roadmap](https://github.com/microsoft/TypeScript/wiki/Roadmap).
|
||||||
|
41
node_modules/typescript/SECURITY.md
generated
vendored
Normal file
41
node_modules/typescript/SECURITY.md
generated
vendored
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
<!-- BEGIN MICROSOFT SECURITY.MD V0.0.9 BLOCK -->
|
||||||
|
|
||||||
|
## Security
|
||||||
|
|
||||||
|
Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/Microsoft), [Azure](https://github.com/Azure), [DotNet](https://github.com/dotnet), [AspNet](https://github.com/aspnet) and [Xamarin](https://github.com/xamarin).
|
||||||
|
|
||||||
|
If you believe you have found a security vulnerability in any Microsoft-owned repository that meets [Microsoft's definition of a security vulnerability](https://aka.ms/security.md/definition), please report it to us as described below.
|
||||||
|
|
||||||
|
## Reporting Security Issues
|
||||||
|
|
||||||
|
**Please do not report security vulnerabilities through public GitHub issues.**
|
||||||
|
|
||||||
|
Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://aka.ms/security.md/msrc/create-report).
|
||||||
|
|
||||||
|
If you prefer to submit without logging in, send email to [secure@microsoft.com](mailto:secure@microsoft.com). If possible, encrypt your message with our PGP key; please download it from the [Microsoft Security Response Center PGP Key page](https://aka.ms/security.md/msrc/pgp).
|
||||||
|
|
||||||
|
You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://www.microsoft.com/msrc).
|
||||||
|
|
||||||
|
Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue:
|
||||||
|
|
||||||
|
* Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
|
||||||
|
* Full paths of source file(s) related to the manifestation of the issue
|
||||||
|
* The location of the affected source code (tag/branch/commit or direct URL)
|
||||||
|
* Any special configuration required to reproduce the issue
|
||||||
|
* Step-by-step instructions to reproduce the issue
|
||||||
|
* Proof-of-concept or exploit code (if possible)
|
||||||
|
* Impact of the issue, including how an attacker might exploit the issue
|
||||||
|
|
||||||
|
This information will help us triage your report more quickly.
|
||||||
|
|
||||||
|
If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Please visit our [Microsoft Bug Bounty Program](https://aka.ms/security.md/msrc/bounty) page for more details about our active programs.
|
||||||
|
|
||||||
|
## Preferred Languages
|
||||||
|
|
||||||
|
We prefer all communications to be in English.
|
||||||
|
|
||||||
|
## Policy
|
||||||
|
|
||||||
|
Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://aka.ms/security.md/cvd).
|
||||||
|
|
||||||
|
<!-- END MICROSOFT SECURITY.MD BLOCK -->
|
26
node_modules/typescript/ThirdPartyNoticeText.txt
generated
vendored
26
node_modules/typescript/ThirdPartyNoticeText.txt
generated
vendored
@ -85,12 +85,12 @@ DOM
|
|||||||
W3C License
|
W3C License
|
||||||
This work is being provided by the copyright holders under the following license.
|
This work is being provided by the copyright holders under the following license.
|
||||||
By obtaining and/or copying this work, you (the licensee) agree that you have read, understood, and will comply with the following terms and conditions.
|
By obtaining and/or copying this work, you (the licensee) agree that you have read, understood, and will comply with the following terms and conditions.
|
||||||
Permission to copy, modify, and distribute this work, with or without modification, for any purpose and without fee or royalty is hereby granted, provided that you include the following
|
Permission to copy, modify, and distribute this work, with or without modification, for any purpose and without fee or royalty is hereby granted, provided that you include the following
|
||||||
on ALL copies of the work or portions thereof, including modifications:
|
on ALL copies of the work or portions thereof, including modifications:
|
||||||
* The full text of this NOTICE in a location viewable to users of the redistributed or derivative work.
|
* The full text of this NOTICE in a location viewable to users of the redistributed or derivative work.
|
||||||
* Any pre-existing intellectual property disclaimers, notices, or terms and conditions. If none exist, the W3C Software and Document Short Notice should be included.
|
* Any pre-existing intellectual property disclaimers, notices, or terms and conditions. If none exist, the W3C Software and Document Short Notice should be included.
|
||||||
* Notice of any changes or modifications, through a copyright statement on the new code or document such as "This software or document includes material copied from or derived
|
* Notice of any changes or modifications, through a copyright statement on the new code or document such as "This software or document includes material copied from or derived
|
||||||
from [title and URI of the W3C document]. Copyright © [YEAR] W3C® (MIT, ERCIM, Keio, Beihang)."
|
from [title and URI of the W3C document]. Copyright © [YEAR] W3C® (MIT, ERCIM, Keio, Beihang)."
|
||||||
Disclaimers
|
Disclaimers
|
||||||
THIS WORK IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR
|
THIS WORK IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR
|
||||||
FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENT WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
|
FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENT WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
|
||||||
@ -101,7 +101,7 @@ Title to copyright in this work will at all times remain with copyright holders.
|
|||||||
---------
|
---------
|
||||||
|
|
||||||
DOM
|
DOM
|
||||||
Copyright © 2018 WHATWG (Apple, Google, Mozilla, Microsoft). This work is licensed under a Creative Commons Attribution 4.0 International License: Attribution 4.0 International
|
Copyright © 2018 WHATWG (Apple, Google, Mozilla, Microsoft). This work is licensed under a Creative Commons Attribution 4.0 International License: Attribution 4.0 International
|
||||||
=======================================================================
|
=======================================================================
|
||||||
Creative Commons Corporation ("Creative Commons") is not a law firm and does not provide legal services or legal advice. Distribution of Creative Commons public licenses does not create a lawyer-client or other relationship. Creative Commons makes its licenses and related information available on an "as-is" basis. Creative Commons gives no warranties regarding its licenses, any material licensed under their terms and conditions, or any related information. Creative Commons disclaims all liability for damages resulting from their use to the fullest extent possible. Using Creative Commons Public Licenses Creative Commons public licenses provide a standard set of terms and conditions that creators and other rights holders may use to share original works of authorship and other material subject to copyright and certain other rights specified in the public license below. The following considerations are for informational purposes only, are not exhaustive, and do not form part of our licenses. Considerations for licensors: Our public licenses are intended for use by those authorized to give the public permission to use material in ways otherwise restricted by copyright and certain other rights. Our licenses are irrevocable. Licensors should read and understand the terms and conditions of the license they choose before applying it. Licensors should also secure all rights necessary before applying our licenses so that the public can reuse the material as expected. Licensors should clearly mark any material not subject to the license. This includes other CC- licensed material, or material used under an exception or limitation to copyright. More considerations for licensors:
|
Creative Commons Corporation ("Creative Commons") is not a law firm and does not provide legal services or legal advice. Distribution of Creative Commons public licenses does not create a lawyer-client or other relationship. Creative Commons makes its licenses and related information available on an "as-is" basis. Creative Commons gives no warranties regarding its licenses, any material licensed under their terms and conditions, or any related information. Creative Commons disclaims all liability for damages resulting from their use to the fullest extent possible. Using Creative Commons Public Licenses Creative Commons public licenses provide a standard set of terms and conditions that creators and other rights holders may use to share original works of authorship and other material subject to copyright and certain other rights specified in the public license below. The following considerations are for informational purposes only, are not exhaustive, and do not form part of our licenses. Considerations for licensors: Our public licenses are intended for use by those authorized to give the public permission to use material in ways otherwise restricted by copyright and certain other rights. Our licenses are irrevocable. Licensors should read and understand the terms and conditions of the license they choose before applying it. Licensors should also secure all rights necessary before applying our licenses so that the public can reuse the material as expected. Licensors should clearly mark any material not subject to the license. This includes other CC- licensed material, or material used under an exception or limitation to copyright. More considerations for licensors:
|
||||||
|
|
||||||
@ -113,7 +113,7 @@ Creative Commons Attribution 4.0 International Public License By exercising the
|
|||||||
----------------------Web Background Synchronization------------------------------
|
----------------------Web Background Synchronization------------------------------
|
||||||
|
|
||||||
Web Background Synchronization Specification
|
Web Background Synchronization Specification
|
||||||
Portions of spec © by W3C
|
Portions of spec © by W3C
|
||||||
|
|
||||||
W3C Community Final Specification Agreement
|
W3C Community Final Specification Agreement
|
||||||
To secure commitments from participants for the full text of a Community or Business Group Report, the group may call for voluntary commitments to the following terms; a "summary" is
|
To secure commitments from participants for the full text of a Community or Business Group Report, the group may call for voluntary commitments to the following terms; a "summary" is
|
||||||
@ -136,11 +136,11 @@ Any other capitalized terms not specifically defined herein have the same meanin
|
|||||||
7.2.1. Licensing Obligations to Resulting Specification. If I do not join the Corresponding Working Group, I agree to offer patent licenses according to the W3C Royalty-Free licensing requirements described in Section 5 of the W3C Patent Policy for the portions of the Specification included in the resulting Recommendation. This licensing commitment does not extend to any portion of an implementation of the Recommendation that was not included in the Specification. This licensing commitment may not be revoked but may be modified through the exclusion process defined in Section 4 of the W3C Patent Policy. I am not required to join the Corresponding Working Group to exclude patents from the W3C Royalty-Free licensing commitment, but must otherwise follow the normal exclusion procedures defined by the W3C Patent Policy. The W3C Team will notify me of any Call for Exclusion in the Corresponding Working Group as set forth in Section 4.5 of the W3C Patent Policy.
|
7.2.1. Licensing Obligations to Resulting Specification. If I do not join the Corresponding Working Group, I agree to offer patent licenses according to the W3C Royalty-Free licensing requirements described in Section 5 of the W3C Patent Policy for the portions of the Specification included in the resulting Recommendation. This licensing commitment does not extend to any portion of an implementation of the Recommendation that was not included in the Specification. This licensing commitment may not be revoked but may be modified through the exclusion process defined in Section 4 of the W3C Patent Policy. I am not required to join the Corresponding Working Group to exclude patents from the W3C Royalty-Free licensing commitment, but must otherwise follow the normal exclusion procedures defined by the W3C Patent Policy. The W3C Team will notify me of any Call for Exclusion in the Corresponding Working Group as set forth in Section 4.5 of the W3C Patent Policy.
|
||||||
7.2.2. No Disclosure Obligation. If I do not join the Corresponding Working Group, I have no patent disclosure obligations outside of those set forth in Section 6 of the W3C Patent Policy.
|
7.2.2. No Disclosure Obligation. If I do not join the Corresponding Working Group, I have no patent disclosure obligations outside of those set forth in Section 6 of the W3C Patent Policy.
|
||||||
8. Conflict of Interest. I will disclose significant relationships when those relationships might reasonably be perceived as creating a conflict of interest with my role. I will notify W3C of any change in my affiliation using W3C-provided mechanisms.
|
8. Conflict of Interest. I will disclose significant relationships when those relationships might reasonably be perceived as creating a conflict of interest with my role. I will notify W3C of any change in my affiliation using W3C-provided mechanisms.
|
||||||
9. Representations, Warranties and Disclaimers. I represent and warrant that I am legally entitled to grant the rights and promises set forth in this Agreement. IN ALL OTHER RESPECTS THE SPECIFICATION IS PROVIDED “AS IS.” The entire risk as to implementing or otherwise using the Specification is assumed by the implementer and user. Except as stated herein, I expressly disclaim any warranties (express, implied, or otherwise), including implied warranties of merchantability, non-infringement, fitness for a particular purpose, or title, related to the Specification. IN NO EVENT WILL ANY PARTY BE LIABLE TO ANY OTHER PARTY FOR LOST PROFITS OR ANY FORM OF INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER FROM ANY CAUSES OF ACTION OF ANY KIND WITH RESPECT TO THIS AGREEMENT, WHETHER BASED ON BREACH OF CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE, AND WHETHER OR NOT THE OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. All of my obligations under Section 3 regarding the transfer, successors in interest, or assignment of Granted Claims will be satisfied if I notify the transferee or assignee of any patent that I know contains Granted Claims of the obligations under Section 3. Nothing in this Agreement requires me to undertake a patent search.
|
9. Representations, Warranties and Disclaimers. I represent and warrant that I am legally entitled to grant the rights and promises set forth in this Agreement. IN ALL OTHER RESPECTS THE SPECIFICATION IS PROVIDED “AS IS.” The entire risk as to implementing or otherwise using the Specification is assumed by the implementer and user. Except as stated herein, I expressly disclaim any warranties (express, implied, or otherwise), including implied warranties of merchantability, non-infringement, fitness for a particular purpose, or title, related to the Specification. IN NO EVENT WILL ANY PARTY BE LIABLE TO ANY OTHER PARTY FOR LOST PROFITS OR ANY FORM OF INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER FROM ANY CAUSES OF ACTION OF ANY KIND WITH RESPECT TO THIS AGREEMENT, WHETHER BASED ON BREACH OF CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE, AND WHETHER OR NOT THE OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. All of my obligations under Section 3 regarding the transfer, successors in interest, or assignment of Granted Claims will be satisfied if I notify the transferee or assignee of any patent that I know contains Granted Claims of the obligations under Section 3. Nothing in this Agreement requires me to undertake a patent search.
|
||||||
10. Definitions.
|
10. Definitions.
|
||||||
10.1. Agreement. “Agreement” means this W3C Community Final Specification Agreement.
|
10.1. Agreement. “Agreement” means this W3C Community Final Specification Agreement.
|
||||||
10.2. Corresponding Working Group. “Corresponding Working Group” is a W3C Working Group that is chartered to develop a Recommendation, as defined in the W3C Process Document, that takes the Specification as an input.
|
10.2. Corresponding Working Group. “Corresponding Working Group” is a W3C Working Group that is chartered to develop a Recommendation, as defined in the W3C Process Document, that takes the Specification as an input.
|
||||||
10.3. Essential Claims. “Essential Claims” shall mean all claims in any patent or patent application in any jurisdiction in the world that would necessarily be infringed by implementation of the Specification. A claim is necessarily infringed hereunder only when it is not possible to avoid infringing it because there is no non-infringing alternative for implementing the normative portions of the Specification. Existence of a non-infringing alternative shall be judged based on the state of the art at the time of the publication of the Specification. The following are expressly excluded from and shall not be deemed to constitute Essential Claims:
|
10.3. Essential Claims. “Essential Claims” shall mean all claims in any patent or patent application in any jurisdiction in the world that would necessarily be infringed by implementation of the Specification. A claim is necessarily infringed hereunder only when it is not possible to avoid infringing it because there is no non-infringing alternative for implementing the normative portions of the Specification. Existence of a non-infringing alternative shall be judged based on the state of the art at the time of the publication of the Specification. The following are expressly excluded from and shall not be deemed to constitute Essential Claims:
|
||||||
10.3.1. any claims other than as set forth above even if contained in the same patent as Essential Claims; and
|
10.3.1. any claims other than as set forth above even if contained in the same patent as Essential Claims; and
|
||||||
10.3.2. claims which would be infringed only by:
|
10.3.2. claims which would be infringed only by:
|
||||||
portions of an implementation that are not specified in the normative portions of the Specification, or
|
portions of an implementation that are not specified in the normative portions of the Specification, or
|
||||||
@ -148,10 +148,10 @@ enabling technologies that may be necessary to make or use any product or portio
|
|||||||
the implementation of technology developed elsewhere and merely incorporated by reference in the body of the Specification.
|
the implementation of technology developed elsewhere and merely incorporated by reference in the body of the Specification.
|
||||||
10.3.3. design patents and design registrations.
|
10.3.3. design patents and design registrations.
|
||||||
For purposes of this definition, the normative portions of the Specification shall be deemed to include only architectural and interoperability requirements. Optional features in the RFC 2119 sense are considered normative unless they are specifically identified as informative. Implementation examples or any other material that merely illustrate the requirements of the Specification are informative, rather than normative.
|
For purposes of this definition, the normative portions of the Specification shall be deemed to include only architectural and interoperability requirements. Optional features in the RFC 2119 sense are considered normative unless they are specifically identified as informative. Implementation examples or any other material that merely illustrate the requirements of the Specification are informative, rather than normative.
|
||||||
10.4. I, Me, or My. “I,” “me,” or “my” refers to the signatory.
|
10.4. I, Me, or My. “I,” “me,” or “my” refers to the signatory.
|
||||||
10.5 Project. “Project” means the W3C Community Group or Business Group for which I executed this Agreement.
|
10.5 Project. “Project” means the W3C Community Group or Business Group for which I executed this Agreement.
|
||||||
10.6. Specification. “Specification” means the Specification identified by the Project as the target of this agreement in a call for Final Specification Commitments. W3C shall provide the authoritative mechanisms for the identification of this Specification.
|
10.6. Specification. “Specification” means the Specification identified by the Project as the target of this agreement in a call for Final Specification Commitments. W3C shall provide the authoritative mechanisms for the identification of this Specification.
|
||||||
10.7. W3C Community RF Licensing Requirements. “W3C Community RF Licensing Requirements” license shall mean a non-assignable, non-sublicensable license to make, have made, use, sell, have sold, offer to sell, import, and distribute and dispose of implementations of the Specification that:
|
10.7. W3C Community RF Licensing Requirements. “W3C Community RF Licensing Requirements” license shall mean a non-assignable, non-sublicensable license to make, have made, use, sell, have sold, offer to sell, import, and distribute and dispose of implementations of the Specification that:
|
||||||
10.7.1. shall be available to all, worldwide, whether or not they are W3C Members;
|
10.7.1. shall be available to all, worldwide, whether or not they are W3C Members;
|
||||||
10.7.2. shall extend to all Essential Claims owned or controlled by me;
|
10.7.2. shall extend to all Essential Claims owned or controlled by me;
|
||||||
10.7.3. may be limited to implementations of the Specification, and to what is required by the Specification;
|
10.7.3. may be limited to implementations of the Specification, and to what is required by the Specification;
|
||||||
@ -162,7 +162,7 @@ For purposes of this definition, the normative portions of the Specification sha
|
|||||||
10.7.8. shall not be considered accepted by an implementer who manifests an intent not to accept the terms of the W3C Community RF Licensing Requirements license as offered by the licensor.
|
10.7.8. shall not be considered accepted by an implementer who manifests an intent not to accept the terms of the W3C Community RF Licensing Requirements license as offered by the licensor.
|
||||||
10.7.9. The RF license conforming to the requirements in this policy shall be made available by the licensor as long as the Specification is in effect. The term of such license shall be for the life of the patents in question.
|
10.7.9. The RF license conforming to the requirements in this policy shall be made available by the licensor as long as the Specification is in effect. The term of such license shall be for the life of the patents in question.
|
||||||
I am encouraged to provide a contact from which licensing information can be obtained and other relevant licensing information. Any such information will be made publicly available.
|
I am encouraged to provide a contact from which licensing information can be obtained and other relevant licensing information. Any such information will be made publicly available.
|
||||||
10.8. You or Your. “You,” “you,” or “your” means any person or entity who exercises copyright or patent rights granted under this Agreement, and any person that person or entity controls.
|
10.8. You or Your. “You,” “you,” or “your” means any person or entity who exercises copyright or patent rights granted under this Agreement, and any person that person or entity controls.
|
||||||
|
|
||||||
-------------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
5
node_modules/typescript/lib/README.md
generated
vendored
5
node_modules/typescript/lib/README.md
generated
vendored
@ -1,5 +0,0 @@
|
|||||||
# Read This!
|
|
||||||
|
|
||||||
**These files are not meant to be edited by hand.**
|
|
||||||
If you need to make modifications, the respective files should be changed within the repository's top-level `src` directory.
|
|
||||||
Running `gulp LKG` will then appropriately update the files in this directory.
|
|
130
node_modules/typescript/lib/cancellationToken.js
generated
vendored
130
node_modules/typescript/lib/cancellationToken.js
generated
vendored
@ -1,73 +1,91 @@
|
|||||||
/*! *****************************************************************************
|
/*! *****************************************************************************
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
and limitations under the License.
|
and limitations under the License.
|
||||||
***************************************************************************** */
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
var fs = require("fs");
|
var __create = Object.create;
|
||||||
|
var __defProp = Object.defineProperty;
|
||||||
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
||||||
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
||||||
|
var __getProtoOf = Object.getPrototypeOf;
|
||||||
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
||||||
|
var __copyProps = (to, from, except, desc) => {
|
||||||
|
if (from && typeof from === "object" || typeof from === "function") {
|
||||||
|
for (let key of __getOwnPropNames(from))
|
||||||
|
if (!__hasOwnProp.call(to, key) && key !== except)
|
||||||
|
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
||||||
|
}
|
||||||
|
return to;
|
||||||
|
};
|
||||||
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
||||||
|
// If the importer is in node compatibility mode or this is not an ESM
|
||||||
|
// file that has been converted to a CommonJS file using a Babel-
|
||||||
|
// compatible transform (i.e. "__esModule" has not been set), then set
|
||||||
|
// "default" to the CommonJS "module.exports" for node compatibility.
|
||||||
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
||||||
|
mod
|
||||||
|
));
|
||||||
|
|
||||||
|
// src/cancellationToken/cancellationToken.ts
|
||||||
|
var fs = __toESM(require("fs"));
|
||||||
function pipeExists(name) {
|
function pipeExists(name) {
|
||||||
try {
|
return fs.existsSync(name);
|
||||||
fs.statSync(name);
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
catch (e) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
function createCancellationToken(args) {
|
function createCancellationToken(args) {
|
||||||
var cancellationPipeName;
|
let cancellationPipeName;
|
||||||
for (var i = 0; i < args.length - 1; i++) {
|
for (let i = 0; i < args.length - 1; i++) {
|
||||||
if (args[i] === "--cancellationPipeName") {
|
if (args[i] === "--cancellationPipeName") {
|
||||||
cancellationPipeName = args[i + 1];
|
cancellationPipeName = args[i + 1];
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (!cancellationPipeName) {
|
||||||
|
return {
|
||||||
|
isCancellationRequested: () => false,
|
||||||
|
setRequest: (_requestId) => void 0,
|
||||||
|
resetRequest: (_requestId) => void 0
|
||||||
|
};
|
||||||
|
}
|
||||||
|
if (cancellationPipeName.charAt(cancellationPipeName.length - 1) === "*") {
|
||||||
|
const namePrefix = cancellationPipeName.slice(0, -1);
|
||||||
|
if (namePrefix.length === 0 || namePrefix.includes("*")) {
|
||||||
|
throw new Error("Invalid name for template cancellation pipe: it should have length greater than 2 characters and contain only one '*'.");
|
||||||
|
}
|
||||||
|
let perRequestPipeName;
|
||||||
|
let currentRequestId;
|
||||||
|
return {
|
||||||
|
isCancellationRequested: () => perRequestPipeName !== void 0 && pipeExists(perRequestPipeName),
|
||||||
|
setRequest(requestId) {
|
||||||
|
currentRequestId = requestId;
|
||||||
|
perRequestPipeName = namePrefix + requestId;
|
||||||
|
},
|
||||||
|
resetRequest(requestId) {
|
||||||
|
if (currentRequestId !== requestId) {
|
||||||
|
throw new Error(`Mismatched request id, expected ${currentRequestId}, actual ${requestId}`);
|
||||||
}
|
}
|
||||||
}
|
perRequestPipeName = void 0;
|
||||||
if (!cancellationPipeName) {
|
}
|
||||||
return {
|
};
|
||||||
isCancellationRequested: function () { return false; },
|
} else {
|
||||||
setRequest: function (_requestId) { return void 0; },
|
return {
|
||||||
resetRequest: function (_requestId) { return void 0; }
|
isCancellationRequested: () => pipeExists(cancellationPipeName),
|
||||||
};
|
// TODO: GH#18217
|
||||||
}
|
setRequest: (_requestId) => void 0,
|
||||||
if (cancellationPipeName.charAt(cancellationPipeName.length - 1) === "*") {
|
resetRequest: (_requestId) => void 0
|
||||||
var namePrefix_1 = cancellationPipeName.slice(0, -1);
|
};
|
||||||
if (namePrefix_1.length === 0 || namePrefix_1.indexOf("*") >= 0) {
|
}
|
||||||
throw new Error("Invalid name for template cancellation pipe: it should have length greater than 2 characters and contain only one '*'.");
|
|
||||||
}
|
|
||||||
var perRequestPipeName_1;
|
|
||||||
var currentRequestId_1;
|
|
||||||
return {
|
|
||||||
isCancellationRequested: function () { return perRequestPipeName_1 !== undefined && pipeExists(perRequestPipeName_1); },
|
|
||||||
setRequest: function (requestId) {
|
|
||||||
currentRequestId_1 = requestId;
|
|
||||||
perRequestPipeName_1 = namePrefix_1 + requestId;
|
|
||||||
},
|
|
||||||
resetRequest: function (requestId) {
|
|
||||||
if (currentRequestId_1 !== requestId) {
|
|
||||||
throw new Error("Mismatched request id, expected " + currentRequestId_1 + ", actual " + requestId);
|
|
||||||
}
|
|
||||||
perRequestPipeName_1 = undefined;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
return {
|
|
||||||
isCancellationRequested: function () { return pipeExists(cancellationPipeName); },
|
|
||||||
setRequest: function (_requestId) { return void 0; },
|
|
||||||
resetRequest: function (_requestId) { return void 0; }
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
module.exports = createCancellationToken;
|
module.exports = createCancellationToken;
|
||||||
//# sourceMappingURL=cancellationToken.js.map
|
//# sourceMappingURL=cancellationToken.js.map
|
||||||
|
1127
node_modules/typescript/lib/cs/diagnosticMessages.generated.json
generated
vendored
1127
node_modules/typescript/lib/cs/diagnosticMessages.generated.json
generated
vendored
File diff suppressed because it is too large
Load Diff
1119
node_modules/typescript/lib/de/diagnosticMessages.generated.json
generated
vendored
1119
node_modules/typescript/lib/de/diagnosticMessages.generated.json
generated
vendored
File diff suppressed because it is too large
Load Diff
1047
node_modules/typescript/lib/diagnosticMessages.generated.json
generated
vendored
1047
node_modules/typescript/lib/diagnosticMessages.generated.json
generated
vendored
File diff suppressed because it is too large
Load Diff
1129
node_modules/typescript/lib/es/diagnosticMessages.generated.json
generated
vendored
1129
node_modules/typescript/lib/es/diagnosticMessages.generated.json
generated
vendored
File diff suppressed because it is too large
Load Diff
1125
node_modules/typescript/lib/fr/diagnosticMessages.generated.json
generated
vendored
1125
node_modules/typescript/lib/fr/diagnosticMessages.generated.json
generated
vendored
File diff suppressed because it is too large
Load Diff
1141
node_modules/typescript/lib/it/diagnosticMessages.generated.json
generated
vendored
1141
node_modules/typescript/lib/it/diagnosticMessages.generated.json
generated
vendored
File diff suppressed because it is too large
Load Diff
1131
node_modules/typescript/lib/ja/diagnosticMessages.generated.json
generated
vendored
1131
node_modules/typescript/lib/ja/diagnosticMessages.generated.json
generated
vendored
File diff suppressed because it is too large
Load Diff
1135
node_modules/typescript/lib/ko/diagnosticMessages.generated.json
generated
vendored
1135
node_modules/typescript/lib/ko/diagnosticMessages.generated.json
generated
vendored
File diff suppressed because it is too large
Load Diff
24
node_modules/typescript/lib/lib.d.ts
generated
vendored
24
node_modules/typescript/lib/lib.d.ts
generated
vendored
@ -1,24 +1,22 @@
|
|||||||
/*! *****************************************************************************
|
/*! *****************************************************************************
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
and limitations under the License.
|
and limitations under the License.
|
||||||
***************************************************************************** */
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
/// <reference no-default-lib="true"/>
|
/// <reference lib="es5" />
|
||||||
|
/// <reference lib="dom" />
|
||||||
|
/// <reference lib="webworker.importscripts" />
|
||||||
/// <reference lib="es5" />
|
/// <reference lib="scripthost" />
|
||||||
/// <reference lib="dom" />
|
|
||||||
/// <reference lib="webworker.importscripts" />
|
|
||||||
/// <reference lib="scripthost" />
|
|
||||||
|
386
node_modules/typescript/lib/lib.decorators.d.ts
generated
vendored
Normal file
386
node_modules/typescript/lib/lib.decorators.d.ts
generated
vendored
Normal file
@ -0,0 +1,386 @@
|
|||||||
|
/*! *****************************************************************************
|
||||||
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
|
and limitations under the License.
|
||||||
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The decorator context types provided to class element decorators.
|
||||||
|
*/
|
||||||
|
type ClassMemberDecoratorContext =
|
||||||
|
| ClassMethodDecoratorContext
|
||||||
|
| ClassGetterDecoratorContext
|
||||||
|
| ClassSetterDecoratorContext
|
||||||
|
| ClassFieldDecoratorContext
|
||||||
|
| ClassAccessorDecoratorContext;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The decorator context types provided to any decorator.
|
||||||
|
*/
|
||||||
|
type DecoratorContext =
|
||||||
|
| ClassDecoratorContext
|
||||||
|
| ClassMemberDecoratorContext;
|
||||||
|
|
||||||
|
type DecoratorMetadataObject = Record<PropertyKey, unknown> & object;
|
||||||
|
|
||||||
|
type DecoratorMetadata = typeof globalThis extends { Symbol: { readonly metadata: symbol; }; } ? DecoratorMetadataObject : DecoratorMetadataObject | undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Context provided to a class decorator.
|
||||||
|
* @template Class The type of the decorated class associated with this context.
|
||||||
|
*/
|
||||||
|
interface ClassDecoratorContext<
|
||||||
|
Class extends abstract new (...args: any) => any = abstract new (...args: any) => any,
|
||||||
|
> {
|
||||||
|
/** The kind of element that was decorated. */
|
||||||
|
readonly kind: "class";
|
||||||
|
|
||||||
|
/** The name of the decorated class. */
|
||||||
|
readonly name: string | undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Adds a callback to be invoked after the class definition has been finalized.
|
||||||
|
*
|
||||||
|
* @example
|
||||||
|
* ```ts
|
||||||
|
* function customElement(name: string): ClassDecoratorFunction {
|
||||||
|
* return (target, context) => {
|
||||||
|
* context.addInitializer(function () {
|
||||||
|
* customElements.define(name, this);
|
||||||
|
* });
|
||||||
|
* }
|
||||||
|
* }
|
||||||
|
*
|
||||||
|
* @customElement("my-element")
|
||||||
|
* class MyElement {}
|
||||||
|
* ```
|
||||||
|
*/
|
||||||
|
addInitializer(initializer: (this: Class) => void): void;
|
||||||
|
|
||||||
|
readonly metadata: DecoratorMetadata;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Context provided to a class method decorator.
|
||||||
|
* @template This The type on which the class element will be defined. For a static class element, this will be
|
||||||
|
* the type of the constructor. For a non-static class element, this will be the type of the instance.
|
||||||
|
* @template Value The type of the decorated class method.
|
||||||
|
*/
|
||||||
|
interface ClassMethodDecoratorContext<
|
||||||
|
This = unknown,
|
||||||
|
Value extends (this: This, ...args: any) => any = (this: This, ...args: any) => any,
|
||||||
|
> {
|
||||||
|
/** The kind of class element that was decorated. */
|
||||||
|
readonly kind: "method";
|
||||||
|
|
||||||
|
/** The name of the decorated class element. */
|
||||||
|
readonly name: string | symbol;
|
||||||
|
|
||||||
|
/** A value indicating whether the class element is a static (`true`) or instance (`false`) element. */
|
||||||
|
readonly static: boolean;
|
||||||
|
|
||||||
|
/** A value indicating whether the class element has a private name. */
|
||||||
|
readonly private: boolean;
|
||||||
|
|
||||||
|
/** An object that can be used to access the current value of the class element at runtime. */
|
||||||
|
readonly access: {
|
||||||
|
/**
|
||||||
|
* Determines whether an object has a property with the same name as the decorated element.
|
||||||
|
*/
|
||||||
|
has(object: This): boolean;
|
||||||
|
/**
|
||||||
|
* Gets the current value of the method from the provided object.
|
||||||
|
*
|
||||||
|
* @example
|
||||||
|
* let fn = context.access.get(instance);
|
||||||
|
*/
|
||||||
|
get(object: This): Value;
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Adds a callback to be invoked either before static initializers are run (when
|
||||||
|
* decorating a `static` element), or before instance initializers are run (when
|
||||||
|
* decorating a non-`static` element).
|
||||||
|
*
|
||||||
|
* @example
|
||||||
|
* ```ts
|
||||||
|
* const bound: ClassMethodDecoratorFunction = (value, context) {
|
||||||
|
* if (context.private) throw new TypeError("Not supported on private methods.");
|
||||||
|
* context.addInitializer(function () {
|
||||||
|
* this[context.name] = this[context.name].bind(this);
|
||||||
|
* });
|
||||||
|
* }
|
||||||
|
*
|
||||||
|
* class C {
|
||||||
|
* message = "Hello";
|
||||||
|
*
|
||||||
|
* @bound
|
||||||
|
* m() {
|
||||||
|
* console.log(this.message);
|
||||||
|
* }
|
||||||
|
* }
|
||||||
|
* ```
|
||||||
|
*/
|
||||||
|
addInitializer(initializer: (this: This) => void): void;
|
||||||
|
|
||||||
|
readonly metadata: DecoratorMetadata;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Context provided to a class getter decorator.
|
||||||
|
* @template This The type on which the class element will be defined. For a static class element, this will be
|
||||||
|
* the type of the constructor. For a non-static class element, this will be the type of the instance.
|
||||||
|
* @template Value The property type of the decorated class getter.
|
||||||
|
*/
|
||||||
|
interface ClassGetterDecoratorContext<
|
||||||
|
This = unknown,
|
||||||
|
Value = unknown,
|
||||||
|
> {
|
||||||
|
/** The kind of class element that was decorated. */
|
||||||
|
readonly kind: "getter";
|
||||||
|
|
||||||
|
/** The name of the decorated class element. */
|
||||||
|
readonly name: string | symbol;
|
||||||
|
|
||||||
|
/** A value indicating whether the class element is a static (`true`) or instance (`false`) element. */
|
||||||
|
readonly static: boolean;
|
||||||
|
|
||||||
|
/** A value indicating whether the class element has a private name. */
|
||||||
|
readonly private: boolean;
|
||||||
|
|
||||||
|
/** An object that can be used to access the current value of the class element at runtime. */
|
||||||
|
readonly access: {
|
||||||
|
/**
|
||||||
|
* Determines whether an object has a property with the same name as the decorated element.
|
||||||
|
*/
|
||||||
|
has(object: This): boolean;
|
||||||
|
/**
|
||||||
|
* Invokes the getter on the provided object.
|
||||||
|
*
|
||||||
|
* @example
|
||||||
|
* let value = context.access.get(instance);
|
||||||
|
*/
|
||||||
|
get(object: This): Value;
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Adds a callback to be invoked either before static initializers are run (when
|
||||||
|
* decorating a `static` element), or before instance initializers are run (when
|
||||||
|
* decorating a non-`static` element).
|
||||||
|
*/
|
||||||
|
addInitializer(initializer: (this: This) => void): void;
|
||||||
|
|
||||||
|
readonly metadata: DecoratorMetadata;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Context provided to a class setter decorator.
|
||||||
|
* @template This The type on which the class element will be defined. For a static class element, this will be
|
||||||
|
* the type of the constructor. For a non-static class element, this will be the type of the instance.
|
||||||
|
* @template Value The type of the decorated class setter.
|
||||||
|
*/
|
||||||
|
interface ClassSetterDecoratorContext<
|
||||||
|
This = unknown,
|
||||||
|
Value = unknown,
|
||||||
|
> {
|
||||||
|
/** The kind of class element that was decorated. */
|
||||||
|
readonly kind: "setter";
|
||||||
|
|
||||||
|
/** The name of the decorated class element. */
|
||||||
|
readonly name: string | symbol;
|
||||||
|
|
||||||
|
/** A value indicating whether the class element is a static (`true`) or instance (`false`) element. */
|
||||||
|
readonly static: boolean;
|
||||||
|
|
||||||
|
/** A value indicating whether the class element has a private name. */
|
||||||
|
readonly private: boolean;
|
||||||
|
|
||||||
|
/** An object that can be used to access the current value of the class element at runtime. */
|
||||||
|
readonly access: {
|
||||||
|
/**
|
||||||
|
* Determines whether an object has a property with the same name as the decorated element.
|
||||||
|
*/
|
||||||
|
has(object: This): boolean;
|
||||||
|
/**
|
||||||
|
* Invokes the setter on the provided object.
|
||||||
|
*
|
||||||
|
* @example
|
||||||
|
* context.access.set(instance, value);
|
||||||
|
*/
|
||||||
|
set(object: This, value: Value): void;
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Adds a callback to be invoked either before static initializers are run (when
|
||||||
|
* decorating a `static` element), or before instance initializers are run (when
|
||||||
|
* decorating a non-`static` element).
|
||||||
|
*/
|
||||||
|
addInitializer(initializer: (this: This) => void): void;
|
||||||
|
|
||||||
|
readonly metadata: DecoratorMetadata;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Context provided to a class `accessor` field decorator.
|
||||||
|
* @template This The type on which the class element will be defined. For a static class element, this will be
|
||||||
|
* the type of the constructor. For a non-static class element, this will be the type of the instance.
|
||||||
|
* @template Value The type of decorated class field.
|
||||||
|
*/
|
||||||
|
interface ClassAccessorDecoratorContext<
|
||||||
|
This = unknown,
|
||||||
|
Value = unknown,
|
||||||
|
> {
|
||||||
|
/** The kind of class element that was decorated. */
|
||||||
|
readonly kind: "accessor";
|
||||||
|
|
||||||
|
/** The name of the decorated class element. */
|
||||||
|
readonly name: string | symbol;
|
||||||
|
|
||||||
|
/** A value indicating whether the class element is a static (`true`) or instance (`false`) element. */
|
||||||
|
readonly static: boolean;
|
||||||
|
|
||||||
|
/** A value indicating whether the class element has a private name. */
|
||||||
|
readonly private: boolean;
|
||||||
|
|
||||||
|
/** An object that can be used to access the current value of the class element at runtime. */
|
||||||
|
readonly access: {
|
||||||
|
/**
|
||||||
|
* Determines whether an object has a property with the same name as the decorated element.
|
||||||
|
*/
|
||||||
|
has(object: This): boolean;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Invokes the getter on the provided object.
|
||||||
|
*
|
||||||
|
* @example
|
||||||
|
* let value = context.access.get(instance);
|
||||||
|
*/
|
||||||
|
get(object: This): Value;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Invokes the setter on the provided object.
|
||||||
|
*
|
||||||
|
* @example
|
||||||
|
* context.access.set(instance, value);
|
||||||
|
*/
|
||||||
|
set(object: This, value: Value): void;
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Adds a callback to be invoked either before static initializers are run (when
|
||||||
|
* decorating a `static` element), or before instance initializers are run (when
|
||||||
|
* decorating a non-`static` element).
|
||||||
|
*/
|
||||||
|
addInitializer(initializer: (this: This) => void): void;
|
||||||
|
|
||||||
|
readonly metadata: DecoratorMetadata;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Describes the target provided to class `accessor` field decorators.
|
||||||
|
* @template This The `this` type to which the target applies.
|
||||||
|
* @template Value The property type for the class `accessor` field.
|
||||||
|
*/
|
||||||
|
interface ClassAccessorDecoratorTarget<This, Value> {
|
||||||
|
/**
|
||||||
|
* Invokes the getter that was defined prior to decorator application.
|
||||||
|
*
|
||||||
|
* @example
|
||||||
|
* let value = target.get.call(instance);
|
||||||
|
*/
|
||||||
|
get(this: This): Value;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Invokes the setter that was defined prior to decorator application.
|
||||||
|
*
|
||||||
|
* @example
|
||||||
|
* target.set.call(instance, value);
|
||||||
|
*/
|
||||||
|
set(this: This, value: Value): void;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Describes the allowed return value from a class `accessor` field decorator.
|
||||||
|
* @template This The `this` type to which the target applies.
|
||||||
|
* @template Value The property type for the class `accessor` field.
|
||||||
|
*/
|
||||||
|
interface ClassAccessorDecoratorResult<This, Value> {
|
||||||
|
/**
|
||||||
|
* An optional replacement getter function. If not provided, the existing getter function is used instead.
|
||||||
|
*/
|
||||||
|
get?(this: This): Value;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* An optional replacement setter function. If not provided, the existing setter function is used instead.
|
||||||
|
*/
|
||||||
|
set?(this: This, value: Value): void;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* An optional initializer mutator that is invoked when the underlying field initializer is evaluated.
|
||||||
|
* @param value The incoming initializer value.
|
||||||
|
* @returns The replacement initializer value.
|
||||||
|
*/
|
||||||
|
init?(this: This, value: Value): Value;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Context provided to a class field decorator.
|
||||||
|
* @template This The type on which the class element will be defined. For a static class element, this will be
|
||||||
|
* the type of the constructor. For a non-static class element, this will be the type of the instance.
|
||||||
|
* @template Value The type of the decorated class field.
|
||||||
|
*/
|
||||||
|
interface ClassFieldDecoratorContext<
|
||||||
|
This = unknown,
|
||||||
|
Value = unknown,
|
||||||
|
> {
|
||||||
|
/** The kind of class element that was decorated. */
|
||||||
|
readonly kind: "field";
|
||||||
|
|
||||||
|
/** The name of the decorated class element. */
|
||||||
|
readonly name: string | symbol;
|
||||||
|
|
||||||
|
/** A value indicating whether the class element is a static (`true`) or instance (`false`) element. */
|
||||||
|
readonly static: boolean;
|
||||||
|
|
||||||
|
/** A value indicating whether the class element has a private name. */
|
||||||
|
readonly private: boolean;
|
||||||
|
|
||||||
|
/** An object that can be used to access the current value of the class element at runtime. */
|
||||||
|
readonly access: {
|
||||||
|
/**
|
||||||
|
* Determines whether an object has a property with the same name as the decorated element.
|
||||||
|
*/
|
||||||
|
has(object: This): boolean;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the value of the field on the provided object.
|
||||||
|
*/
|
||||||
|
get(object: This): Value;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets the value of the field on the provided object.
|
||||||
|
*/
|
||||||
|
set(object: This, value: Value): void;
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Adds a callback to be invoked either before static initializers are run (when
|
||||||
|
* decorating a `static` element), or before instance initializers are run (when
|
||||||
|
* decorating a non-`static` element).
|
||||||
|
*/
|
||||||
|
addInitializer(initializer: (this: This) => void): void;
|
||||||
|
|
||||||
|
readonly metadata: DecoratorMetadata;
|
||||||
|
}
|
22
node_modules/typescript/lib/lib.decorators.legacy.d.ts
generated
vendored
Normal file
22
node_modules/typescript/lib/lib.decorators.legacy.d.ts
generated
vendored
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/*! *****************************************************************************
|
||||||
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
|
and limitations under the License.
|
||||||
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
|
declare type ClassDecorator = <TFunction extends Function>(target: TFunction) => TFunction | void;
|
||||||
|
declare type PropertyDecorator = (target: Object, propertyKey: string | symbol) => void;
|
||||||
|
declare type MethodDecorator = <T>(target: Object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<T>) => TypedPropertyDescriptor<T> | void;
|
||||||
|
declare type ParameterDecorator = (target: Object, propertyKey: string | symbol | undefined, parameterIndex: number) => void;
|
21391
node_modules/typescript/lib/lib.dom.d.ts
generated
vendored
21391
node_modules/typescript/lib/lib.dom.d.ts
generated
vendored
File diff suppressed because it is too large
Load Diff
270
node_modules/typescript/lib/lib.dom.iterable.d.ts
generated
vendored
270
node_modules/typescript/lib/lib.dom.iterable.d.ts
generated
vendored
@ -1,41 +1,49 @@
|
|||||||
/*! *****************************************************************************
|
/*! *****************************************************************************
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
and limitations under the License.
|
and limitations under the License.
|
||||||
***************************************************************************** */
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
/// <reference no-default-lib="true"/>
|
|
||||||
|
|
||||||
|
|
||||||
/////////////////////////////
|
/////////////////////////////
|
||||||
/// DOM Iterable APIs
|
/// Window Iterable APIs
|
||||||
/////////////////////////////
|
/////////////////////////////
|
||||||
|
|
||||||
interface AudioParam {
|
interface AudioParam {
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/setValueCurveAtTime) */
|
||||||
setValueCurveAtTime(values: Iterable<number>, startTime: number, duration: number): AudioParam;
|
setValueCurveAtTime(values: Iterable<number>, startTime: number, duration: number): AudioParam;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface AudioParamMap extends ReadonlyMap<string, AudioParam> {
|
interface AudioParamMap extends ReadonlyMap<string, AudioParam> {
|
||||||
}
|
}
|
||||||
|
|
||||||
interface AudioTrackList {
|
interface BaseAudioContext {
|
||||||
[Symbol.iterator](): IterableIterator<AudioTrack>;
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createIIRFilter) */
|
||||||
|
createIIRFilter(feedforward: Iterable<number>, feedback: Iterable<number>): IIRFilterNode;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createPeriodicWave) */
|
||||||
|
createPeriodicWave(real: Iterable<number>, imag: Iterable<number>, constraints?: PeriodicWaveConstraints): PeriodicWave;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface BaseAudioContext {
|
interface CSSKeyframesRule {
|
||||||
createIIRFilter(feedforward: Iterable<number>, feedback: Iterable<number>): IIRFilterNode;
|
[Symbol.iterator](): IterableIterator<CSSKeyframeRule>;
|
||||||
createPeriodicWave(real: Iterable<number>, imag: Iterable<number>, constraints?: PeriodicWaveConstraints): PeriodicWave;
|
}
|
||||||
|
|
||||||
|
interface CSSNumericArray {
|
||||||
|
[Symbol.iterator](): IterableIterator<CSSNumericValue>;
|
||||||
|
entries(): IterableIterator<[number, CSSNumericValue]>;
|
||||||
|
keys(): IterableIterator<number>;
|
||||||
|
values(): IterableIterator<CSSNumericValue>;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface CSSRuleList {
|
interface CSSRuleList {
|
||||||
@ -46,16 +54,33 @@ interface CSSStyleDeclaration {
|
|||||||
[Symbol.iterator](): IterableIterator<string>;
|
[Symbol.iterator](): IterableIterator<string>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
interface CSSTransformValue {
|
||||||
|
[Symbol.iterator](): IterableIterator<CSSTransformComponent>;
|
||||||
|
entries(): IterableIterator<[number, CSSTransformComponent]>;
|
||||||
|
keys(): IterableIterator<number>;
|
||||||
|
values(): IterableIterator<CSSTransformComponent>;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface CSSUnparsedValue {
|
||||||
|
[Symbol.iterator](): IterableIterator<CSSUnparsedSegment>;
|
||||||
|
entries(): IterableIterator<[number, CSSUnparsedSegment]>;
|
||||||
|
keys(): IterableIterator<number>;
|
||||||
|
values(): IterableIterator<CSSUnparsedSegment>;
|
||||||
|
}
|
||||||
|
|
||||||
interface Cache {
|
interface Cache {
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/addAll) */
|
||||||
addAll(requests: Iterable<RequestInfo>): Promise<void>;
|
addAll(requests: Iterable<RequestInfo>): Promise<void>;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface CanvasPathDrawingStyles {
|
interface CanvasPath {
|
||||||
setLineDash(segments: Iterable<number>): void;
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/roundRect) */
|
||||||
|
roundRect(x: number, y: number, w: number, h: number, radii?: number | DOMPointInit | Iterable<number | DOMPointInit>): void;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface ClientRectList {
|
interface CanvasPathDrawingStyles {
|
||||||
[Symbol.iterator](): IterableIterator<ClientRect>;
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/setLineDash) */
|
||||||
|
setLineDash(segments: Iterable<number>): void;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface DOMRectList {
|
interface DOMRectList {
|
||||||
@ -77,23 +102,23 @@ interface DataTransferItemList {
|
|||||||
[Symbol.iterator](): IterableIterator<DataTransferItem>;
|
[Symbol.iterator](): IterableIterator<DataTransferItem>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
interface EventCounts extends ReadonlyMap<string, number> {
|
||||||
|
}
|
||||||
|
|
||||||
interface FileList {
|
interface FileList {
|
||||||
[Symbol.iterator](): IterableIterator<File>;
|
[Symbol.iterator](): IterableIterator<File>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
interface FontFaceSet extends Set<FontFace> {
|
||||||
|
}
|
||||||
|
|
||||||
interface FormData {
|
interface FormData {
|
||||||
[Symbol.iterator](): IterableIterator<[string, FormDataEntryValue]>;
|
[Symbol.iterator](): IterableIterator<[string, FormDataEntryValue]>;
|
||||||
/**
|
/** Returns an array of key, value pairs for every entry in the list. */
|
||||||
* Returns an array of key, value pairs for every entry in the list.
|
|
||||||
*/
|
|
||||||
entries(): IterableIterator<[string, FormDataEntryValue]>;
|
entries(): IterableIterator<[string, FormDataEntryValue]>;
|
||||||
/**
|
/** Returns a list of keys in the list. */
|
||||||
* Returns a list of keys in the list.
|
|
||||||
*/
|
|
||||||
keys(): IterableIterator<string>;
|
keys(): IterableIterator<string>;
|
||||||
/**
|
/** Returns a list of values in the list. */
|
||||||
* Returns a list of values in the list.
|
|
||||||
*/
|
|
||||||
values(): IterableIterator<FormDataEntryValue>;
|
values(): IterableIterator<FormDataEntryValue>;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -114,34 +139,50 @@ interface HTMLFormElement {
|
|||||||
}
|
}
|
||||||
|
|
||||||
interface HTMLSelectElement {
|
interface HTMLSelectElement {
|
||||||
[Symbol.iterator](): IterableIterator<Element>;
|
[Symbol.iterator](): IterableIterator<HTMLOptionElement>;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface Headers {
|
interface Headers {
|
||||||
[Symbol.iterator](): IterableIterator<[string, string]>;
|
[Symbol.iterator](): IterableIterator<[string, string]>;
|
||||||
/**
|
/** Returns an iterator allowing to go through all key/value pairs contained in this object. */
|
||||||
* Returns an iterator allowing to go through all key/value pairs contained in this object.
|
|
||||||
*/
|
|
||||||
entries(): IterableIterator<[string, string]>;
|
entries(): IterableIterator<[string, string]>;
|
||||||
/**
|
/** Returns an iterator allowing to go through all keys of the key/value pairs contained in this object. */
|
||||||
* Returns an iterator allowing to go through all keys of the key/value pairs contained in this object.
|
|
||||||
*/
|
|
||||||
keys(): IterableIterator<string>;
|
keys(): IterableIterator<string>;
|
||||||
/**
|
/** Returns an iterator allowing to go through all values of the key/value pairs contained in this object. */
|
||||||
* Returns an iterator allowing to go through all values of the key/value pairs contained in this object.
|
|
||||||
*/
|
|
||||||
values(): IterableIterator<string>;
|
values(): IterableIterator<string>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
interface IDBDatabase {
|
||||||
|
/**
|
||||||
|
* Returns a new transaction with the given mode ("readonly" or "readwrite") and scope which can be a single object store name or an array of names.
|
||||||
|
*
|
||||||
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/transaction)
|
||||||
|
*/
|
||||||
|
transaction(storeNames: string | Iterable<string>, mode?: IDBTransactionMode, options?: IDBTransactionOptions): IDBTransaction;
|
||||||
|
}
|
||||||
|
|
||||||
interface IDBObjectStore {
|
interface IDBObjectStore {
|
||||||
/**
|
/**
|
||||||
* Creates a new index in store with the given name, keyPath and options and returns a new IDBIndex. If the keyPath and options define constraints that cannot be satisfied with the data already in store the upgrade transaction will abort with a "ConstraintError" DOMException.
|
* Creates a new index in store with the given name, keyPath and options and returns a new IDBIndex. If the keyPath and options define constraints that cannot be satisfied with the data already in store the upgrade transaction will abort with a "ConstraintError" DOMException.
|
||||||
*
|
*
|
||||||
* Throws an "InvalidStateError" DOMException if not called within an upgrade transaction.
|
* Throws an "InvalidStateError" DOMException if not called within an upgrade transaction.
|
||||||
|
*
|
||||||
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/createIndex)
|
||||||
*/
|
*/
|
||||||
createIndex(name: string, keyPath: string | Iterable<string>, options?: IDBIndexParameters): IDBIndex;
|
createIndex(name: string, keyPath: string | Iterable<string>, options?: IDBIndexParameters): IDBIndex;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
interface MIDIInputMap extends ReadonlyMap<string, MIDIInput> {
|
||||||
|
}
|
||||||
|
|
||||||
|
interface MIDIOutput {
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIOutput/send) */
|
||||||
|
send(data: Iterable<number>, timestamp?: DOMHighResTimeStamp): void;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface MIDIOutputMap extends ReadonlyMap<string, MIDIOutput> {
|
||||||
|
}
|
||||||
|
|
||||||
interface MediaKeyStatusMap {
|
interface MediaKeyStatusMap {
|
||||||
[Symbol.iterator](): IterableIterator<[BufferSource, MediaKeyStatus]>;
|
[Symbol.iterator](): IterableIterator<[BufferSource, MediaKeyStatus]>;
|
||||||
entries(): IterableIterator<[BufferSource, MediaKeyStatus]>;
|
entries(): IterableIterator<[BufferSource, MediaKeyStatus]>;
|
||||||
@ -153,6 +194,15 @@ interface MediaList {
|
|||||||
[Symbol.iterator](): IterableIterator<string>;
|
[Symbol.iterator](): IterableIterator<string>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
interface MessageEvent<T = any> {
|
||||||
|
/**
|
||||||
|
* @deprecated
|
||||||
|
*
|
||||||
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent)
|
||||||
|
*/
|
||||||
|
initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: Iterable<MessagePort>): void;
|
||||||
|
}
|
||||||
|
|
||||||
interface MimeTypeArray {
|
interface MimeTypeArray {
|
||||||
[Symbol.iterator](): IterableIterator<MimeType>;
|
[Symbol.iterator](): IterableIterator<MimeType>;
|
||||||
}
|
}
|
||||||
@ -162,38 +212,33 @@ interface NamedNodeMap {
|
|||||||
}
|
}
|
||||||
|
|
||||||
interface Navigator {
|
interface Navigator {
|
||||||
|
/**
|
||||||
|
* Available only in secure contexts.
|
||||||
|
*
|
||||||
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/requestMediaKeySystemAccess)
|
||||||
|
*/
|
||||||
requestMediaKeySystemAccess(keySystem: string, supportedConfigurations: Iterable<MediaKeySystemConfiguration>): Promise<MediaKeySystemAccess>;
|
requestMediaKeySystemAccess(keySystem: string, supportedConfigurations: Iterable<MediaKeySystemConfiguration>): Promise<MediaKeySystemAccess>;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/vibrate) */
|
||||||
|
vibrate(pattern: Iterable<number>): boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface NodeList {
|
interface NodeList {
|
||||||
[Symbol.iterator](): IterableIterator<Node>;
|
[Symbol.iterator](): IterableIterator<Node>;
|
||||||
/**
|
/** Returns an array of key, value pairs for every entry in the list. */
|
||||||
* Returns an array of key, value pairs for every entry in the list.
|
|
||||||
*/
|
|
||||||
entries(): IterableIterator<[number, Node]>;
|
entries(): IterableIterator<[number, Node]>;
|
||||||
/**
|
/** Returns an list of keys in the list. */
|
||||||
* Returns an list of keys in the list.
|
|
||||||
*/
|
|
||||||
keys(): IterableIterator<number>;
|
keys(): IterableIterator<number>;
|
||||||
/**
|
/** Returns an list of values in the list. */
|
||||||
* Returns an list of values in the list.
|
|
||||||
*/
|
|
||||||
values(): IterableIterator<Node>;
|
values(): IterableIterator<Node>;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface NodeListOf<TNode extends Node> {
|
interface NodeListOf<TNode extends Node> {
|
||||||
[Symbol.iterator](): IterableIterator<TNode>;
|
[Symbol.iterator](): IterableIterator<TNode>;
|
||||||
/**
|
/** Returns an array of key, value pairs for every entry in the list. */
|
||||||
* Returns an array of key, value pairs for every entry in the list.
|
|
||||||
*/
|
|
||||||
entries(): IterableIterator<[number, TNode]>;
|
entries(): IterableIterator<[number, TNode]>;
|
||||||
/**
|
/** Returns an list of keys in the list. */
|
||||||
* Returns an list of keys in the list.
|
|
||||||
*/
|
|
||||||
keys(): IterableIterator<number>;
|
keys(): IterableIterator<number>;
|
||||||
/**
|
/** Returns an list of values in the list. */
|
||||||
* Returns an list of values in the list.
|
|
||||||
*/
|
|
||||||
values(): IterableIterator<TNode>;
|
values(): IterableIterator<TNode>;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -206,6 +251,7 @@ interface PluginArray {
|
|||||||
}
|
}
|
||||||
|
|
||||||
interface RTCRtpTransceiver {
|
interface RTCRtpTransceiver {
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/setCodecPreferences) */
|
||||||
setCodecPreferences(codecs: Iterable<RTCRtpCodecCapability>): void;
|
setCodecPreferences(codecs: Iterable<RTCRtpCodecCapability>): void;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -228,12 +274,12 @@ interface SVGStringList {
|
|||||||
[Symbol.iterator](): IterableIterator<string>;
|
[Symbol.iterator](): IterableIterator<string>;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface SourceBufferList {
|
interface SVGTransformList {
|
||||||
[Symbol.iterator](): IterableIterator<SourceBuffer>;
|
[Symbol.iterator](): IterableIterator<SVGTransform>;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface SpeechGrammarList {
|
interface SourceBufferList {
|
||||||
[Symbol.iterator](): IterableIterator<SpeechGrammar>;
|
[Symbol.iterator](): IterableIterator<SourceBuffer>;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface SpeechRecognitionResult {
|
interface SpeechRecognitionResult {
|
||||||
@ -244,8 +290,29 @@ interface SpeechRecognitionResultList {
|
|||||||
[Symbol.iterator](): IterableIterator<SpeechRecognitionResult>;
|
[Symbol.iterator](): IterableIterator<SpeechRecognitionResult>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
interface StylePropertyMapReadOnly {
|
||||||
|
[Symbol.iterator](): IterableIterator<[string, Iterable<CSSStyleValue>]>;
|
||||||
|
entries(): IterableIterator<[string, Iterable<CSSStyleValue>]>;
|
||||||
|
keys(): IterableIterator<string>;
|
||||||
|
values(): IterableIterator<Iterable<CSSStyleValue>>;
|
||||||
|
}
|
||||||
|
|
||||||
interface StyleSheetList {
|
interface StyleSheetList {
|
||||||
[Symbol.iterator](): IterableIterator<StyleSheet>;
|
[Symbol.iterator](): IterableIterator<CSSStyleSheet>;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface SubtleCrypto {
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveKey) */
|
||||||
|
deriveKey(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: AlgorithmIdentifier | AesDerivedKeyParams | HmacImportParams | HkdfParams | Pbkdf2Params, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/generateKey) */
|
||||||
|
generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKeyPair>;
|
||||||
|
generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;
|
||||||
|
generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKeyPair | CryptoKey>;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/importKey) */
|
||||||
|
importKey(format: "jwk", keyData: JsonWebKey, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;
|
||||||
|
importKey(format: Exclude<KeyFormat, "jwk">, keyData: BufferSource, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/unwrapKey) */
|
||||||
|
unwrapKey(format: KeyFormat, wrappedKey: BufferSource, unwrappingKey: CryptoKey, unwrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, unwrappedKeyAlgorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface TextTrackCueList {
|
interface TextTrackCueList {
|
||||||
@ -262,91 +329,132 @@ interface TouchList {
|
|||||||
|
|
||||||
interface URLSearchParams {
|
interface URLSearchParams {
|
||||||
[Symbol.iterator](): IterableIterator<[string, string]>;
|
[Symbol.iterator](): IterableIterator<[string, string]>;
|
||||||
/**
|
/** Returns an array of key, value pairs for every entry in the search params. */
|
||||||
* Returns an array of key, value pairs for every entry in the search params.
|
|
||||||
*/
|
|
||||||
entries(): IterableIterator<[string, string]>;
|
entries(): IterableIterator<[string, string]>;
|
||||||
/**
|
/** Returns a list of keys in the search params. */
|
||||||
* Returns a list of keys in the search params.
|
|
||||||
*/
|
|
||||||
keys(): IterableIterator<string>;
|
keys(): IterableIterator<string>;
|
||||||
/**
|
/** Returns a list of values in the search params. */
|
||||||
* Returns a list of values in the search params.
|
|
||||||
*/
|
|
||||||
values(): IterableIterator<string>;
|
values(): IterableIterator<string>;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface VRDisplay {
|
|
||||||
requestPresent(layers: Iterable<VRLayer>): Promise<void>;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface VideoTrackList {
|
|
||||||
[Symbol.iterator](): IterableIterator<VideoTrack>;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface WEBGL_draw_buffers {
|
interface WEBGL_draw_buffers {
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_draw_buffers/drawBuffersWEBGL) */
|
||||||
drawBuffersWEBGL(buffers: Iterable<GLenum>): void;
|
drawBuffersWEBGL(buffers: Iterable<GLenum>): void;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface WebAuthentication {
|
interface WEBGL_multi_draw {
|
||||||
makeCredential(accountInformation: Account, cryptoParameters: Iterable<ScopedCredentialParameters>, attestationChallenge: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | null, options?: ScopedCredentialOptions): Promise<ScopedCredentialInfo>;
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysInstancedWEBGL) */
|
||||||
|
multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: GLuint, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: GLuint, drawcount: GLsizei): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysWEBGL) */
|
||||||
|
multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: GLuint, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, drawcount: GLsizei): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsInstancedWEBGL) */
|
||||||
|
multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: GLuint, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: GLuint, drawcount: GLsizei): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsWEBGL) */
|
||||||
|
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: GLuint, drawcount: GLsizei): void;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface WebGL2RenderingContextBase {
|
interface WebGL2RenderingContextBase {
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
|
||||||
clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLfloat>, srcOffset?: GLuint): void;
|
clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLfloat>, srcOffset?: GLuint): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
|
||||||
clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLint>, srcOffset?: GLuint): void;
|
clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLint>, srcOffset?: GLuint): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
|
||||||
clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLuint>, srcOffset?: GLuint): void;
|
clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLuint>, srcOffset?: GLuint): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/drawBuffers) */
|
||||||
drawBuffers(buffers: Iterable<GLenum>): void;
|
drawBuffers(buffers: Iterable<GLenum>): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getActiveUniforms) */
|
||||||
getActiveUniforms(program: WebGLProgram, uniformIndices: Iterable<GLuint>, pname: GLenum): any;
|
getActiveUniforms(program: WebGLProgram, uniformIndices: Iterable<GLuint>, pname: GLenum): any;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getUniformIndices) */
|
||||||
getUniformIndices(program: WebGLProgram, uniformNames: Iterable<string>): Iterable<GLuint> | null;
|
getUniformIndices(program: WebGLProgram, uniformNames: Iterable<string>): Iterable<GLuint> | null;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateFramebuffer) */
|
||||||
invalidateFramebuffer(target: GLenum, attachments: Iterable<GLenum>): void;
|
invalidateFramebuffer(target: GLenum, attachments: Iterable<GLenum>): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateSubFramebuffer) */
|
||||||
invalidateSubFramebuffer(target: GLenum, attachments: Iterable<GLenum>, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;
|
invalidateSubFramebuffer(target: GLenum, attachments: Iterable<GLenum>, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/transformFeedbackVaryings) */
|
||||||
transformFeedbackVaryings(program: WebGLProgram, varyings: Iterable<string>, bufferMode: GLenum): void;
|
transformFeedbackVaryings(program: WebGLProgram, varyings: Iterable<string>, bufferMode: GLenum): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
||||||
uniform1uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
uniform1uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
||||||
uniform2uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
uniform2uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
||||||
uniform3uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
uniform3uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
||||||
uniform4uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
uniform4uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
||||||
uniformMatrix2x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
uniformMatrix2x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
||||||
uniformMatrix2x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
uniformMatrix2x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
||||||
uniformMatrix3x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
uniformMatrix3x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
||||||
uniformMatrix3x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
uniformMatrix3x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
||||||
uniformMatrix4x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
uniformMatrix4x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
||||||
uniformMatrix4x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
uniformMatrix4x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/vertexAttribI) */
|
||||||
vertexAttribI4iv(index: GLuint, values: Iterable<GLint>): void;
|
vertexAttribI4iv(index: GLuint, values: Iterable<GLint>): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/vertexAttribI) */
|
||||||
vertexAttribI4uiv(index: GLuint, values: Iterable<GLuint>): void;
|
vertexAttribI4uiv(index: GLuint, values: Iterable<GLuint>): void;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface WebGL2RenderingContextOverloads {
|
interface WebGL2RenderingContextOverloads {
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
||||||
uniform1fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
uniform1fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
||||||
uniform1iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
uniform1iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
||||||
uniform2fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
uniform2fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
||||||
uniform2iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
uniform2iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
||||||
uniform3fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
uniform3fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
||||||
uniform3iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
uniform3iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
||||||
uniform4fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
uniform4fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
||||||
uniform4iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
uniform4iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
||||||
uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
||||||
uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
||||||
uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface WebGLRenderingContextBase {
|
interface WebGLRenderingContextBase {
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */
|
||||||
vertexAttrib1fv(index: GLuint, values: Iterable<GLfloat>): void;
|
vertexAttrib1fv(index: GLuint, values: Iterable<GLfloat>): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */
|
||||||
vertexAttrib2fv(index: GLuint, values: Iterable<GLfloat>): void;
|
vertexAttrib2fv(index: GLuint, values: Iterable<GLfloat>): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */
|
||||||
vertexAttrib3fv(index: GLuint, values: Iterable<GLfloat>): void;
|
vertexAttrib3fv(index: GLuint, values: Iterable<GLfloat>): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */
|
||||||
vertexAttrib4fv(index: GLuint, values: Iterable<GLfloat>): void;
|
vertexAttrib4fv(index: GLuint, values: Iterable<GLfloat>): void;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface WebGLRenderingContextOverloads {
|
interface WebGLRenderingContextOverloads {
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
||||||
uniform1fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
|
uniform1fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
||||||
uniform1iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
|
uniform1iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
||||||
uniform2fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
|
uniform2fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
||||||
uniform2iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
|
uniform2iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
||||||
uniform3fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
|
uniform3fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
||||||
uniform3iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
|
uniform3iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
||||||
uniform4fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
|
uniform4fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
||||||
uniform4iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
|
uniform4iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
||||||
uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;
|
uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
||||||
uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;
|
uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
||||||
uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;
|
uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;
|
||||||
}
|
}
|
||||||
|
210
node_modules/typescript/lib/lib.es2015.collection.d.ts
generated
vendored
210
node_modules/typescript/lib/lib.es2015.collection.d.ts
generated
vendored
@ -1,89 +1,147 @@
|
|||||||
/*! *****************************************************************************
|
/*! *****************************************************************************
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
and limitations under the License.
|
and limitations under the License.
|
||||||
***************************************************************************** */
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
/// <reference no-default-lib="true"/>
|
interface Map<K, V> {
|
||||||
|
clear(): void;
|
||||||
|
/**
|
||||||
|
* @returns true if an element in the Map existed and has been removed, or false if the element does not exist.
|
||||||
|
*/
|
||||||
|
delete(key: K): boolean;
|
||||||
|
/**
|
||||||
|
* Executes a provided function once per each key/value pair in the Map, in insertion order.
|
||||||
|
*/
|
||||||
|
forEach(callbackfn: (value: V, key: K, map: Map<K, V>) => void, thisArg?: any): void;
|
||||||
|
/**
|
||||||
|
* Returns a specified element from the Map object. If the value that is associated to the provided key is an object, then you will get a reference to that object and any change made to that object will effectively modify it inside the Map.
|
||||||
|
* @returns Returns the element associated with the specified key. If no element is associated with the specified key, undefined is returned.
|
||||||
|
*/
|
||||||
|
get(key: K): V | undefined;
|
||||||
|
/**
|
||||||
|
* @returns boolean indicating whether an element with the specified key exists or not.
|
||||||
|
*/
|
||||||
|
has(key: K): boolean;
|
||||||
|
/**
|
||||||
|
* Adds a new element with a specified key and value to the Map. If an element with the same key already exists, the element will be updated.
|
||||||
|
*/
|
||||||
|
set(key: K, value: V): this;
|
||||||
|
/**
|
||||||
|
* @returns the number of elements in the Map.
|
||||||
|
*/
|
||||||
|
readonly size: number;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface MapConstructor {
|
||||||
|
new (): Map<any, any>;
|
||||||
|
new <K, V>(entries?: readonly (readonly [K, V])[] | null): Map<K, V>;
|
||||||
|
readonly prototype: Map<any, any>;
|
||||||
|
}
|
||||||
|
declare var Map: MapConstructor;
|
||||||
|
|
||||||
interface Map<K, V> {
|
interface ReadonlyMap<K, V> {
|
||||||
clear(): void;
|
forEach(callbackfn: (value: V, key: K, map: ReadonlyMap<K, V>) => void, thisArg?: any): void;
|
||||||
delete(key: K): boolean;
|
get(key: K): V | undefined;
|
||||||
forEach(callbackfn: (value: V, key: K, map: Map<K, V>) => void, thisArg?: any): void;
|
has(key: K): boolean;
|
||||||
get(key: K): V | undefined;
|
readonly size: number;
|
||||||
has(key: K): boolean;
|
}
|
||||||
set(key: K, value: V): this;
|
|
||||||
readonly size: number;
|
interface WeakMap<K extends WeakKey, V> {
|
||||||
}
|
/**
|
||||||
|
* Removes the specified element from the WeakMap.
|
||||||
interface MapConstructor {
|
* @returns true if the element was successfully removed, or false if it was not present.
|
||||||
new(): Map<any, any>;
|
*/
|
||||||
new<K, V>(entries?: readonly (readonly [K, V])[] | null): Map<K, V>;
|
delete(key: K): boolean;
|
||||||
readonly prototype: Map<any, any>;
|
/**
|
||||||
}
|
* @returns a specified element.
|
||||||
declare var Map: MapConstructor;
|
*/
|
||||||
|
get(key: K): V | undefined;
|
||||||
interface ReadonlyMap<K, V> {
|
/**
|
||||||
forEach(callbackfn: (value: V, key: K, map: ReadonlyMap<K, V>) => void, thisArg?: any): void;
|
* @returns a boolean indicating whether an element with the specified key exists or not.
|
||||||
get(key: K): V | undefined;
|
*/
|
||||||
has(key: K): boolean;
|
has(key: K): boolean;
|
||||||
readonly size: number;
|
/**
|
||||||
}
|
* Adds a new element with a specified key and value.
|
||||||
|
* @param key Must be an object or symbol.
|
||||||
interface WeakMap<K extends object, V> {
|
*/
|
||||||
delete(key: K): boolean;
|
set(key: K, value: V): this;
|
||||||
get(key: K): V | undefined;
|
}
|
||||||
has(key: K): boolean;
|
|
||||||
set(key: K, value: V): this;
|
interface WeakMapConstructor {
|
||||||
}
|
new <K extends WeakKey = WeakKey, V = any>(entries?: readonly (readonly [K, V])[] | null): WeakMap<K, V>;
|
||||||
|
readonly prototype: WeakMap<WeakKey, any>;
|
||||||
interface WeakMapConstructor {
|
}
|
||||||
new <K extends object = object, V = any>(entries?: readonly [K, V][] | null): WeakMap<K, V>;
|
declare var WeakMap: WeakMapConstructor;
|
||||||
readonly prototype: WeakMap<object, any>;
|
|
||||||
}
|
interface Set<T> {
|
||||||
declare var WeakMap: WeakMapConstructor;
|
/**
|
||||||
|
* Appends a new element with a specified value to the end of the Set.
|
||||||
interface Set<T> {
|
*/
|
||||||
add(value: T): this;
|
add(value: T): this;
|
||||||
clear(): void;
|
|
||||||
delete(value: T): boolean;
|
clear(): void;
|
||||||
forEach(callbackfn: (value: T, value2: T, set: Set<T>) => void, thisArg?: any): void;
|
/**
|
||||||
has(value: T): boolean;
|
* Removes a specified value from the Set.
|
||||||
readonly size: number;
|
* @returns Returns true if an element in the Set existed and has been removed, or false if the element does not exist.
|
||||||
}
|
*/
|
||||||
|
delete(value: T): boolean;
|
||||||
interface SetConstructor {
|
/**
|
||||||
new <T = any>(values?: readonly T[] | null): Set<T>;
|
* Executes a provided function once per each value in the Set object, in insertion order.
|
||||||
readonly prototype: Set<any>;
|
*/
|
||||||
}
|
forEach(callbackfn: (value: T, value2: T, set: Set<T>) => void, thisArg?: any): void;
|
||||||
declare var Set: SetConstructor;
|
/**
|
||||||
|
* @returns a boolean indicating whether an element with the specified value exists in the Set or not.
|
||||||
interface ReadonlySet<T> {
|
*/
|
||||||
forEach(callbackfn: (value: T, value2: T, set: ReadonlySet<T>) => void, thisArg?: any): void;
|
has(value: T): boolean;
|
||||||
has(value: T): boolean;
|
/**
|
||||||
readonly size: number;
|
* @returns the number of (unique) elements in Set.
|
||||||
}
|
*/
|
||||||
|
readonly size: number;
|
||||||
interface WeakSet<T extends object> {
|
}
|
||||||
add(value: T): this;
|
|
||||||
delete(value: T): boolean;
|
interface SetConstructor {
|
||||||
has(value: T): boolean;
|
new <T = any>(values?: readonly T[] | null): Set<T>;
|
||||||
}
|
readonly prototype: Set<any>;
|
||||||
|
}
|
||||||
interface WeakSetConstructor {
|
declare var Set: SetConstructor;
|
||||||
new <T extends object = object>(values?: readonly T[] | null): WeakSet<T>;
|
|
||||||
readonly prototype: WeakSet<object>;
|
interface ReadonlySet<T> {
|
||||||
}
|
forEach(callbackfn: (value: T, value2: T, set: ReadonlySet<T>) => void, thisArg?: any): void;
|
||||||
declare var WeakSet: WeakSetConstructor;
|
has(value: T): boolean;
|
||||||
|
readonly size: number;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface WeakSet<T extends WeakKey> {
|
||||||
|
/**
|
||||||
|
* Appends a new value to the end of the WeakSet.
|
||||||
|
*/
|
||||||
|
add(value: T): this;
|
||||||
|
/**
|
||||||
|
* Removes the specified element from the WeakSet.
|
||||||
|
* @returns Returns true if the element existed and has been removed, or false if the element does not exist.
|
||||||
|
*/
|
||||||
|
delete(value: T): boolean;
|
||||||
|
/**
|
||||||
|
* @returns a boolean indicating whether a value exists in the WeakSet or not.
|
||||||
|
*/
|
||||||
|
has(value: T): boolean;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface WeakSetConstructor {
|
||||||
|
new <T extends WeakKey = WeakKey>(values?: readonly T[] | null): WeakSet<T>;
|
||||||
|
readonly prototype: WeakSet<WeakKey>;
|
||||||
|
}
|
||||||
|
declare var WeakSet: WeakSetConstructor;
|
||||||
|
1048
node_modules/typescript/lib/lib.es2015.core.d.ts
generated
vendored
1048
node_modules/typescript/lib/lib.es2015.core.d.ts
generated
vendored
File diff suppressed because it is too large
Load Diff
36
node_modules/typescript/lib/lib.es2015.d.ts
generated
vendored
36
node_modules/typescript/lib/lib.es2015.d.ts
generated
vendored
@ -1,30 +1,28 @@
|
|||||||
/*! *****************************************************************************
|
/*! *****************************************************************************
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
and limitations under the License.
|
and limitations under the License.
|
||||||
***************************************************************************** */
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
/// <reference no-default-lib="true"/>
|
/// <reference lib="es5" />
|
||||||
|
/// <reference lib="es2015.core" />
|
||||||
|
/// <reference lib="es2015.collection" />
|
||||||
/// <reference lib="es5" />
|
/// <reference lib="es2015.iterable" />
|
||||||
/// <reference lib="es2015.core" />
|
/// <reference lib="es2015.generator" />
|
||||||
/// <reference lib="es2015.collection" />
|
/// <reference lib="es2015.promise" />
|
||||||
/// <reference lib="es2015.generator" />
|
/// <reference lib="es2015.proxy" />
|
||||||
/// <reference lib="es2015.promise" />
|
/// <reference lib="es2015.reflect" />
|
||||||
/// <reference lib="es2015.iterable" />
|
/// <reference lib="es2015.symbol" />
|
||||||
/// <reference lib="es2015.proxy" />
|
/// <reference lib="es2015.symbol.wellknown" />
|
||||||
/// <reference lib="es2015.reflect" />
|
|
||||||
/// <reference lib="es2015.symbol" />
|
|
||||||
/// <reference lib="es2015.symbol.wellknown" />
|
|
||||||
|
130
node_modules/typescript/lib/lib.es2015.generator.d.ts
generated
vendored
130
node_modules/typescript/lib/lib.es2015.generator.d.ts
generated
vendored
@ -1,79 +1,77 @@
|
|||||||
/*! *****************************************************************************
|
/*! *****************************************************************************
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
and limitations under the License.
|
and limitations under the License.
|
||||||
***************************************************************************** */
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
/// <reference no-default-lib="true"/>
|
/// <reference lib="es2015.iterable" />
|
||||||
|
|
||||||
|
interface Generator<T = unknown, TReturn = any, TNext = unknown> extends Iterator<T, TReturn, TNext> {
|
||||||
|
// NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places.
|
||||||
|
next(...args: [] | [TNext]): IteratorResult<T, TReturn>;
|
||||||
|
return(value: TReturn): IteratorResult<T, TReturn>;
|
||||||
|
throw(e: any): IteratorResult<T, TReturn>;
|
||||||
|
[Symbol.iterator](): Generator<T, TReturn, TNext>;
|
||||||
|
}
|
||||||
|
|
||||||
/// <reference lib="es2015.iterable" />
|
interface GeneratorFunction {
|
||||||
|
/**
|
||||||
interface Generator<T = unknown, TReturn = any, TNext = unknown> extends Iterator<T, TReturn, TNext> {
|
* Creates a new Generator object.
|
||||||
// NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places.
|
* @param args A list of arguments the function accepts.
|
||||||
next(...args: [] | [TNext]): IteratorResult<T, TReturn>;
|
*/
|
||||||
return(value: TReturn): IteratorResult<T, TReturn>;
|
new (...args: any[]): Generator;
|
||||||
throw(e: any): IteratorResult<T, TReturn>;
|
/**
|
||||||
[Symbol.iterator](): Generator<T, TReturn, TNext>;
|
* Creates a new Generator object.
|
||||||
}
|
* @param args A list of arguments the function accepts.
|
||||||
|
*/
|
||||||
interface GeneratorFunction {
|
(...args: any[]): Generator;
|
||||||
/**
|
/**
|
||||||
* Creates a new Generator object.
|
* The length of the arguments.
|
||||||
* @param args A list of arguments the function accepts.
|
*/
|
||||||
*/
|
readonly length: number;
|
||||||
new (...args: any[]): Generator;
|
/**
|
||||||
/**
|
* Returns the name of the function.
|
||||||
* Creates a new Generator object.
|
*/
|
||||||
* @param args A list of arguments the function accepts.
|
readonly name: string;
|
||||||
*/
|
/**
|
||||||
(...args: any[]): Generator;
|
* A reference to the prototype.
|
||||||
/**
|
*/
|
||||||
* The length of the arguments.
|
readonly prototype: Generator;
|
||||||
*/
|
}
|
||||||
readonly length: number;
|
|
||||||
/**
|
interface GeneratorFunctionConstructor {
|
||||||
* Returns the name of the function.
|
/**
|
||||||
*/
|
* Creates a new Generator function.
|
||||||
readonly name: string;
|
* @param args A list of arguments the function accepts.
|
||||||
/**
|
*/
|
||||||
* A reference to the prototype.
|
new (...args: string[]): GeneratorFunction;
|
||||||
*/
|
/**
|
||||||
readonly prototype: Generator;
|
* Creates a new Generator function.
|
||||||
}
|
* @param args A list of arguments the function accepts.
|
||||||
|
*/
|
||||||
interface GeneratorFunctionConstructor {
|
(...args: string[]): GeneratorFunction;
|
||||||
/**
|
/**
|
||||||
* Creates a new Generator function.
|
* The length of the arguments.
|
||||||
* @param args A list of arguments the function accepts.
|
*/
|
||||||
*/
|
readonly length: number;
|
||||||
new (...args: string[]): GeneratorFunction;
|
/**
|
||||||
/**
|
* Returns the name of the function.
|
||||||
* Creates a new Generator function.
|
*/
|
||||||
* @param args A list of arguments the function accepts.
|
readonly name: string;
|
||||||
*/
|
/**
|
||||||
(...args: string[]): GeneratorFunction;
|
* A reference to the prototype.
|
||||||
/**
|
*/
|
||||||
* The length of the arguments.
|
readonly prototype: GeneratorFunction;
|
||||||
*/
|
}
|
||||||
readonly length: number;
|
|
||||||
/**
|
|
||||||
* Returns the name of the function.
|
|
||||||
*/
|
|
||||||
readonly name: string;
|
|
||||||
/**
|
|
||||||
* A reference to the prototype.
|
|
||||||
*/
|
|
||||||
readonly prototype: GeneratorFunction;
|
|
||||||
}
|
|
||||||
|
970
node_modules/typescript/lib/lib.es2015.iterable.d.ts
generated
vendored
970
node_modules/typescript/lib/lib.es2015.iterable.d.ts
generated
vendored
@ -1,501 +1,495 @@
|
|||||||
/*! *****************************************************************************
|
/*! *****************************************************************************
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
and limitations under the License.
|
and limitations under the License.
|
||||||
***************************************************************************** */
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
/// <reference no-default-lib="true"/>
|
/// <reference lib="es2015.symbol" />
|
||||||
|
|
||||||
|
interface SymbolConstructor {
|
||||||
|
/**
|
||||||
|
* A method that returns the default iterator for an object. Called by the semantics of the
|
||||||
|
* for-of statement.
|
||||||
|
*/
|
||||||
|
readonly iterator: unique symbol;
|
||||||
|
}
|
||||||
|
|
||||||
/// <reference lib="es2015.symbol" />
|
interface IteratorYieldResult<TYield> {
|
||||||
|
done?: false;
|
||||||
interface SymbolConstructor {
|
value: TYield;
|
||||||
/**
|
}
|
||||||
* A method that returns the default iterator for an object. Called by the semantics of the
|
|
||||||
* for-of statement.
|
interface IteratorReturnResult<TReturn> {
|
||||||
*/
|
done: true;
|
||||||
readonly iterator: symbol;
|
value: TReturn;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface IteratorYieldResult<TYield> {
|
type IteratorResult<T, TReturn = any> = IteratorYieldResult<T> | IteratorReturnResult<TReturn>;
|
||||||
done?: false;
|
|
||||||
value: TYield;
|
interface Iterator<T, TReturn = any, TNext = undefined> {
|
||||||
}
|
// NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places.
|
||||||
|
next(...args: [] | [TNext]): IteratorResult<T, TReturn>;
|
||||||
interface IteratorReturnResult<TReturn> {
|
return?(value?: TReturn): IteratorResult<T, TReturn>;
|
||||||
done: true;
|
throw?(e?: any): IteratorResult<T, TReturn>;
|
||||||
value: TReturn;
|
}
|
||||||
}
|
|
||||||
|
interface Iterable<T> {
|
||||||
type IteratorResult<T, TReturn = any> = IteratorYieldResult<T> | IteratorReturnResult<TReturn>;
|
[Symbol.iterator](): Iterator<T>;
|
||||||
|
}
|
||||||
interface Iterator<T, TReturn = any, TNext = undefined> {
|
|
||||||
// NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places.
|
interface IterableIterator<T> extends Iterator<T> {
|
||||||
next(...args: [] | [TNext]): IteratorResult<T, TReturn>;
|
[Symbol.iterator](): IterableIterator<T>;
|
||||||
return?(value?: TReturn): IteratorResult<T, TReturn>;
|
}
|
||||||
throw?(e?: any): IteratorResult<T, TReturn>;
|
|
||||||
}
|
interface Array<T> {
|
||||||
|
/** Iterator */
|
||||||
interface Iterable<T> {
|
[Symbol.iterator](): IterableIterator<T>;
|
||||||
[Symbol.iterator](): Iterator<T>;
|
|
||||||
}
|
/**
|
||||||
|
* Returns an iterable of key, value pairs for every entry in the array
|
||||||
interface IterableIterator<T> extends Iterator<T> {
|
*/
|
||||||
[Symbol.iterator](): IterableIterator<T>;
|
entries(): IterableIterator<[number, T]>;
|
||||||
}
|
|
||||||
|
/**
|
||||||
interface Array<T> {
|
* Returns an iterable of keys in the array
|
||||||
/** Iterator */
|
*/
|
||||||
[Symbol.iterator](): IterableIterator<T>;
|
keys(): IterableIterator<number>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns an iterable of key, value pairs for every entry in the array
|
* Returns an iterable of values in the array
|
||||||
*/
|
*/
|
||||||
entries(): IterableIterator<[number, T]>;
|
values(): IterableIterator<T>;
|
||||||
|
}
|
||||||
/**
|
|
||||||
* Returns an iterable of keys in the array
|
interface ArrayConstructor {
|
||||||
*/
|
/**
|
||||||
keys(): IterableIterator<number>;
|
* Creates an array from an iterable object.
|
||||||
|
* @param iterable An iterable object to convert to an array.
|
||||||
/**
|
*/
|
||||||
* Returns an iterable of values in the array
|
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
||||||
*/
|
|
||||||
values(): IterableIterator<T>;
|
/**
|
||||||
}
|
* Creates an array from an iterable object.
|
||||||
|
* @param iterable An iterable object to convert to an array.
|
||||||
interface ArrayConstructor {
|
* @param mapfn A mapping function to call on every element of the array.
|
||||||
/**
|
* @param thisArg Value of 'this' used to invoke the mapfn.
|
||||||
* Creates an array from an iterable object.
|
*/
|
||||||
* @param iterable An iterable object to convert to an array.
|
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
||||||
*/
|
}
|
||||||
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
||||||
|
interface ReadonlyArray<T> {
|
||||||
/**
|
/** Iterator of values in the array. */
|
||||||
* Creates an array from an iterable object.
|
[Symbol.iterator](): IterableIterator<T>;
|
||||||
* @param iterable An iterable object to convert to an array.
|
|
||||||
* @param mapfn A mapping function to call on every element of the array.
|
/**
|
||||||
* @param thisArg Value of 'this' used to invoke the mapfn.
|
* Returns an iterable of key, value pairs for every entry in the array
|
||||||
*/
|
*/
|
||||||
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
entries(): IterableIterator<[number, T]>;
|
||||||
}
|
|
||||||
|
/**
|
||||||
interface ReadonlyArray<T> {
|
* Returns an iterable of keys in the array
|
||||||
/** Iterator of values in the array. */
|
*/
|
||||||
[Symbol.iterator](): IterableIterator<T>;
|
keys(): IterableIterator<number>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns an iterable of key, value pairs for every entry in the array
|
* Returns an iterable of values in the array
|
||||||
*/
|
*/
|
||||||
entries(): IterableIterator<[number, T]>;
|
values(): IterableIterator<T>;
|
||||||
|
}
|
||||||
/**
|
|
||||||
* Returns an iterable of keys in the array
|
interface IArguments {
|
||||||
*/
|
/** Iterator */
|
||||||
keys(): IterableIterator<number>;
|
[Symbol.iterator](): IterableIterator<any>;
|
||||||
|
}
|
||||||
/**
|
|
||||||
* Returns an iterable of values in the array
|
interface Map<K, V> {
|
||||||
*/
|
/** Returns an iterable of entries in the map. */
|
||||||
values(): IterableIterator<T>;
|
[Symbol.iterator](): IterableIterator<[K, V]>;
|
||||||
}
|
|
||||||
|
/**
|
||||||
interface IArguments {
|
* Returns an iterable of key, value pairs for every entry in the map.
|
||||||
/** Iterator */
|
*/
|
||||||
[Symbol.iterator](): IterableIterator<any>;
|
entries(): IterableIterator<[K, V]>;
|
||||||
}
|
|
||||||
|
/**
|
||||||
interface Map<K, V> {
|
* Returns an iterable of keys in the map
|
||||||
/** Returns an iterable of entries in the map. */
|
*/
|
||||||
[Symbol.iterator](): IterableIterator<[K, V]>;
|
keys(): IterableIterator<K>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns an iterable of key, value pairs for every entry in the map.
|
* Returns an iterable of values in the map
|
||||||
*/
|
*/
|
||||||
entries(): IterableIterator<[K, V]>;
|
values(): IterableIterator<V>;
|
||||||
|
}
|
||||||
/**
|
|
||||||
* Returns an iterable of keys in the map
|
interface ReadonlyMap<K, V> {
|
||||||
*/
|
/** Returns an iterable of entries in the map. */
|
||||||
keys(): IterableIterator<K>;
|
[Symbol.iterator](): IterableIterator<[K, V]>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns an iterable of values in the map
|
* Returns an iterable of key, value pairs for every entry in the map.
|
||||||
*/
|
*/
|
||||||
values(): IterableIterator<V>;
|
entries(): IterableIterator<[K, V]>;
|
||||||
}
|
|
||||||
|
/**
|
||||||
interface ReadonlyMap<K, V> {
|
* Returns an iterable of keys in the map
|
||||||
/** Returns an iterable of entries in the map. */
|
*/
|
||||||
[Symbol.iterator](): IterableIterator<[K, V]>;
|
keys(): IterableIterator<K>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns an iterable of key, value pairs for every entry in the map.
|
* Returns an iterable of values in the map
|
||||||
*/
|
*/
|
||||||
entries(): IterableIterator<[K, V]>;
|
values(): IterableIterator<V>;
|
||||||
|
}
|
||||||
/**
|
|
||||||
* Returns an iterable of keys in the map
|
interface MapConstructor {
|
||||||
*/
|
new (): Map<any, any>;
|
||||||
keys(): IterableIterator<K>;
|
new <K, V>(iterable?: Iterable<readonly [K, V]> | null): Map<K, V>;
|
||||||
|
}
|
||||||
/**
|
|
||||||
* Returns an iterable of values in the map
|
interface WeakMap<K extends WeakKey, V> {}
|
||||||
*/
|
|
||||||
values(): IterableIterator<V>;
|
interface WeakMapConstructor {
|
||||||
}
|
new <K extends WeakKey, V>(iterable: Iterable<readonly [K, V]>): WeakMap<K, V>;
|
||||||
|
}
|
||||||
interface MapConstructor {
|
|
||||||
new <K, V>(iterable: Iterable<readonly [K, V]>): Map<K, V>;
|
interface Set<T> {
|
||||||
}
|
/** Iterates over values in the set. */
|
||||||
|
[Symbol.iterator](): IterableIterator<T>;
|
||||||
interface WeakMap<K extends object, V> { }
|
/**
|
||||||
|
* Returns an iterable of [v,v] pairs for every value `v` in the set.
|
||||||
interface WeakMapConstructor {
|
*/
|
||||||
new <K extends object, V>(iterable: Iterable<[K, V]>): WeakMap<K, V>;
|
entries(): IterableIterator<[T, T]>;
|
||||||
}
|
/**
|
||||||
|
* Despite its name, returns an iterable of the values in the set.
|
||||||
interface Set<T> {
|
*/
|
||||||
/** Iterates over values in the set. */
|
keys(): IterableIterator<T>;
|
||||||
[Symbol.iterator](): IterableIterator<T>;
|
|
||||||
/**
|
/**
|
||||||
* Returns an iterable of [v,v] pairs for every value `v` in the set.
|
* Returns an iterable of values in the set.
|
||||||
*/
|
*/
|
||||||
entries(): IterableIterator<[T, T]>;
|
values(): IterableIterator<T>;
|
||||||
/**
|
}
|
||||||
* Despite its name, returns an iterable of the values in the set,
|
|
||||||
*/
|
interface ReadonlySet<T> {
|
||||||
keys(): IterableIterator<T>;
|
/** Iterates over values in the set. */
|
||||||
|
[Symbol.iterator](): IterableIterator<T>;
|
||||||
/**
|
|
||||||
* Returns an iterable of values in the set.
|
/**
|
||||||
*/
|
* Returns an iterable of [v,v] pairs for every value `v` in the set.
|
||||||
values(): IterableIterator<T>;
|
*/
|
||||||
}
|
entries(): IterableIterator<[T, T]>;
|
||||||
|
|
||||||
interface ReadonlySet<T> {
|
/**
|
||||||
/** Iterates over values in the set. */
|
* Despite its name, returns an iterable of the values in the set.
|
||||||
[Symbol.iterator](): IterableIterator<T>;
|
*/
|
||||||
|
keys(): IterableIterator<T>;
|
||||||
/**
|
|
||||||
* Returns an iterable of [v,v] pairs for every value `v` in the set.
|
/**
|
||||||
*/
|
* Returns an iterable of values in the set.
|
||||||
entries(): IterableIterator<[T, T]>;
|
*/
|
||||||
|
values(): IterableIterator<T>;
|
||||||
/**
|
}
|
||||||
* Despite its name, returns an iterable of the values in the set,
|
|
||||||
*/
|
interface SetConstructor {
|
||||||
keys(): IterableIterator<T>;
|
new <T>(iterable?: Iterable<T> | null): Set<T>;
|
||||||
|
}
|
||||||
/**
|
|
||||||
* Returns an iterable of values in the set.
|
interface WeakSet<T extends WeakKey> {}
|
||||||
*/
|
|
||||||
values(): IterableIterator<T>;
|
interface WeakSetConstructor {
|
||||||
}
|
new <T extends WeakKey = WeakKey>(iterable: Iterable<T>): WeakSet<T>;
|
||||||
|
}
|
||||||
interface SetConstructor {
|
|
||||||
new <T>(iterable?: Iterable<T> | null): Set<T>;
|
interface Promise<T> {}
|
||||||
}
|
|
||||||
|
interface PromiseConstructor {
|
||||||
interface WeakSet<T extends object> { }
|
/**
|
||||||
|
* Creates a Promise that is resolved with an array of results when all of the provided Promises
|
||||||
interface WeakSetConstructor {
|
* resolve, or rejected when any Promise is rejected.
|
||||||
new <T extends object = object>(iterable: Iterable<T>): WeakSet<T>;
|
* @param values An iterable of Promises.
|
||||||
}
|
* @returns A new Promise.
|
||||||
|
*/
|
||||||
interface Promise<T> { }
|
all<T>(values: Iterable<T | PromiseLike<T>>): Promise<Awaited<T>[]>;
|
||||||
|
|
||||||
interface PromiseConstructor {
|
/**
|
||||||
/**
|
* Creates a Promise that is resolved or rejected when any of the provided Promises are resolved
|
||||||
* Creates a Promise that is resolved with an array of results when all of the provided Promises
|
* or rejected.
|
||||||
* resolve, or rejected when any Promise is rejected.
|
* @param values An iterable of Promises.
|
||||||
* @param values An array of Promises.
|
* @returns A new Promise.
|
||||||
* @returns A new Promise.
|
*/
|
||||||
*/
|
race<T>(values: Iterable<T | PromiseLike<T>>): Promise<Awaited<T>>;
|
||||||
all<TAll>(values: Iterable<TAll | PromiseLike<TAll>>): Promise<TAll[]>;
|
}
|
||||||
|
|
||||||
/**
|
interface String {
|
||||||
* Creates a Promise that is resolved or rejected when any of the provided Promises are resolved
|
/** Iterator */
|
||||||
* or rejected.
|
[Symbol.iterator](): IterableIterator<string>;
|
||||||
* @param values An array of Promises.
|
}
|
||||||
* @returns A new Promise.
|
|
||||||
*/
|
interface Int8Array {
|
||||||
race<T>(values: Iterable<T | PromiseLike<T>>): Promise<T>;
|
[Symbol.iterator](): IterableIterator<number>;
|
||||||
}
|
/**
|
||||||
|
* Returns an array of key, value pairs for every entry in the array
|
||||||
declare namespace Reflect {
|
*/
|
||||||
function enumerate(target: object): IterableIterator<any>;
|
entries(): IterableIterator<[number, number]>;
|
||||||
}
|
/**
|
||||||
|
* Returns an list of keys in the array
|
||||||
interface String {
|
*/
|
||||||
/** Iterator */
|
keys(): IterableIterator<number>;
|
||||||
[Symbol.iterator](): IterableIterator<string>;
|
/**
|
||||||
}
|
* Returns an list of values in the array
|
||||||
|
*/
|
||||||
interface Int8Array {
|
values(): IterableIterator<number>;
|
||||||
[Symbol.iterator](): IterableIterator<number>;
|
}
|
||||||
/**
|
|
||||||
* Returns an array of key, value pairs for every entry in the array
|
interface Int8ArrayConstructor {
|
||||||
*/
|
new (elements: Iterable<number>): Int8Array;
|
||||||
entries(): IterableIterator<[number, number]>;
|
|
||||||
/**
|
/**
|
||||||
* Returns an list of keys in the array
|
* Creates an array from an array-like or iterable object.
|
||||||
*/
|
* @param arrayLike An array-like or iterable object to convert to an array.
|
||||||
keys(): IterableIterator<number>;
|
* @param mapfn A mapping function to call on every element of the array.
|
||||||
/**
|
* @param thisArg Value of 'this' used to invoke the mapfn.
|
||||||
* Returns an list of values in the array
|
*/
|
||||||
*/
|
from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Int8Array;
|
||||||
values(): IterableIterator<number>;
|
}
|
||||||
}
|
|
||||||
|
interface Uint8Array {
|
||||||
interface Int8ArrayConstructor {
|
[Symbol.iterator](): IterableIterator<number>;
|
||||||
new (elements: Iterable<number>): Int8Array;
|
/**
|
||||||
|
* Returns an array of key, value pairs for every entry in the array
|
||||||
/**
|
*/
|
||||||
* Creates an array from an array-like or iterable object.
|
entries(): IterableIterator<[number, number]>;
|
||||||
* @param arrayLike An array-like or iterable object to convert to an array.
|
/**
|
||||||
* @param mapfn A mapping function to call on every element of the array.
|
* Returns an list of keys in the array
|
||||||
* @param thisArg Value of 'this' used to invoke the mapfn.
|
*/
|
||||||
*/
|
keys(): IterableIterator<number>;
|
||||||
from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Int8Array;
|
/**
|
||||||
}
|
* Returns an list of values in the array
|
||||||
|
*/
|
||||||
interface Uint8Array {
|
values(): IterableIterator<number>;
|
||||||
[Symbol.iterator](): IterableIterator<number>;
|
}
|
||||||
/**
|
|
||||||
* Returns an array of key, value pairs for every entry in the array
|
interface Uint8ArrayConstructor {
|
||||||
*/
|
new (elements: Iterable<number>): Uint8Array;
|
||||||
entries(): IterableIterator<[number, number]>;
|
|
||||||
/**
|
/**
|
||||||
* Returns an list of keys in the array
|
* Creates an array from an array-like or iterable object.
|
||||||
*/
|
* @param arrayLike An array-like or iterable object to convert to an array.
|
||||||
keys(): IterableIterator<number>;
|
* @param mapfn A mapping function to call on every element of the array.
|
||||||
/**
|
* @param thisArg Value of 'this' used to invoke the mapfn.
|
||||||
* Returns an list of values in the array
|
*/
|
||||||
*/
|
from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8Array;
|
||||||
values(): IterableIterator<number>;
|
}
|
||||||
}
|
|
||||||
|
interface Uint8ClampedArray {
|
||||||
interface Uint8ArrayConstructor {
|
[Symbol.iterator](): IterableIterator<number>;
|
||||||
new (elements: Iterable<number>): Uint8Array;
|
/**
|
||||||
|
* Returns an array of key, value pairs for every entry in the array
|
||||||
/**
|
*/
|
||||||
* Creates an array from an array-like or iterable object.
|
entries(): IterableIterator<[number, number]>;
|
||||||
* @param arrayLike An array-like or iterable object to convert to an array.
|
|
||||||
* @param mapfn A mapping function to call on every element of the array.
|
/**
|
||||||
* @param thisArg Value of 'this' used to invoke the mapfn.
|
* Returns an list of keys in the array
|
||||||
*/
|
*/
|
||||||
from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8Array;
|
keys(): IterableIterator<number>;
|
||||||
}
|
|
||||||
|
/**
|
||||||
interface Uint8ClampedArray {
|
* Returns an list of values in the array
|
||||||
[Symbol.iterator](): IterableIterator<number>;
|
*/
|
||||||
/**
|
values(): IterableIterator<number>;
|
||||||
* Returns an array of key, value pairs for every entry in the array
|
}
|
||||||
*/
|
|
||||||
entries(): IterableIterator<[number, number]>;
|
interface Uint8ClampedArrayConstructor {
|
||||||
|
new (elements: Iterable<number>): Uint8ClampedArray;
|
||||||
/**
|
|
||||||
* Returns an list of keys in the array
|
/**
|
||||||
*/
|
* Creates an array from an array-like or iterable object.
|
||||||
keys(): IterableIterator<number>;
|
* @param arrayLike An array-like or iterable object to convert to an array.
|
||||||
|
* @param mapfn A mapping function to call on every element of the array.
|
||||||
/**
|
* @param thisArg Value of 'this' used to invoke the mapfn.
|
||||||
* Returns an list of values in the array
|
*/
|
||||||
*/
|
from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8ClampedArray;
|
||||||
values(): IterableIterator<number>;
|
}
|
||||||
}
|
|
||||||
|
interface Int16Array {
|
||||||
interface Uint8ClampedArrayConstructor {
|
[Symbol.iterator](): IterableIterator<number>;
|
||||||
new (elements: Iterable<number>): Uint8ClampedArray;
|
/**
|
||||||
|
* Returns an array of key, value pairs for every entry in the array
|
||||||
|
*/
|
||||||
/**
|
entries(): IterableIterator<[number, number]>;
|
||||||
* Creates an array from an array-like or iterable object.
|
|
||||||
* @param arrayLike An array-like or iterable object to convert to an array.
|
/**
|
||||||
* @param mapfn A mapping function to call on every element of the array.
|
* Returns an list of keys in the array
|
||||||
* @param thisArg Value of 'this' used to invoke the mapfn.
|
*/
|
||||||
*/
|
keys(): IterableIterator<number>;
|
||||||
from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8ClampedArray;
|
|
||||||
}
|
/**
|
||||||
|
* Returns an list of values in the array
|
||||||
interface Int16Array {
|
*/
|
||||||
[Symbol.iterator](): IterableIterator<number>;
|
values(): IterableIterator<number>;
|
||||||
/**
|
}
|
||||||
* Returns an array of key, value pairs for every entry in the array
|
|
||||||
*/
|
interface Int16ArrayConstructor {
|
||||||
entries(): IterableIterator<[number, number]>;
|
new (elements: Iterable<number>): Int16Array;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns an list of keys in the array
|
* Creates an array from an array-like or iterable object.
|
||||||
*/
|
* @param arrayLike An array-like or iterable object to convert to an array.
|
||||||
keys(): IterableIterator<number>;
|
* @param mapfn A mapping function to call on every element of the array.
|
||||||
|
* @param thisArg Value of 'this' used to invoke the mapfn.
|
||||||
/**
|
*/
|
||||||
* Returns an list of values in the array
|
from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Int16Array;
|
||||||
*/
|
}
|
||||||
values(): IterableIterator<number>;
|
|
||||||
}
|
interface Uint16Array {
|
||||||
|
[Symbol.iterator](): IterableIterator<number>;
|
||||||
interface Int16ArrayConstructor {
|
/**
|
||||||
new (elements: Iterable<number>): Int16Array;
|
* Returns an array of key, value pairs for every entry in the array
|
||||||
|
*/
|
||||||
/**
|
entries(): IterableIterator<[number, number]>;
|
||||||
* Creates an array from an array-like or iterable object.
|
/**
|
||||||
* @param arrayLike An array-like or iterable object to convert to an array.
|
* Returns an list of keys in the array
|
||||||
* @param mapfn A mapping function to call on every element of the array.
|
*/
|
||||||
* @param thisArg Value of 'this' used to invoke the mapfn.
|
keys(): IterableIterator<number>;
|
||||||
*/
|
/**
|
||||||
from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Int16Array;
|
* Returns an list of values in the array
|
||||||
}
|
*/
|
||||||
|
values(): IterableIterator<number>;
|
||||||
interface Uint16Array {
|
}
|
||||||
[Symbol.iterator](): IterableIterator<number>;
|
|
||||||
/**
|
interface Uint16ArrayConstructor {
|
||||||
* Returns an array of key, value pairs for every entry in the array
|
new (elements: Iterable<number>): Uint16Array;
|
||||||
*/
|
|
||||||
entries(): IterableIterator<[number, number]>;
|
/**
|
||||||
/**
|
* Creates an array from an array-like or iterable object.
|
||||||
* Returns an list of keys in the array
|
* @param arrayLike An array-like or iterable object to convert to an array.
|
||||||
*/
|
* @param mapfn A mapping function to call on every element of the array.
|
||||||
keys(): IterableIterator<number>;
|
* @param thisArg Value of 'this' used to invoke the mapfn.
|
||||||
/**
|
*/
|
||||||
* Returns an list of values in the array
|
from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint16Array;
|
||||||
*/
|
}
|
||||||
values(): IterableIterator<number>;
|
|
||||||
}
|
interface Int32Array {
|
||||||
|
[Symbol.iterator](): IterableIterator<number>;
|
||||||
interface Uint16ArrayConstructor {
|
/**
|
||||||
new (elements: Iterable<number>): Uint16Array;
|
* Returns an array of key, value pairs for every entry in the array
|
||||||
|
*/
|
||||||
/**
|
entries(): IterableIterator<[number, number]>;
|
||||||
* Creates an array from an array-like or iterable object.
|
/**
|
||||||
* @param arrayLike An array-like or iterable object to convert to an array.
|
* Returns an list of keys in the array
|
||||||
* @param mapfn A mapping function to call on every element of the array.
|
*/
|
||||||
* @param thisArg Value of 'this' used to invoke the mapfn.
|
keys(): IterableIterator<number>;
|
||||||
*/
|
/**
|
||||||
from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint16Array;
|
* Returns an list of values in the array
|
||||||
}
|
*/
|
||||||
|
values(): IterableIterator<number>;
|
||||||
interface Int32Array {
|
}
|
||||||
[Symbol.iterator](): IterableIterator<number>;
|
|
||||||
/**
|
interface Int32ArrayConstructor {
|
||||||
* Returns an array of key, value pairs for every entry in the array
|
new (elements: Iterable<number>): Int32Array;
|
||||||
*/
|
|
||||||
entries(): IterableIterator<[number, number]>;
|
/**
|
||||||
/**
|
* Creates an array from an array-like or iterable object.
|
||||||
* Returns an list of keys in the array
|
* @param arrayLike An array-like or iterable object to convert to an array.
|
||||||
*/
|
* @param mapfn A mapping function to call on every element of the array.
|
||||||
keys(): IterableIterator<number>;
|
* @param thisArg Value of 'this' used to invoke the mapfn.
|
||||||
/**
|
*/
|
||||||
* Returns an list of values in the array
|
from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Int32Array;
|
||||||
*/
|
}
|
||||||
values(): IterableIterator<number>;
|
|
||||||
}
|
interface Uint32Array {
|
||||||
|
[Symbol.iterator](): IterableIterator<number>;
|
||||||
interface Int32ArrayConstructor {
|
/**
|
||||||
new (elements: Iterable<number>): Int32Array;
|
* Returns an array of key, value pairs for every entry in the array
|
||||||
|
*/
|
||||||
/**
|
entries(): IterableIterator<[number, number]>;
|
||||||
* Creates an array from an array-like or iterable object.
|
/**
|
||||||
* @param arrayLike An array-like or iterable object to convert to an array.
|
* Returns an list of keys in the array
|
||||||
* @param mapfn A mapping function to call on every element of the array.
|
*/
|
||||||
* @param thisArg Value of 'this' used to invoke the mapfn.
|
keys(): IterableIterator<number>;
|
||||||
*/
|
/**
|
||||||
from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Int32Array;
|
* Returns an list of values in the array
|
||||||
}
|
*/
|
||||||
|
values(): IterableIterator<number>;
|
||||||
interface Uint32Array {
|
}
|
||||||
[Symbol.iterator](): IterableIterator<number>;
|
|
||||||
/**
|
interface Uint32ArrayConstructor {
|
||||||
* Returns an array of key, value pairs for every entry in the array
|
new (elements: Iterable<number>): Uint32Array;
|
||||||
*/
|
|
||||||
entries(): IterableIterator<[number, number]>;
|
/**
|
||||||
/**
|
* Creates an array from an array-like or iterable object.
|
||||||
* Returns an list of keys in the array
|
* @param arrayLike An array-like or iterable object to convert to an array.
|
||||||
*/
|
* @param mapfn A mapping function to call on every element of the array.
|
||||||
keys(): IterableIterator<number>;
|
* @param thisArg Value of 'this' used to invoke the mapfn.
|
||||||
/**
|
*/
|
||||||
* Returns an list of values in the array
|
from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint32Array;
|
||||||
*/
|
}
|
||||||
values(): IterableIterator<number>;
|
|
||||||
}
|
interface Float32Array {
|
||||||
|
[Symbol.iterator](): IterableIterator<number>;
|
||||||
interface Uint32ArrayConstructor {
|
/**
|
||||||
new (elements: Iterable<number>): Uint32Array;
|
* Returns an array of key, value pairs for every entry in the array
|
||||||
|
*/
|
||||||
/**
|
entries(): IterableIterator<[number, number]>;
|
||||||
* Creates an array from an array-like or iterable object.
|
/**
|
||||||
* @param arrayLike An array-like or iterable object to convert to an array.
|
* Returns an list of keys in the array
|
||||||
* @param mapfn A mapping function to call on every element of the array.
|
*/
|
||||||
* @param thisArg Value of 'this' used to invoke the mapfn.
|
keys(): IterableIterator<number>;
|
||||||
*/
|
/**
|
||||||
from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint32Array;
|
* Returns an list of values in the array
|
||||||
}
|
*/
|
||||||
|
values(): IterableIterator<number>;
|
||||||
interface Float32Array {
|
}
|
||||||
[Symbol.iterator](): IterableIterator<number>;
|
|
||||||
/**
|
interface Float32ArrayConstructor {
|
||||||
* Returns an array of key, value pairs for every entry in the array
|
new (elements: Iterable<number>): Float32Array;
|
||||||
*/
|
|
||||||
entries(): IterableIterator<[number, number]>;
|
/**
|
||||||
/**
|
* Creates an array from an array-like or iterable object.
|
||||||
* Returns an list of keys in the array
|
* @param arrayLike An array-like or iterable object to convert to an array.
|
||||||
*/
|
* @param mapfn A mapping function to call on every element of the array.
|
||||||
keys(): IterableIterator<number>;
|
* @param thisArg Value of 'this' used to invoke the mapfn.
|
||||||
/**
|
*/
|
||||||
* Returns an list of values in the array
|
from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Float32Array;
|
||||||
*/
|
}
|
||||||
values(): IterableIterator<number>;
|
|
||||||
}
|
interface Float64Array {
|
||||||
|
[Symbol.iterator](): IterableIterator<number>;
|
||||||
interface Float32ArrayConstructor {
|
/**
|
||||||
new (elements: Iterable<number>): Float32Array;
|
* Returns an array of key, value pairs for every entry in the array
|
||||||
|
*/
|
||||||
/**
|
entries(): IterableIterator<[number, number]>;
|
||||||
* Creates an array from an array-like or iterable object.
|
/**
|
||||||
* @param arrayLike An array-like or iterable object to convert to an array.
|
* Returns an list of keys in the array
|
||||||
* @param mapfn A mapping function to call on every element of the array.
|
*/
|
||||||
* @param thisArg Value of 'this' used to invoke the mapfn.
|
keys(): IterableIterator<number>;
|
||||||
*/
|
/**
|
||||||
from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Float32Array;
|
* Returns an list of values in the array
|
||||||
}
|
*/
|
||||||
|
values(): IterableIterator<number>;
|
||||||
interface Float64Array {
|
}
|
||||||
[Symbol.iterator](): IterableIterator<number>;
|
|
||||||
/**
|
interface Float64ArrayConstructor {
|
||||||
* Returns an array of key, value pairs for every entry in the array
|
new (elements: Iterable<number>): Float64Array;
|
||||||
*/
|
|
||||||
entries(): IterableIterator<[number, number]>;
|
/**
|
||||||
/**
|
* Creates an array from an array-like or iterable object.
|
||||||
* Returns an list of keys in the array
|
* @param arrayLike An array-like or iterable object to convert to an array.
|
||||||
*/
|
* @param mapfn A mapping function to call on every element of the array.
|
||||||
keys(): IterableIterator<number>;
|
* @param thisArg Value of 'this' used to invoke the mapfn.
|
||||||
/**
|
*/
|
||||||
* Returns an list of values in the array
|
from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Float64Array;
|
||||||
*/
|
}
|
||||||
values(): IterableIterator<number>;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface Float64ArrayConstructor {
|
|
||||||
new (elements: Iterable<number>): Float64Array;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Creates an array from an array-like or iterable object.
|
|
||||||
* @param arrayLike An array-like or iterable object to convert to an array.
|
|
||||||
* @param mapfn A mapping function to call on every element of the array.
|
|
||||||
* @param thisArg Value of 'this' used to invoke the mapfn.
|
|
||||||
*/
|
|
||||||
from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Float64Array;
|
|
||||||
}
|
|
||||||
|
207
node_modules/typescript/lib/lib.es2015.promise.d.ts
generated
vendored
207
node_modules/typescript/lib/lib.es2015.promise.d.ts
generated
vendored
@ -1,152 +1,81 @@
|
|||||||
/*! *****************************************************************************
|
/*! *****************************************************************************
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
and limitations under the License.
|
and limitations under the License.
|
||||||
***************************************************************************** */
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
/// <reference no-default-lib="true"/>
|
interface PromiseConstructor {
|
||||||
|
/**
|
||||||
|
* A reference to the prototype.
|
||||||
|
*/
|
||||||
|
readonly prototype: Promise<any>;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Creates a new Promise.
|
||||||
|
* @param executor A callback used to initialize the promise. This callback is passed two arguments:
|
||||||
|
* a resolve callback used to resolve the promise with a value or the result of another promise,
|
||||||
|
* and a reject callback used to reject the promise with a provided reason or error.
|
||||||
|
*/
|
||||||
|
new <T>(executor: (resolve: (value: T | PromiseLike<T>) => void, reject: (reason?: any) => void) => void): Promise<T>;
|
||||||
|
|
||||||
interface PromiseConstructor {
|
/**
|
||||||
/**
|
* Creates a Promise that is resolved with an array of results when all of the provided Promises
|
||||||
* A reference to the prototype.
|
* resolve, or rejected when any Promise is rejected.
|
||||||
*/
|
* @param values An array of Promises.
|
||||||
readonly prototype: Promise<any>;
|
* @returns A new Promise.
|
||||||
|
*/
|
||||||
/**
|
all<T extends readonly unknown[] | []>(values: T): Promise<{ -readonly [P in keyof T]: Awaited<T[P]>; }>;
|
||||||
* Creates a new Promise.
|
|
||||||
* @param executor A callback used to initialize the promise. This callback is passed two arguments:
|
// see: lib.es2015.iterable.d.ts
|
||||||
* a resolve callback used to resolve the promise with a value or the result of another promise,
|
// all<T>(values: Iterable<T | PromiseLike<T>>): Promise<Awaited<T>[]>;
|
||||||
* and a reject callback used to reject the promise with a provided reason or error.
|
|
||||||
*/
|
/**
|
||||||
new <T>(executor: (resolve: (value?: T | PromiseLike<T>) => void, reject: (reason?: any) => void) => void): Promise<T>;
|
* Creates a Promise that is resolved or rejected when any of the provided Promises are resolved
|
||||||
|
* or rejected.
|
||||||
/**
|
* @param values An array of Promises.
|
||||||
* Creates a Promise that is resolved with an array of results when all of the provided Promises
|
* @returns A new Promise.
|
||||||
* resolve, or rejected when any Promise is rejected.
|
*/
|
||||||
* @param values An array of Promises.
|
race<T extends readonly unknown[] | []>(values: T): Promise<Awaited<T[number]>>;
|
||||||
* @returns A new Promise.
|
|
||||||
*/
|
// see: lib.es2015.iterable.d.ts
|
||||||
all<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike <T4>, T5 | PromiseLike<T5>, T6 | PromiseLike<T6>, T7 | PromiseLike<T7>, T8 | PromiseLike<T8>, T9 | PromiseLike<T9>, T10 | PromiseLike<T10>]): Promise<[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10]>;
|
// race<T>(values: Iterable<T | PromiseLike<T>>): Promise<Awaited<T>>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a Promise that is resolved with an array of results when all of the provided Promises
|
* Creates a new rejected promise for the provided reason.
|
||||||
* resolve, or rejected when any Promise is rejected.
|
* @param reason The reason the promise was rejected.
|
||||||
* @param values An array of Promises.
|
* @returns A new rejected Promise.
|
||||||
* @returns A new Promise.
|
*/
|
||||||
*/
|
reject<T = never>(reason?: any): Promise<T>;
|
||||||
all<T1, T2, T3, T4, T5, T6, T7, T8, T9>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike <T4>, T5 | PromiseLike<T5>, T6 | PromiseLike<T6>, T7 | PromiseLike<T7>, T8 | PromiseLike<T8>, T9 | PromiseLike<T9>]): Promise<[T1, T2, T3, T4, T5, T6, T7, T8, T9]>;
|
|
||||||
|
/**
|
||||||
/**
|
* Creates a new resolved promise.
|
||||||
* Creates a Promise that is resolved with an array of results when all of the provided Promises
|
* @returns A resolved promise.
|
||||||
* resolve, or rejected when any Promise is rejected.
|
*/
|
||||||
* @param values An array of Promises.
|
resolve(): Promise<void>;
|
||||||
* @returns A new Promise.
|
/**
|
||||||
*/
|
* Creates a new resolved promise for the provided value.
|
||||||
all<T1, T2, T3, T4, T5, T6, T7, T8>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike <T4>, T5 | PromiseLike<T5>, T6 | PromiseLike<T6>, T7 | PromiseLike<T7>, T8 | PromiseLike<T8>]): Promise<[T1, T2, T3, T4, T5, T6, T7, T8]>;
|
* @param value A promise.
|
||||||
|
* @returns A promise whose internal state matches the provided promise.
|
||||||
/**
|
*/
|
||||||
* Creates a Promise that is resolved with an array of results when all of the provided Promises
|
resolve<T>(value: T): Promise<Awaited<T>>;
|
||||||
* resolve, or rejected when any Promise is rejected.
|
/**
|
||||||
* @param values An array of Promises.
|
* Creates a new resolved promise for the provided value.
|
||||||
* @returns A new Promise.
|
* @param value A promise.
|
||||||
*/
|
* @returns A promise whose internal state matches the provided promise.
|
||||||
all<T1, T2, T3, T4, T5, T6, T7>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike <T4>, T5 | PromiseLike<T5>, T6 | PromiseLike<T6>, T7 | PromiseLike<T7>]): Promise<[T1, T2, T3, T4, T5, T6, T7]>;
|
*/
|
||||||
|
resolve<T>(value: T | PromiseLike<T>): Promise<Awaited<T>>;
|
||||||
/**
|
}
|
||||||
* Creates a Promise that is resolved with an array of results when all of the provided Promises
|
|
||||||
* resolve, or rejected when any Promise is rejected.
|
declare var Promise: PromiseConstructor;
|
||||||
* @param values An array of Promises.
|
|
||||||
* @returns A new Promise.
|
|
||||||
*/
|
|
||||||
all<T1, T2, T3, T4, T5, T6>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike <T4>, T5 | PromiseLike<T5>, T6 | PromiseLike<T6>]): Promise<[T1, T2, T3, T4, T5, T6]>;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Creates a Promise that is resolved with an array of results when all of the provided Promises
|
|
||||||
* resolve, or rejected when any Promise is rejected.
|
|
||||||
* @param values An array of Promises.
|
|
||||||
* @returns A new Promise.
|
|
||||||
*/
|
|
||||||
all<T1, T2, T3, T4, T5>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike <T4>, T5 | PromiseLike<T5>]): Promise<[T1, T2, T3, T4, T5]>;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Creates a Promise that is resolved with an array of results when all of the provided Promises
|
|
||||||
* resolve, or rejected when any Promise is rejected.
|
|
||||||
* @param values An array of Promises.
|
|
||||||
* @returns A new Promise.
|
|
||||||
*/
|
|
||||||
all<T1, T2, T3, T4>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike <T4>]): Promise<[T1, T2, T3, T4]>;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Creates a Promise that is resolved with an array of results when all of the provided Promises
|
|
||||||
* resolve, or rejected when any Promise is rejected.
|
|
||||||
* @param values An array of Promises.
|
|
||||||
* @returns A new Promise.
|
|
||||||
*/
|
|
||||||
all<T1, T2, T3>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>]): Promise<[T1, T2, T3]>;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Creates a Promise that is resolved with an array of results when all of the provided Promises
|
|
||||||
* resolve, or rejected when any Promise is rejected.
|
|
||||||
* @param values An array of Promises.
|
|
||||||
* @returns A new Promise.
|
|
||||||
*/
|
|
||||||
all<T1, T2>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>]): Promise<[T1, T2]>;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Creates a Promise that is resolved with an array of results when all of the provided Promises
|
|
||||||
* resolve, or rejected when any Promise is rejected.
|
|
||||||
* @param values An array of Promises.
|
|
||||||
* @returns A new Promise.
|
|
||||||
*/
|
|
||||||
all<T>(values: readonly (T | PromiseLike<T>)[]): Promise<T[]>;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Creates a Promise that is resolved or rejected when any of the provided Promises are resolved
|
|
||||||
* or rejected.
|
|
||||||
* @param values An array of Promises.
|
|
||||||
* @returns A new Promise.
|
|
||||||
*/
|
|
||||||
race<T>(values: readonly T[]): Promise<T extends PromiseLike<infer U> ? U : T>;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Creates a Promise that is resolved or rejected when any of the provided Promises are resolved
|
|
||||||
* or rejected.
|
|
||||||
* @param values An iterable of Promises.
|
|
||||||
* @returns A new Promise.
|
|
||||||
*/
|
|
||||||
race<T>(values: Iterable<T>): Promise<T extends PromiseLike<infer U> ? U : T>;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Creates a new rejected promise for the provided reason.
|
|
||||||
* @param reason The reason the promise was rejected.
|
|
||||||
* @returns A new rejected Promise.
|
|
||||||
*/
|
|
||||||
reject<T = never>(reason?: any): Promise<T>;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Creates a new resolved promise for the provided value.
|
|
||||||
* @param value A promise.
|
|
||||||
* @returns A promise whose internal state matches the provided promise.
|
|
||||||
*/
|
|
||||||
resolve<T>(value: T | PromiseLike<T>): Promise<T>;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Creates a new resolved promise .
|
|
||||||
* @returns A resolved promise.
|
|
||||||
*/
|
|
||||||
resolve(): Promise<void>;
|
|
||||||
}
|
|
||||||
|
|
||||||
declare var Promise: PromiseConstructor;
|
|
||||||
|
144
node_modules/typescript/lib/lib.es2015.proxy.d.ts
generated
vendored
144
node_modules/typescript/lib/lib.es2015.proxy.d.ts
generated
vendored
@ -1,42 +1,128 @@
|
|||||||
/*! *****************************************************************************
|
/*! *****************************************************************************
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
and limitations under the License.
|
and limitations under the License.
|
||||||
***************************************************************************** */
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
/// <reference no-default-lib="true"/>
|
interface ProxyHandler<T extends object> {
|
||||||
|
/**
|
||||||
|
* A trap method for a function call.
|
||||||
|
* @param target The original callable object which is being proxied.
|
||||||
|
*/
|
||||||
|
apply?(target: T, thisArg: any, argArray: any[]): any;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A trap for the `new` operator.
|
||||||
|
* @param target The original object which is being proxied.
|
||||||
|
* @param newTarget The constructor that was originally called.
|
||||||
|
*/
|
||||||
|
construct?(target: T, argArray: any[], newTarget: Function): object;
|
||||||
|
|
||||||
interface ProxyHandler<T extends object> {
|
/**
|
||||||
getPrototypeOf? (target: T): object | null;
|
* A trap for `Object.defineProperty()`.
|
||||||
setPrototypeOf? (target: T, v: any): boolean;
|
* @param target The original object which is being proxied.
|
||||||
isExtensible? (target: T): boolean;
|
* @returns A `Boolean` indicating whether or not the property has been defined.
|
||||||
preventExtensions? (target: T): boolean;
|
*/
|
||||||
getOwnPropertyDescriptor? (target: T, p: PropertyKey): PropertyDescriptor | undefined;
|
defineProperty?(target: T, property: string | symbol, attributes: PropertyDescriptor): boolean;
|
||||||
has? (target: T, p: PropertyKey): boolean;
|
|
||||||
get? (target: T, p: PropertyKey, receiver: any): any;
|
/**
|
||||||
set? (target: T, p: PropertyKey, value: any, receiver: any): boolean;
|
* A trap for the `delete` operator.
|
||||||
deleteProperty? (target: T, p: PropertyKey): boolean;
|
* @param target The original object which is being proxied.
|
||||||
defineProperty? (target: T, p: PropertyKey, attributes: PropertyDescriptor): boolean;
|
* @param p The name or `Symbol` of the property to delete.
|
||||||
enumerate? (target: T): PropertyKey[];
|
* @returns A `Boolean` indicating whether or not the property was deleted.
|
||||||
ownKeys? (target: T): PropertyKey[];
|
*/
|
||||||
apply? (target: T, thisArg: any, argArray?: any): any;
|
deleteProperty?(target: T, p: string | symbol): boolean;
|
||||||
construct? (target: T, argArray: any, newTarget?: any): object;
|
|
||||||
}
|
/**
|
||||||
|
* A trap for getting a property value.
|
||||||
interface ProxyConstructor {
|
* @param target The original object which is being proxied.
|
||||||
revocable<T extends object>(target: T, handler: ProxyHandler<T>): { proxy: T; revoke: () => void; };
|
* @param p The name or `Symbol` of the property to get.
|
||||||
new <T extends object>(target: T, handler: ProxyHandler<T>): T;
|
* @param receiver The proxy or an object that inherits from the proxy.
|
||||||
}
|
*/
|
||||||
declare var Proxy: ProxyConstructor;
|
get?(target: T, p: string | symbol, receiver: any): any;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A trap for `Object.getOwnPropertyDescriptor()`.
|
||||||
|
* @param target The original object which is being proxied.
|
||||||
|
* @param p The name of the property whose description should be retrieved.
|
||||||
|
*/
|
||||||
|
getOwnPropertyDescriptor?(target: T, p: string | symbol): PropertyDescriptor | undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A trap for the `[[GetPrototypeOf]]` internal method.
|
||||||
|
* @param target The original object which is being proxied.
|
||||||
|
*/
|
||||||
|
getPrototypeOf?(target: T): object | null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A trap for the `in` operator.
|
||||||
|
* @param target The original object which is being proxied.
|
||||||
|
* @param p The name or `Symbol` of the property to check for existence.
|
||||||
|
*/
|
||||||
|
has?(target: T, p: string | symbol): boolean;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A trap for `Object.isExtensible()`.
|
||||||
|
* @param target The original object which is being proxied.
|
||||||
|
*/
|
||||||
|
isExtensible?(target: T): boolean;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A trap for `Reflect.ownKeys()`.
|
||||||
|
* @param target The original object which is being proxied.
|
||||||
|
*/
|
||||||
|
ownKeys?(target: T): ArrayLike<string | symbol>;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A trap for `Object.preventExtensions()`.
|
||||||
|
* @param target The original object which is being proxied.
|
||||||
|
*/
|
||||||
|
preventExtensions?(target: T): boolean;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A trap for setting a property value.
|
||||||
|
* @param target The original object which is being proxied.
|
||||||
|
* @param p The name or `Symbol` of the property to set.
|
||||||
|
* @param receiver The object to which the assignment was originally directed.
|
||||||
|
* @returns A `Boolean` indicating whether or not the property was set.
|
||||||
|
*/
|
||||||
|
set?(target: T, p: string | symbol, newValue: any, receiver: any): boolean;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A trap for `Object.setPrototypeOf()`.
|
||||||
|
* @param target The original object which is being proxied.
|
||||||
|
* @param newPrototype The object's new prototype or `null`.
|
||||||
|
*/
|
||||||
|
setPrototypeOf?(target: T, v: object | null): boolean;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface ProxyConstructor {
|
||||||
|
/**
|
||||||
|
* Creates a revocable Proxy object.
|
||||||
|
* @param target A target object to wrap with Proxy.
|
||||||
|
* @param handler An object whose properties define the behavior of Proxy when an operation is attempted on it.
|
||||||
|
*/
|
||||||
|
revocable<T extends object>(target: T, handler: ProxyHandler<T>): { proxy: T; revoke: () => void; };
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Creates a Proxy object. The Proxy object allows you to create an object that can be used in place of the
|
||||||
|
* original object, but which may redefine fundamental Object operations like getting, setting, and defining
|
||||||
|
* properties. Proxy objects are commonly used to log property accesses, validate, format, or sanitize inputs.
|
||||||
|
* @param target A target object to wrap with Proxy.
|
||||||
|
* @param handler An object whose properties define the behavior of Proxy when an operation is attempted on it.
|
||||||
|
*/
|
||||||
|
new <T extends object>(target: T, handler: ProxyHandler<T>): T;
|
||||||
|
}
|
||||||
|
declare var Proxy: ProxyConstructor;
|
||||||
|
153
node_modules/typescript/lib/lib.es2015.reflect.d.ts
generated
vendored
153
node_modules/typescript/lib/lib.es2015.reflect.d.ts
generated
vendored
@ -1,35 +1,144 @@
|
|||||||
/*! *****************************************************************************
|
/*! *****************************************************************************
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
and limitations under the License.
|
and limitations under the License.
|
||||||
***************************************************************************** */
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
/// <reference no-default-lib="true"/>
|
declare namespace Reflect {
|
||||||
|
/**
|
||||||
|
* Calls the function with the specified object as the this value
|
||||||
|
* and the elements of specified array as the arguments.
|
||||||
|
* @param target The function to call.
|
||||||
|
* @param thisArgument The object to be used as the this object.
|
||||||
|
* @param argumentsList An array of argument values to be passed to the function.
|
||||||
|
*/
|
||||||
|
function apply<T, A extends readonly any[], R>(
|
||||||
|
target: (this: T, ...args: A) => R,
|
||||||
|
thisArgument: T,
|
||||||
|
argumentsList: Readonly<A>,
|
||||||
|
): R;
|
||||||
|
function apply(target: Function, thisArgument: any, argumentsList: ArrayLike<any>): any;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructs the target with the elements of specified array as the arguments
|
||||||
|
* and the specified constructor as the `new.target` value.
|
||||||
|
* @param target The constructor to invoke.
|
||||||
|
* @param argumentsList An array of argument values to be passed to the constructor.
|
||||||
|
* @param newTarget The constructor to be used as the `new.target` object.
|
||||||
|
*/
|
||||||
|
function construct<A extends readonly any[], R>(
|
||||||
|
target: new (...args: A) => R,
|
||||||
|
argumentsList: Readonly<A>,
|
||||||
|
newTarget?: new (...args: any) => any,
|
||||||
|
): R;
|
||||||
|
function construct(target: Function, argumentsList: ArrayLike<any>, newTarget?: Function): any;
|
||||||
|
|
||||||
declare namespace Reflect {
|
/**
|
||||||
function apply(target: Function, thisArgument: any, argumentsList: ArrayLike<any>): any;
|
* Adds a property to an object, or modifies attributes of an existing property.
|
||||||
function construct(target: Function, argumentsList: ArrayLike<any>, newTarget?: any): any;
|
* @param target Object on which to add or modify the property. This can be a native JavaScript object
|
||||||
function defineProperty(target: object, propertyKey: PropertyKey, attributes: PropertyDescriptor): boolean;
|
* (that is, a user-defined object or a built in object) or a DOM object.
|
||||||
function deleteProperty(target: object, propertyKey: PropertyKey): boolean;
|
* @param propertyKey The property name.
|
||||||
function get(target: object, propertyKey: PropertyKey, receiver?: any): any;
|
* @param attributes Descriptor for the property. It can be for a data property or an accessor property.
|
||||||
function getOwnPropertyDescriptor(target: object, propertyKey: PropertyKey): PropertyDescriptor | undefined;
|
*/
|
||||||
function getPrototypeOf(target: object): object;
|
function defineProperty(target: object, propertyKey: PropertyKey, attributes: PropertyDescriptor & ThisType<any>): boolean;
|
||||||
function has(target: object, propertyKey: PropertyKey): boolean;
|
|
||||||
function isExtensible(target: object): boolean;
|
/**
|
||||||
function ownKeys(target: object): PropertyKey[];
|
* Removes a property from an object, equivalent to `delete target[propertyKey]`,
|
||||||
function preventExtensions(target: object): boolean;
|
* except it won't throw if `target[propertyKey]` is non-configurable.
|
||||||
function set(target: object, propertyKey: PropertyKey, value: any, receiver?: any): boolean;
|
* @param target Object from which to remove the own property.
|
||||||
function setPrototypeOf(target: object, proto: any): boolean;
|
* @param propertyKey The property name.
|
||||||
}
|
*/
|
||||||
|
function deleteProperty(target: object, propertyKey: PropertyKey): boolean;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the property of target, equivalent to `target[propertyKey]` when `receiver === target`.
|
||||||
|
* @param target Object that contains the property on itself or in its prototype chain.
|
||||||
|
* @param propertyKey The property name.
|
||||||
|
* @param receiver The reference to use as the `this` value in the getter function,
|
||||||
|
* if `target[propertyKey]` is an accessor property.
|
||||||
|
*/
|
||||||
|
function get<T extends object, P extends PropertyKey>(
|
||||||
|
target: T,
|
||||||
|
propertyKey: P,
|
||||||
|
receiver?: unknown,
|
||||||
|
): P extends keyof T ? T[P] : any;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the own property descriptor of the specified object.
|
||||||
|
* An own property descriptor is one that is defined directly on the object and is not inherited from the object's prototype.
|
||||||
|
* @param target Object that contains the property.
|
||||||
|
* @param propertyKey The property name.
|
||||||
|
*/
|
||||||
|
function getOwnPropertyDescriptor<T extends object, P extends PropertyKey>(
|
||||||
|
target: T,
|
||||||
|
propertyKey: P,
|
||||||
|
): TypedPropertyDescriptor<P extends keyof T ? T[P] : any> | undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the prototype of an object.
|
||||||
|
* @param target The object that references the prototype.
|
||||||
|
*/
|
||||||
|
function getPrototypeOf(target: object): object | null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Equivalent to `propertyKey in target`.
|
||||||
|
* @param target Object that contains the property on itself or in its prototype chain.
|
||||||
|
* @param propertyKey Name of the property.
|
||||||
|
*/
|
||||||
|
function has(target: object, propertyKey: PropertyKey): boolean;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns a value that indicates whether new properties can be added to an object.
|
||||||
|
* @param target Object to test.
|
||||||
|
*/
|
||||||
|
function isExtensible(target: object): boolean;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the string and symbol keys of the own properties of an object. The own properties of an object
|
||||||
|
* are those that are defined directly on that object, and are not inherited from the object's prototype.
|
||||||
|
* @param target Object that contains the own properties.
|
||||||
|
*/
|
||||||
|
function ownKeys(target: object): (string | symbol)[];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Prevents the addition of new properties to an object.
|
||||||
|
* @param target Object to make non-extensible.
|
||||||
|
* @return Whether the object has been made non-extensible.
|
||||||
|
*/
|
||||||
|
function preventExtensions(target: object): boolean;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets the property of target, equivalent to `target[propertyKey] = value` when `receiver === target`.
|
||||||
|
* @param target Object that contains the property on itself or in its prototype chain.
|
||||||
|
* @param propertyKey Name of the property.
|
||||||
|
* @param receiver The reference to use as the `this` value in the setter function,
|
||||||
|
* if `target[propertyKey]` is an accessor property.
|
||||||
|
*/
|
||||||
|
function set<T extends object, P extends PropertyKey>(
|
||||||
|
target: T,
|
||||||
|
propertyKey: P,
|
||||||
|
value: P extends keyof T ? T[P] : any,
|
||||||
|
receiver?: any,
|
||||||
|
): boolean;
|
||||||
|
function set(target: object, propertyKey: PropertyKey, value: any, receiver?: any): boolean;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets the prototype of a specified object o to object proto or null.
|
||||||
|
* @param target The object to change its prototype.
|
||||||
|
* @param proto The value of the new prototype or null.
|
||||||
|
* @return Whether setting the prototype was successful.
|
||||||
|
*/
|
||||||
|
function setPrototypeOf(target: object, proto: object | null): boolean;
|
||||||
|
}
|
||||||
|
68
node_modules/typescript/lib/lib.es2015.symbol.d.ts
generated
vendored
68
node_modules/typescript/lib/lib.es2015.symbol.d.ts
generated
vendored
@ -1,48 +1,46 @@
|
|||||||
/*! *****************************************************************************
|
/*! *****************************************************************************
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
and limitations under the License.
|
and limitations under the License.
|
||||||
***************************************************************************** */
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
/// <reference no-default-lib="true"/>
|
interface SymbolConstructor {
|
||||||
|
/**
|
||||||
|
* A reference to the prototype.
|
||||||
|
*/
|
||||||
|
readonly prototype: Symbol;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns a new unique Symbol value.
|
||||||
|
* @param description Description of the new Symbol object.
|
||||||
|
*/
|
||||||
|
(description?: string | number): symbol;
|
||||||
|
|
||||||
interface SymbolConstructor {
|
/**
|
||||||
/**
|
* Returns a Symbol object from the global symbol registry matching the given key if found.
|
||||||
* A reference to the prototype.
|
* Otherwise, returns a new symbol with this key.
|
||||||
*/
|
* @param key key to search for.
|
||||||
readonly prototype: Symbol;
|
*/
|
||||||
|
for(key: string): symbol;
|
||||||
/**
|
|
||||||
* Returns a new unique Symbol value.
|
/**
|
||||||
* @param description Description of the new Symbol object.
|
* Returns a key from the global symbol registry matching the given Symbol if found.
|
||||||
*/
|
* Otherwise, returns a undefined.
|
||||||
(description?: string | number): symbol;
|
* @param sym Symbol to find the key for.
|
||||||
|
*/
|
||||||
/**
|
keyFor(sym: symbol): string | undefined;
|
||||||
* Returns a Symbol object from the global symbol registry matching the given key if found.
|
}
|
||||||
* Otherwise, returns a new symbol with this key.
|
|
||||||
* @param key key to search for.
|
declare var Symbol: SymbolConstructor;
|
||||||
*/
|
|
||||||
for(key: string): symbol;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns a key from the global symbol registry matching the given Symbol if found.
|
|
||||||
* Otherwise, returns a undefined.
|
|
||||||
* @param sym Symbol to find the key for.
|
|
||||||
*/
|
|
||||||
keyFor(sym: symbol): string | undefined;
|
|
||||||
}
|
|
||||||
|
|
||||||
declare var Symbol: SymbolConstructor;
|
|
||||||
|
618
node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts
generated
vendored
618
node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts
generated
vendored
@ -1,318 +1,326 @@
|
|||||||
/*! *****************************************************************************
|
/*! *****************************************************************************
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
and limitations under the License.
|
and limitations under the License.
|
||||||
***************************************************************************** */
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
/// <reference no-default-lib="true"/>
|
/// <reference lib="es2015.symbol" />
|
||||||
|
|
||||||
|
interface SymbolConstructor {
|
||||||
|
/**
|
||||||
|
* A method that determines if a constructor object recognizes an object as one of the
|
||||||
|
* constructor’s instances. Called by the semantics of the instanceof operator.
|
||||||
|
*/
|
||||||
|
readonly hasInstance: unique symbol;
|
||||||
|
|
||||||
/// <reference lib="es2015.symbol" />
|
/**
|
||||||
|
* A Boolean value that if true indicates that an object should flatten to its array elements
|
||||||
interface SymbolConstructor {
|
* by Array.prototype.concat.
|
||||||
/**
|
*/
|
||||||
* A method that determines if a constructor object recognizes an object as one of the
|
readonly isConcatSpreadable: unique symbol;
|
||||||
* constructor’s instances. Called by the semantics of the instanceof operator.
|
|
||||||
*/
|
/**
|
||||||
readonly hasInstance: symbol;
|
* A regular expression method that matches the regular expression against a string. Called
|
||||||
|
* by the String.prototype.match method.
|
||||||
/**
|
*/
|
||||||
* A Boolean value that if true indicates that an object should flatten to its array elements
|
readonly match: unique symbol;
|
||||||
* by Array.prototype.concat.
|
|
||||||
*/
|
/**
|
||||||
readonly isConcatSpreadable: symbol;
|
* A regular expression method that replaces matched substrings of a string. Called by the
|
||||||
|
* String.prototype.replace method.
|
||||||
/**
|
*/
|
||||||
* A regular expression method that matches the regular expression against a string. Called
|
readonly replace: unique symbol;
|
||||||
* by the String.prototype.match method.
|
|
||||||
*/
|
/**
|
||||||
readonly match: symbol;
|
* A regular expression method that returns the index within a string that matches the
|
||||||
|
* regular expression. Called by the String.prototype.search method.
|
||||||
/**
|
*/
|
||||||
* A regular expression method that replaces matched substrings of a string. Called by the
|
readonly search: unique symbol;
|
||||||
* String.prototype.replace method.
|
|
||||||
*/
|
/**
|
||||||
readonly replace: symbol;
|
* A function valued property that is the constructor function that is used to create
|
||||||
|
* derived objects.
|
||||||
/**
|
*/
|
||||||
* A regular expression method that returns the index within a string that matches the
|
readonly species: unique symbol;
|
||||||
* regular expression. Called by the String.prototype.search method.
|
|
||||||
*/
|
/**
|
||||||
readonly search: symbol;
|
* A regular expression method that splits a string at the indices that match the regular
|
||||||
|
* expression. Called by the String.prototype.split method.
|
||||||
/**
|
*/
|
||||||
* A function valued property that is the constructor function that is used to create
|
readonly split: unique symbol;
|
||||||
* derived objects.
|
|
||||||
*/
|
/**
|
||||||
readonly species: symbol;
|
* A method that converts an object to a corresponding primitive value.
|
||||||
|
* Called by the ToPrimitive abstract operation.
|
||||||
/**
|
*/
|
||||||
* A regular expression method that splits a string at the indices that match the regular
|
readonly toPrimitive: unique symbol;
|
||||||
* expression. Called by the String.prototype.split method.
|
|
||||||
*/
|
/**
|
||||||
readonly split: symbol;
|
* A String value that is used in the creation of the default string description of an object.
|
||||||
|
* Called by the built-in method Object.prototype.toString.
|
||||||
/**
|
*/
|
||||||
* A method that converts an object to a corresponding primitive value.
|
readonly toStringTag: unique symbol;
|
||||||
* Called by the ToPrimitive abstract operation.
|
|
||||||
*/
|
/**
|
||||||
readonly toPrimitive: symbol;
|
* An Object whose truthy properties are properties that are excluded from the 'with'
|
||||||
|
* environment bindings of the associated objects.
|
||||||
/**
|
*/
|
||||||
* A String value that is used in the creation of the default string description of an object.
|
readonly unscopables: unique symbol;
|
||||||
* Called by the built-in method Object.prototype.toString.
|
}
|
||||||
*/
|
|
||||||
readonly toStringTag: symbol;
|
interface Symbol {
|
||||||
|
/**
|
||||||
/**
|
* Converts a Symbol object to a symbol.
|
||||||
* An Object whose own property names are property names that are excluded from the 'with'
|
*/
|
||||||
* environment bindings of the associated objects.
|
[Symbol.toPrimitive](hint: string): symbol;
|
||||||
*/
|
|
||||||
readonly unscopables: symbol;
|
readonly [Symbol.toStringTag]: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface Symbol {
|
interface Array<T> {
|
||||||
readonly [Symbol.toStringTag]: string;
|
/**
|
||||||
}
|
* Is an object whose properties have the value 'true'
|
||||||
|
* when they will be absent when used in a 'with' statement.
|
||||||
interface Array<T> {
|
*/
|
||||||
/**
|
readonly [Symbol.unscopables]: {
|
||||||
* Returns an object whose properties have the value 'true'
|
[K in keyof any[]]?: boolean;
|
||||||
* when they will be absent when used in a 'with' statement.
|
};
|
||||||
*/
|
}
|
||||||
[Symbol.unscopables](): {
|
|
||||||
copyWithin: boolean;
|
interface ReadonlyArray<T> {
|
||||||
entries: boolean;
|
/**
|
||||||
fill: boolean;
|
* Is an object whose properties have the value 'true'
|
||||||
find: boolean;
|
* when they will be absent when used in a 'with' statement.
|
||||||
findIndex: boolean;
|
*/
|
||||||
keys: boolean;
|
readonly [Symbol.unscopables]: {
|
||||||
values: boolean;
|
[K in keyof readonly any[]]?: boolean;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
interface Date {
|
interface Date {
|
||||||
/**
|
/**
|
||||||
* Converts a Date object to a string.
|
* Converts a Date object to a string.
|
||||||
*/
|
*/
|
||||||
[Symbol.toPrimitive](hint: "default"): string;
|
[Symbol.toPrimitive](hint: "default"): string;
|
||||||
/**
|
/**
|
||||||
* Converts a Date object to a string.
|
* Converts a Date object to a string.
|
||||||
*/
|
*/
|
||||||
[Symbol.toPrimitive](hint: "string"): string;
|
[Symbol.toPrimitive](hint: "string"): string;
|
||||||
/**
|
/**
|
||||||
* Converts a Date object to a number.
|
* Converts a Date object to a number.
|
||||||
*/
|
*/
|
||||||
[Symbol.toPrimitive](hint: "number"): number;
|
[Symbol.toPrimitive](hint: "number"): number;
|
||||||
/**
|
/**
|
||||||
* Converts a Date object to a string or number.
|
* Converts a Date object to a string or number.
|
||||||
*
|
*
|
||||||
* @param hint The strings "number", "string", or "default" to specify what primitive to return.
|
* @param hint The strings "number", "string", or "default" to specify what primitive to return.
|
||||||
*
|
*
|
||||||
* @throws {TypeError} If 'hint' was given something other than "number", "string", or "default".
|
* @throws {TypeError} If 'hint' was given something other than "number", "string", or "default".
|
||||||
* @returns A number if 'hint' was "number", a string if 'hint' was "string" or "default".
|
* @returns A number if 'hint' was "number", a string if 'hint' was "string" or "default".
|
||||||
*/
|
*/
|
||||||
[Symbol.toPrimitive](hint: string): string | number;
|
[Symbol.toPrimitive](hint: string): string | number;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface Map<K, V> {
|
interface Map<K, V> {
|
||||||
readonly [Symbol.toStringTag]: string;
|
readonly [Symbol.toStringTag]: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface WeakMap<K extends object, V> {
|
interface WeakMap<K extends WeakKey, V> {
|
||||||
readonly [Symbol.toStringTag]: string;
|
readonly [Symbol.toStringTag]: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface Set<T> {
|
interface Set<T> {
|
||||||
readonly [Symbol.toStringTag]: string;
|
readonly [Symbol.toStringTag]: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface WeakSet<T extends object> {
|
interface WeakSet<T extends WeakKey> {
|
||||||
readonly [Symbol.toStringTag]: string;
|
readonly [Symbol.toStringTag]: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface JSON {
|
interface JSON {
|
||||||
readonly [Symbol.toStringTag]: string;
|
readonly [Symbol.toStringTag]: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface Function {
|
interface Function {
|
||||||
/**
|
/**
|
||||||
* Determines whether the given value inherits from this function if this function was used
|
* Determines whether the given value inherits from this function if this function was used
|
||||||
* as a constructor function.
|
* as a constructor function.
|
||||||
*
|
*
|
||||||
* A constructor function can control which objects are recognized as its instances by
|
* A constructor function can control which objects are recognized as its instances by
|
||||||
* 'instanceof' by overriding this method.
|
* 'instanceof' by overriding this method.
|
||||||
*/
|
*/
|
||||||
[Symbol.hasInstance](value: any): boolean;
|
[Symbol.hasInstance](value: any): boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface GeneratorFunction {
|
interface GeneratorFunction {
|
||||||
readonly [Symbol.toStringTag]: string;
|
readonly [Symbol.toStringTag]: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface Math {
|
interface Math {
|
||||||
readonly [Symbol.toStringTag]: string;
|
readonly [Symbol.toStringTag]: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface Promise<T> {
|
interface Promise<T> {
|
||||||
readonly [Symbol.toStringTag]: string;
|
readonly [Symbol.toStringTag]: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface PromiseConstructor {
|
interface PromiseConstructor {
|
||||||
readonly [Symbol.species]: PromiseConstructor;
|
readonly [Symbol.species]: PromiseConstructor;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface RegExp {
|
interface RegExp {
|
||||||
/**
|
/**
|
||||||
* Matches a string with this regular expression, and returns an array containing the results of
|
* Matches a string with this regular expression, and returns an array containing the results of
|
||||||
* that search.
|
* that search.
|
||||||
* @param string A string to search within.
|
* @param string A string to search within.
|
||||||
*/
|
*/
|
||||||
[Symbol.match](string: string): RegExpMatchArray | null;
|
[Symbol.match](string: string): RegExpMatchArray | null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Replaces text in a string, using this regular expression.
|
* Replaces text in a string, using this regular expression.
|
||||||
* @param string A String object or string literal whose contents matching against
|
* @param string A String object or string literal whose contents matching against
|
||||||
* this regular expression will be replaced
|
* this regular expression will be replaced
|
||||||
* @param replaceValue A String object or string literal containing the text to replace for every
|
* @param replaceValue A String object or string literal containing the text to replace for every
|
||||||
* successful match of this regular expression.
|
* successful match of this regular expression.
|
||||||
*/
|
*/
|
||||||
[Symbol.replace](string: string, replaceValue: string): string;
|
[Symbol.replace](string: string, replaceValue: string): string;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Replaces text in a string, using this regular expression.
|
* Replaces text in a string, using this regular expression.
|
||||||
* @param string A String object or string literal whose contents matching against
|
* @param string A String object or string literal whose contents matching against
|
||||||
* this regular expression will be replaced
|
* this regular expression will be replaced
|
||||||
* @param replacer A function that returns the replacement text.
|
* @param replacer A function that returns the replacement text.
|
||||||
*/
|
*/
|
||||||
[Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string;
|
[Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Finds the position beginning first substring match in a regular expression search
|
* Finds the position beginning first substring match in a regular expression search
|
||||||
* using this regular expression.
|
* using this regular expression.
|
||||||
*
|
*
|
||||||
* @param string The string to search within.
|
* @param string The string to search within.
|
||||||
*/
|
*/
|
||||||
[Symbol.search](string: string): number;
|
[Symbol.search](string: string): number;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns an array of substrings that were delimited by strings in the original input that
|
* Returns an array of substrings that were delimited by strings in the original input that
|
||||||
* match against this regular expression.
|
* match against this regular expression.
|
||||||
*
|
*
|
||||||
* If the regular expression contains capturing parentheses, then each time this
|
* If the regular expression contains capturing parentheses, then each time this
|
||||||
* regular expression matches, the results (including any undefined results) of the
|
* regular expression matches, the results (including any undefined results) of the
|
||||||
* capturing parentheses are spliced.
|
* capturing parentheses are spliced.
|
||||||
*
|
*
|
||||||
* @param string string value to split
|
* @param string string value to split
|
||||||
* @param limit if not undefined, the output array is truncated so that it contains no more
|
* @param limit if not undefined, the output array is truncated so that it contains no more
|
||||||
* than 'limit' elements.
|
* than 'limit' elements.
|
||||||
*/
|
*/
|
||||||
[Symbol.split](string: string, limit?: number): string[];
|
[Symbol.split](string: string, limit?: number): string[];
|
||||||
}
|
}
|
||||||
|
|
||||||
interface RegExpConstructor {
|
interface RegExpConstructor {
|
||||||
readonly [Symbol.species]: RegExpConstructor;
|
readonly [Symbol.species]: RegExpConstructor;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface String {
|
interface String {
|
||||||
/**
|
/**
|
||||||
* Matches a string an object that supports being matched against, and returns an array containing the results of that search.
|
* Matches a string or an object that supports being matched against, and returns an array
|
||||||
* @param matcher An object that supports being matched against.
|
* containing the results of that search, or null if no matches are found.
|
||||||
*/
|
* @param matcher An object that supports being matched against.
|
||||||
match(matcher: { [Symbol.match](string: string): RegExpMatchArray | null; }): RegExpMatchArray | null;
|
*/
|
||||||
|
match(matcher: { [Symbol.match](string: string): RegExpMatchArray | null; }): RegExpMatchArray | null;
|
||||||
/**
|
|
||||||
* Replaces text in a string, using an object that supports replacement within a string.
|
/**
|
||||||
* @param searchValue A object can search for and replace matches within a string.
|
* Passes a string and {@linkcode replaceValue} to the `[Symbol.replace]` method on {@linkcode searchValue}. This method is expected to implement its own replacement algorithm.
|
||||||
* @param replaceValue A string containing the text to replace for every successful match of searchValue in this string.
|
* @param searchValue An object that supports searching for and replacing matches within a string.
|
||||||
*/
|
* @param replaceValue The replacement text.
|
||||||
replace(searchValue: { [Symbol.replace](string: string, replaceValue: string): string; }, replaceValue: string): string;
|
*/
|
||||||
|
replace(searchValue: { [Symbol.replace](string: string, replaceValue: string): string; }, replaceValue: string): string;
|
||||||
/**
|
|
||||||
* Replaces text in a string, using an object that supports replacement within a string.
|
/**
|
||||||
* @param searchValue A object can search for and replace matches within a string.
|
* Replaces text in a string, using an object that supports replacement within a string.
|
||||||
* @param replacer A function that returns the replacement text.
|
* @param searchValue A object can search for and replace matches within a string.
|
||||||
*/
|
* @param replacer A function that returns the replacement text.
|
||||||
replace(searchValue: { [Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string; }, replacer: (substring: string, ...args: any[]) => string): string;
|
*/
|
||||||
|
replace(searchValue: { [Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string; }, replacer: (substring: string, ...args: any[]) => string): string;
|
||||||
/**
|
|
||||||
* Finds the first substring match in a regular expression search.
|
/**
|
||||||
* @param searcher An object which supports searching within a string.
|
* Finds the first substring match in a regular expression search.
|
||||||
*/
|
* @param searcher An object which supports searching within a string.
|
||||||
search(searcher: { [Symbol.search](string: string): number; }): number;
|
*/
|
||||||
|
search(searcher: { [Symbol.search](string: string): number; }): number;
|
||||||
/**
|
|
||||||
* Split a string into substrings using the specified separator and return them as an array.
|
/**
|
||||||
* @param splitter An object that can split a string.
|
* Split a string into substrings using the specified separator and return them as an array.
|
||||||
* @param limit A value used to limit the number of elements returned in the array.
|
* @param splitter An object that can split a string.
|
||||||
*/
|
* @param limit A value used to limit the number of elements returned in the array.
|
||||||
split(splitter: { [Symbol.split](string: string, limit?: number): string[]; }, limit?: number): string[];
|
*/
|
||||||
}
|
split(splitter: { [Symbol.split](string: string, limit?: number): string[]; }, limit?: number): string[];
|
||||||
|
}
|
||||||
interface ArrayBuffer {
|
|
||||||
readonly [Symbol.toStringTag]: string;
|
interface ArrayBuffer {
|
||||||
}
|
readonly [Symbol.toStringTag]: string;
|
||||||
|
}
|
||||||
interface DataView {
|
|
||||||
readonly [Symbol.toStringTag]: string;
|
interface DataView {
|
||||||
}
|
readonly [Symbol.toStringTag]: string;
|
||||||
|
}
|
||||||
interface Int8Array {
|
|
||||||
readonly [Symbol.toStringTag]: "Int8Array";
|
interface Int8Array {
|
||||||
}
|
readonly [Symbol.toStringTag]: "Int8Array";
|
||||||
|
}
|
||||||
interface Uint8Array {
|
|
||||||
readonly [Symbol.toStringTag]: "UInt8Array";
|
interface Uint8Array {
|
||||||
}
|
readonly [Symbol.toStringTag]: "Uint8Array";
|
||||||
|
}
|
||||||
interface Uint8ClampedArray {
|
|
||||||
readonly [Symbol.toStringTag]: "Uint8ClampedArray";
|
interface Uint8ClampedArray {
|
||||||
}
|
readonly [Symbol.toStringTag]: "Uint8ClampedArray";
|
||||||
|
}
|
||||||
interface Int16Array {
|
|
||||||
readonly [Symbol.toStringTag]: "Int16Array";
|
interface Int16Array {
|
||||||
}
|
readonly [Symbol.toStringTag]: "Int16Array";
|
||||||
|
}
|
||||||
interface Uint16Array {
|
|
||||||
readonly [Symbol.toStringTag]: "Uint16Array";
|
interface Uint16Array {
|
||||||
}
|
readonly [Symbol.toStringTag]: "Uint16Array";
|
||||||
|
}
|
||||||
interface Int32Array {
|
|
||||||
readonly [Symbol.toStringTag]: "Int32Array";
|
interface Int32Array {
|
||||||
}
|
readonly [Symbol.toStringTag]: "Int32Array";
|
||||||
|
}
|
||||||
interface Uint32Array {
|
|
||||||
readonly [Symbol.toStringTag]: "Uint32Array";
|
interface Uint32Array {
|
||||||
}
|
readonly [Symbol.toStringTag]: "Uint32Array";
|
||||||
|
}
|
||||||
interface Float32Array {
|
|
||||||
readonly [Symbol.toStringTag]: "Float32Array";
|
interface Float32Array {
|
||||||
}
|
readonly [Symbol.toStringTag]: "Float32Array";
|
||||||
|
}
|
||||||
interface Float64Array {
|
|
||||||
readonly [Symbol.toStringTag]: "Float64Array";
|
interface Float64Array {
|
||||||
}
|
readonly [Symbol.toStringTag]: "Float64Array";
|
||||||
|
}
|
||||||
interface ArrayConstructor {
|
|
||||||
readonly [Symbol.species]: ArrayConstructor;
|
interface ArrayConstructor {
|
||||||
}
|
readonly [Symbol.species]: ArrayConstructor;
|
||||||
interface MapConstructor {
|
}
|
||||||
readonly [Symbol.species]: MapConstructor;
|
interface MapConstructor {
|
||||||
}
|
readonly [Symbol.species]: MapConstructor;
|
||||||
interface SetConstructor {
|
}
|
||||||
readonly [Symbol.species]: SetConstructor;
|
interface SetConstructor {
|
||||||
}
|
readonly [Symbol.species]: SetConstructor;
|
||||||
interface ArrayBufferConstructor {
|
}
|
||||||
readonly [Symbol.species]: ArrayBufferConstructor;
|
interface ArrayBufferConstructor {
|
||||||
}
|
readonly [Symbol.species]: ArrayBufferConstructor;
|
||||||
|
}
|
||||||
|
208
node_modules/typescript/lib/lib.es2016.array.include.d.ts
generated
vendored
208
node_modules/typescript/lib/lib.es2016.array.include.d.ts
generated
vendored
@ -1,118 +1,116 @@
|
|||||||
/*! *****************************************************************************
|
/*! *****************************************************************************
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
and limitations under the License.
|
and limitations under the License.
|
||||||
***************************************************************************** */
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
/// <reference no-default-lib="true"/>
|
interface Array<T> {
|
||||||
|
/**
|
||||||
|
* Determines whether an array includes a certain element, returning true or false as appropriate.
|
||||||
|
* @param searchElement The element to search for.
|
||||||
|
* @param fromIndex The position in this array at which to begin searching for searchElement.
|
||||||
|
*/
|
||||||
|
includes(searchElement: T, fromIndex?: number): boolean;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface ReadonlyArray<T> {
|
||||||
|
/**
|
||||||
|
* Determines whether an array includes a certain element, returning true or false as appropriate.
|
||||||
|
* @param searchElement The element to search for.
|
||||||
|
* @param fromIndex The position in this array at which to begin searching for searchElement.
|
||||||
|
*/
|
||||||
|
includes(searchElement: T, fromIndex?: number): boolean;
|
||||||
|
}
|
||||||
|
|
||||||
interface Array<T> {
|
interface Int8Array {
|
||||||
/**
|
/**
|
||||||
* Determines whether an array includes a certain element, returning true or false as appropriate.
|
* Determines whether an array includes a certain element, returning true or false as appropriate.
|
||||||
* @param searchElement The element to search for.
|
* @param searchElement The element to search for.
|
||||||
* @param fromIndex The position in this array at which to begin searching for searchElement.
|
* @param fromIndex The position in this array at which to begin searching for searchElement.
|
||||||
*/
|
*/
|
||||||
includes(searchElement: T, fromIndex?: number): boolean;
|
includes(searchElement: number, fromIndex?: number): boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface ReadonlyArray<T> {
|
interface Uint8Array {
|
||||||
/**
|
/**
|
||||||
* Determines whether an array includes a certain element, returning true or false as appropriate.
|
* Determines whether an array includes a certain element, returning true or false as appropriate.
|
||||||
* @param searchElement The element to search for.
|
* @param searchElement The element to search for.
|
||||||
* @param fromIndex The position in this array at which to begin searching for searchElement.
|
* @param fromIndex The position in this array at which to begin searching for searchElement.
|
||||||
*/
|
*/
|
||||||
includes(searchElement: T, fromIndex?: number): boolean;
|
includes(searchElement: number, fromIndex?: number): boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface Int8Array {
|
interface Uint8ClampedArray {
|
||||||
/**
|
/**
|
||||||
* Determines whether an array includes a certain element, returning true or false as appropriate.
|
* Determines whether an array includes a certain element, returning true or false as appropriate.
|
||||||
* @param searchElement The element to search for.
|
* @param searchElement The element to search for.
|
||||||
* @param fromIndex The position in this array at which to begin searching for searchElement.
|
* @param fromIndex The position in this array at which to begin searching for searchElement.
|
||||||
*/
|
*/
|
||||||
includes(searchElement: number, fromIndex?: number): boolean;
|
includes(searchElement: number, fromIndex?: number): boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface Uint8Array {
|
interface Int16Array {
|
||||||
/**
|
/**
|
||||||
* Determines whether an array includes a certain element, returning true or false as appropriate.
|
* Determines whether an array includes a certain element, returning true or false as appropriate.
|
||||||
* @param searchElement The element to search for.
|
* @param searchElement The element to search for.
|
||||||
* @param fromIndex The position in this array at which to begin searching for searchElement.
|
* @param fromIndex The position in this array at which to begin searching for searchElement.
|
||||||
*/
|
*/
|
||||||
includes(searchElement: number, fromIndex?: number): boolean;
|
includes(searchElement: number, fromIndex?: number): boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface Uint8ClampedArray {
|
interface Uint16Array {
|
||||||
/**
|
/**
|
||||||
* Determines whether an array includes a certain element, returning true or false as appropriate.
|
* Determines whether an array includes a certain element, returning true or false as appropriate.
|
||||||
* @param searchElement The element to search for.
|
* @param searchElement The element to search for.
|
||||||
* @param fromIndex The position in this array at which to begin searching for searchElement.
|
* @param fromIndex The position in this array at which to begin searching for searchElement.
|
||||||
*/
|
*/
|
||||||
includes(searchElement: number, fromIndex?: number): boolean;
|
includes(searchElement: number, fromIndex?: number): boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface Int16Array {
|
interface Int32Array {
|
||||||
/**
|
/**
|
||||||
* Determines whether an array includes a certain element, returning true or false as appropriate.
|
* Determines whether an array includes a certain element, returning true or false as appropriate.
|
||||||
* @param searchElement The element to search for.
|
* @param searchElement The element to search for.
|
||||||
* @param fromIndex The position in this array at which to begin searching for searchElement.
|
* @param fromIndex The position in this array at which to begin searching for searchElement.
|
||||||
*/
|
*/
|
||||||
includes(searchElement: number, fromIndex?: number): boolean;
|
includes(searchElement: number, fromIndex?: number): boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface Uint16Array {
|
interface Uint32Array {
|
||||||
/**
|
/**
|
||||||
* Determines whether an array includes a certain element, returning true or false as appropriate.
|
* Determines whether an array includes a certain element, returning true or false as appropriate.
|
||||||
* @param searchElement The element to search for.
|
* @param searchElement The element to search for.
|
||||||
* @param fromIndex The position in this array at which to begin searching for searchElement.
|
* @param fromIndex The position in this array at which to begin searching for searchElement.
|
||||||
*/
|
*/
|
||||||
includes(searchElement: number, fromIndex?: number): boolean;
|
includes(searchElement: number, fromIndex?: number): boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface Int32Array {
|
interface Float32Array {
|
||||||
/**
|
/**
|
||||||
* Determines whether an array includes a certain element, returning true or false as appropriate.
|
* Determines whether an array includes a certain element, returning true or false as appropriate.
|
||||||
* @param searchElement The element to search for.
|
* @param searchElement The element to search for.
|
||||||
* @param fromIndex The position in this array at which to begin searching for searchElement.
|
* @param fromIndex The position in this array at which to begin searching for searchElement.
|
||||||
*/
|
*/
|
||||||
includes(searchElement: number, fromIndex?: number): boolean;
|
includes(searchElement: number, fromIndex?: number): boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface Uint32Array {
|
interface Float64Array {
|
||||||
/**
|
/**
|
||||||
* Determines whether an array includes a certain element, returning true or false as appropriate.
|
* Determines whether an array includes a certain element, returning true or false as appropriate.
|
||||||
* @param searchElement The element to search for.
|
* @param searchElement The element to search for.
|
||||||
* @param fromIndex The position in this array at which to begin searching for searchElement.
|
* @param fromIndex The position in this array at which to begin searching for searchElement.
|
||||||
*/
|
*/
|
||||||
includes(searchElement: number, fromIndex?: number): boolean;
|
includes(searchElement: number, fromIndex?: number): boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface Float32Array {
|
|
||||||
/**
|
|
||||||
* Determines whether an array includes a certain element, returning true or false as appropriate.
|
|
||||||
* @param searchElement The element to search for.
|
|
||||||
* @param fromIndex The position in this array at which to begin searching for searchElement.
|
|
||||||
*/
|
|
||||||
includes(searchElement: number, fromIndex?: number): boolean;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface Float64Array {
|
|
||||||
/**
|
|
||||||
* Determines whether an array includes a certain element, returning true or false as appropriate.
|
|
||||||
* @param searchElement The element to search for.
|
|
||||||
* @param fromIndex The position in this array at which to begin searching for searchElement.
|
|
||||||
*/
|
|
||||||
includes(searchElement: number, fromIndex?: number): boolean;
|
|
||||||
}
|
|
||||||
|
20
node_modules/typescript/lib/lib.es2016.d.ts
generated
vendored
20
node_modules/typescript/lib/lib.es2016.d.ts
generated
vendored
@ -1,22 +1,20 @@
|
|||||||
/*! *****************************************************************************
|
/*! *****************************************************************************
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
and limitations under the License.
|
and limitations under the License.
|
||||||
***************************************************************************** */
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
/// <reference no-default-lib="true"/>
|
/// <reference lib="es2015" />
|
||||||
|
/// <reference lib="es2016.array.include" />
|
||||||
|
|
||||||
/// <reference lib="es2015" />
|
|
||||||
/// <reference lib="es2016.array.include" />
|
|
||||||
|
26
node_modules/typescript/lib/lib.es2016.full.d.ts
generated
vendored
26
node_modules/typescript/lib/lib.es2016.full.d.ts
generated
vendored
@ -1,25 +1,23 @@
|
|||||||
/*! *****************************************************************************
|
/*! *****************************************************************************
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
and limitations under the License.
|
and limitations under the License.
|
||||||
***************************************************************************** */
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
/// <reference no-default-lib="true"/>
|
/// <reference lib="es2016" />
|
||||||
|
/// <reference lib="dom" />
|
||||||
|
/// <reference lib="webworker.importscripts" />
|
||||||
/// <reference lib="es2016" />
|
/// <reference lib="scripthost" />
|
||||||
/// <reference lib="dom" />
|
/// <reference lib="dom.iterable" />
|
||||||
/// <reference lib="webworker.importscripts" />
|
|
||||||
/// <reference lib="scripthost" />
|
|
||||||
/// <reference lib="dom.iterable" />
|
|
||||||
|
29
node_modules/typescript/lib/lib.es2017.d.ts
generated
vendored
29
node_modules/typescript/lib/lib.es2017.d.ts
generated
vendored
@ -1,26 +1,25 @@
|
|||||||
/*! *****************************************************************************
|
/*! *****************************************************************************
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
and limitations under the License.
|
and limitations under the License.
|
||||||
***************************************************************************** */
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
/// <reference no-default-lib="true"/>
|
/// <reference lib="es2016" />
|
||||||
|
/// <reference lib="es2017.object" />
|
||||||
|
/// <reference lib="es2017.sharedmemory" />
|
||||||
/// <reference lib="es2016" />
|
/// <reference lib="es2017.string" />
|
||||||
/// <reference lib="es2017.object" />
|
/// <reference lib="es2017.intl" />
|
||||||
/// <reference lib="es2017.sharedmemory" />
|
/// <reference lib="es2017.typedarrays" />
|
||||||
/// <reference lib="es2017.string" />
|
/// <reference lib="es2017.date" />
|
||||||
/// <reference lib="es2017.intl" />
|
|
||||||
/// <reference lib="es2017.typedarrays" />
|
|
||||||
|
31
node_modules/typescript/lib/lib.es2017.date.d.ts
generated
vendored
Normal file
31
node_modules/typescript/lib/lib.es2017.date.d.ts
generated
vendored
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
/*! *****************************************************************************
|
||||||
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
|
and limitations under the License.
|
||||||
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
|
interface DateConstructor {
|
||||||
|
/**
|
||||||
|
* Returns the number of milliseconds between midnight, January 1, 1970 Universal Coordinated Time (UTC) (or GMT) and the specified date.
|
||||||
|
* @param year The full year designation is required for cross-century date accuracy. If year is between 0 and 99 is used, then year is assumed to be 1900 + year.
|
||||||
|
* @param monthIndex The month as a number between 0 and 11 (January to December).
|
||||||
|
* @param date The date as a number between 1 and 31.
|
||||||
|
* @param hours Must be supplied if minutes is supplied. A number from 0 to 23 (midnight to 11pm) that specifies the hour.
|
||||||
|
* @param minutes Must be supplied if seconds is supplied. A number from 0 to 59 that specifies the minutes.
|
||||||
|
* @param seconds Must be supplied if milliseconds is supplied. A number from 0 to 59 that specifies the seconds.
|
||||||
|
* @param ms A number from 0 to 999 that specifies the milliseconds.
|
||||||
|
*/
|
||||||
|
UTC(year: number, monthIndex?: number, date?: number, hours?: number, minutes?: number, seconds?: number, ms?: number): number;
|
||||||
|
}
|
26
node_modules/typescript/lib/lib.es2017.full.d.ts
generated
vendored
26
node_modules/typescript/lib/lib.es2017.full.d.ts
generated
vendored
@ -1,25 +1,23 @@
|
|||||||
/*! *****************************************************************************
|
/*! *****************************************************************************
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
and limitations under the License.
|
and limitations under the License.
|
||||||
***************************************************************************** */
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
/// <reference no-default-lib="true"/>
|
/// <reference lib="es2017" />
|
||||||
|
/// <reference lib="dom" />
|
||||||
|
/// <reference lib="webworker.importscripts" />
|
||||||
/// <reference lib="es2017" />
|
/// <reference lib="scripthost" />
|
||||||
/// <reference lib="dom" />
|
/// <reference lib="dom.iterable" />
|
||||||
/// <reference lib="webworker.importscripts" />
|
|
||||||
/// <reference lib="scripthost" />
|
|
||||||
/// <reference lib="dom.iterable" />
|
|
||||||
|
50
node_modules/typescript/lib/lib.es2017.intl.d.ts
generated
vendored
50
node_modules/typescript/lib/lib.es2017.intl.d.ts
generated
vendored
@ -1,32 +1,44 @@
|
|||||||
/*! *****************************************************************************
|
/*! *****************************************************************************
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
and limitations under the License.
|
and limitations under the License.
|
||||||
***************************************************************************** */
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
/// <reference no-default-lib="true"/>
|
declare namespace Intl {
|
||||||
|
interface DateTimeFormatPartTypesRegistry {
|
||||||
|
day: any;
|
||||||
|
dayPeriod: any;
|
||||||
|
era: any;
|
||||||
|
hour: any;
|
||||||
|
literal: any;
|
||||||
|
minute: any;
|
||||||
|
month: any;
|
||||||
|
second: any;
|
||||||
|
timeZoneName: any;
|
||||||
|
weekday: any;
|
||||||
|
year: any;
|
||||||
|
}
|
||||||
|
|
||||||
|
type DateTimeFormatPartTypes = keyof DateTimeFormatPartTypesRegistry;
|
||||||
|
|
||||||
declare namespace Intl {
|
interface DateTimeFormatPart {
|
||||||
type DateTimeFormatPartTypes = "day" | "dayPeriod" | "era" | "hour" | "literal" | "minute" | "month" | "second" | "timeZoneName" | "weekday" | "year";
|
type: DateTimeFormatPartTypes;
|
||||||
|
value: string;
|
||||||
interface DateTimeFormatPart {
|
}
|
||||||
type: DateTimeFormatPartTypes;
|
|
||||||
value: string;
|
interface DateTimeFormat {
|
||||||
}
|
formatToParts(date?: Date | number): DateTimeFormatPart[];
|
||||||
|
}
|
||||||
interface DateTimeFormat {
|
}
|
||||||
formatToParts(date?: Date | number): DateTimeFormatPart[];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
74
node_modules/typescript/lib/lib.es2017.object.d.ts
generated
vendored
74
node_modules/typescript/lib/lib.es2017.object.d.ts
generated
vendored
@ -1,51 +1,49 @@
|
|||||||
/*! *****************************************************************************
|
/*! *****************************************************************************
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
and limitations under the License.
|
and limitations under the License.
|
||||||
***************************************************************************** */
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
/// <reference no-default-lib="true"/>
|
interface ObjectConstructor {
|
||||||
|
/**
|
||||||
|
* Returns an array of values of the enumerable properties of an object
|
||||||
|
* @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
|
||||||
|
*/
|
||||||
|
values<T>(o: { [s: string]: T; } | ArrayLike<T>): T[];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns an array of values of the enumerable properties of an object
|
||||||
|
* @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
|
||||||
|
*/
|
||||||
|
values(o: {}): any[];
|
||||||
|
|
||||||
interface ObjectConstructor {
|
/**
|
||||||
/**
|
* Returns an array of key/values of the enumerable properties of an object
|
||||||
* Returns an array of values of the enumerable properties of an object
|
* @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
|
||||||
* @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
|
*/
|
||||||
*/
|
entries<T>(o: { [s: string]: T; } | ArrayLike<T>): [string, T][];
|
||||||
values<T>(o: { [s: string]: T } | ArrayLike<T>): T[];
|
|
||||||
|
/**
|
||||||
/**
|
* Returns an array of key/values of the enumerable properties of an object
|
||||||
* Returns an array of values of the enumerable properties of an object
|
* @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
|
||||||
* @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
|
*/
|
||||||
*/
|
entries(o: {}): [string, any][];
|
||||||
values(o: {}): any[];
|
|
||||||
|
/**
|
||||||
/**
|
* Returns an object containing all own property descriptors of an object
|
||||||
* Returns an array of key/values of the enumerable properties of an object
|
* @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
|
||||||
* @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
|
*/
|
||||||
*/
|
getOwnPropertyDescriptors<T>(o: T): { [P in keyof T]: TypedPropertyDescriptor<T[P]>; } & { [x: string]: PropertyDescriptor; };
|
||||||
entries<T>(o: { [s: string]: T } | ArrayLike<T>): [string, T][];
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns an array of key/values of the enumerable properties of an object
|
|
||||||
* @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
|
|
||||||
*/
|
|
||||||
entries(o: {}): [string, any][];
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns an object containing all own property descriptors of an object
|
|
||||||
* @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
|
|
||||||
*/
|
|
||||||
getOwnPropertyDescriptors<T>(o: T): {[P in keyof T]: TypedPropertyDescriptor<T[P]>} & { [x: string]: PropertyDescriptor };
|
|
||||||
}
|
|
||||||
|
247
node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts
generated
vendored
247
node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts
generated
vendored
@ -1,138 +1,135 @@
|
|||||||
/*! *****************************************************************************
|
/*! *****************************************************************************
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
and limitations under the License.
|
and limitations under the License.
|
||||||
***************************************************************************** */
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
/// <reference no-default-lib="true"/>
|
/// <reference lib="es2015.symbol" />
|
||||||
|
/// <reference lib="es2015.symbol.wellknown" />
|
||||||
|
|
||||||
|
interface SharedArrayBuffer {
|
||||||
|
/**
|
||||||
|
* Read-only. The length of the ArrayBuffer (in bytes).
|
||||||
|
*/
|
||||||
|
readonly byteLength: number;
|
||||||
|
|
||||||
/// <reference lib="es2015.symbol" />
|
/**
|
||||||
/// <reference lib="es2015.symbol.wellknown" />
|
* Returns a section of an SharedArrayBuffer.
|
||||||
|
*/
|
||||||
interface SharedArrayBuffer {
|
slice(begin: number, end?: number): SharedArrayBuffer;
|
||||||
/**
|
readonly [Symbol.species]: SharedArrayBuffer;
|
||||||
* Read-only. The length of the ArrayBuffer (in bytes).
|
readonly [Symbol.toStringTag]: "SharedArrayBuffer";
|
||||||
*/
|
}
|
||||||
readonly byteLength: number;
|
|
||||||
|
interface SharedArrayBufferConstructor {
|
||||||
/*
|
readonly prototype: SharedArrayBuffer;
|
||||||
* The SharedArrayBuffer constructor's length property whose value is 1.
|
new (byteLength: number): SharedArrayBuffer;
|
||||||
*/
|
}
|
||||||
length: number;
|
declare var SharedArrayBuffer: SharedArrayBufferConstructor;
|
||||||
/**
|
|
||||||
* Returns a section of an SharedArrayBuffer.
|
interface ArrayBufferTypes {
|
||||||
*/
|
SharedArrayBuffer: SharedArrayBuffer;
|
||||||
slice(begin: number, end?: number): SharedArrayBuffer;
|
}
|
||||||
readonly [Symbol.species]: SharedArrayBuffer;
|
|
||||||
readonly [Symbol.toStringTag]: "SharedArrayBuffer";
|
interface Atomics {
|
||||||
}
|
/**
|
||||||
|
* Adds a value to the value at the given position in the array, returning the original value.
|
||||||
interface SharedArrayBufferConstructor {
|
* Until this atomic operation completes, any other read or write operation against the array
|
||||||
readonly prototype: SharedArrayBuffer;
|
* will block.
|
||||||
new (byteLength: number): SharedArrayBuffer;
|
*/
|
||||||
}
|
add(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;
|
||||||
declare var SharedArrayBuffer: SharedArrayBufferConstructor;
|
|
||||||
|
/**
|
||||||
interface ArrayBufferTypes {
|
* Stores the bitwise AND of a value with the value at the given position in the array,
|
||||||
SharedArrayBuffer: SharedArrayBuffer;
|
* returning the original value. Until this atomic operation completes, any other read or
|
||||||
}
|
* write operation against the array will block.
|
||||||
|
*/
|
||||||
interface Atomics {
|
and(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;
|
||||||
/**
|
|
||||||
* Adds a value to the value at the given position in the array, returning the original value.
|
/**
|
||||||
* Until this atomic operation completes, any other read or write operation against the array
|
* Replaces the value at the given position in the array if the original value equals the given
|
||||||
* will block.
|
* expected value, returning the original value. Until this atomic operation completes, any
|
||||||
*/
|
* other read or write operation against the array will block.
|
||||||
add(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;
|
*/
|
||||||
|
compareExchange(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, expectedValue: number, replacementValue: number): number;
|
||||||
/**
|
|
||||||
* Stores the bitwise AND of a value with the value at the given position in the array,
|
/**
|
||||||
* returning the original value. Until this atomic operation completes, any other read or
|
* Replaces the value at the given position in the array, returning the original value. Until
|
||||||
* write operation against the array will block.
|
* this atomic operation completes, any other read or write operation against the array will
|
||||||
*/
|
* block.
|
||||||
and(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;
|
*/
|
||||||
|
exchange(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;
|
||||||
/**
|
|
||||||
* Replaces the value at the given position in the array if the original value equals the given
|
/**
|
||||||
* expected value, returning the original value. Until this atomic operation completes, any
|
* Returns a value indicating whether high-performance algorithms can use atomic operations
|
||||||
* other read or write operation against the array will block.
|
* (`true`) or must use locks (`false`) for the given number of bytes-per-element of a typed
|
||||||
*/
|
* array.
|
||||||
compareExchange(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, expectedValue: number, replacementValue: number): number;
|
*/
|
||||||
|
isLockFree(size: number): boolean;
|
||||||
/**
|
|
||||||
* Replaces the value at the given position in the array, returning the original value. Until
|
/**
|
||||||
* this atomic operation completes, any other read or write operation against the array will
|
* Returns the value at the given position in the array. Until this atomic operation completes,
|
||||||
* block.
|
* any other read or write operation against the array will block.
|
||||||
*/
|
*/
|
||||||
exchange(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;
|
load(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number): number;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a value indicating whether high-performance algorithms can use atomic operations
|
* Stores the bitwise OR of a value with the value at the given position in the array,
|
||||||
* (`true`) or must use locks (`false`) for the given number of bytes-per-element of a typed
|
* returning the original value. Until this atomic operation completes, any other read or write
|
||||||
* array.
|
* operation against the array will block.
|
||||||
*/
|
*/
|
||||||
isLockFree(size: number): boolean;
|
or(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the value at the given position in the array. Until this atomic operation completes,
|
* Stores a value at the given position in the array, returning the new value. Until this
|
||||||
* any other read or write operation against the array will block.
|
* atomic operation completes, any other read or write operation against the array will block.
|
||||||
*/
|
*/
|
||||||
load(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number): number;
|
store(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Stores the bitwise OR of a value with the value at the given position in the array,
|
* Subtracts a value from the value at the given position in the array, returning the original
|
||||||
* returning the original value. Until this atomic operation completes, any other read or write
|
* value. Until this atomic operation completes, any other read or write operation against the
|
||||||
* operation against the array will block.
|
* array will block.
|
||||||
*/
|
*/
|
||||||
or(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;
|
sub(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Stores a value at the given position in the array, returning the new value. Until this
|
* If the value at the given position in the array is equal to the provided value, the current
|
||||||
* atomic operation completes, any other read or write operation against the array will block.
|
* agent is put to sleep causing execution to suspend until the timeout expires (returning
|
||||||
*/
|
* `"timed-out"`) or until the agent is awoken (returning `"ok"`); otherwise, returns
|
||||||
store(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;
|
* `"not-equal"`.
|
||||||
|
*/
|
||||||
/**
|
wait(typedArray: Int32Array, index: number, value: number, timeout?: number): "ok" | "not-equal" | "timed-out";
|
||||||
* Subtracts a value from the value at the given position in the array, returning the original
|
|
||||||
* value. Until this atomic operation completes, any other read or write operation against the
|
/**
|
||||||
* array will block.
|
* Wakes up sleeping agents that are waiting on the given index of the array, returning the
|
||||||
*/
|
* number of agents that were awoken.
|
||||||
sub(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;
|
* @param typedArray A shared Int32Array.
|
||||||
|
* @param index The position in the typedArray to wake up on.
|
||||||
/**
|
* @param count The number of sleeping agents to notify. Defaults to +Infinity.
|
||||||
* If the value at the given position in the array is equal to the provided value, the current
|
*/
|
||||||
* agent is put to sleep causing execution to suspend until the timeout expires (returning
|
notify(typedArray: Int32Array, index: number, count?: number): number;
|
||||||
* `"timed-out"`) or until the agent is awoken (returning `"ok"`); otherwise, returns
|
|
||||||
* `"not-equal"`.
|
/**
|
||||||
*/
|
* Stores the bitwise XOR of a value with the value at the given position in the array,
|
||||||
wait(typedArray: Int32Array, index: number, value: number, timeout?: number): "ok" | "not-equal" | "timed-out";
|
* returning the original value. Until this atomic operation completes, any other read or write
|
||||||
|
* operation against the array will block.
|
||||||
/**
|
*/
|
||||||
* Wakes up sleeping agents that are waiting on the given index of the array, returning the
|
xor(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;
|
||||||
* number of agents that were awoken.
|
|
||||||
*/
|
readonly [Symbol.toStringTag]: "Atomics";
|
||||||
notify(typedArray: Int32Array, index: number, count: number): number;
|
}
|
||||||
|
|
||||||
/**
|
declare var Atomics: Atomics;
|
||||||
* Stores the bitwise XOR of a value with the value at the given position in the array,
|
|
||||||
* returning the original value. Until this atomic operation completes, any other read or write
|
|
||||||
* operation against the array will block.
|
|
||||||
*/
|
|
||||||
xor(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;
|
|
||||||
|
|
||||||
readonly [Symbol.toStringTag]: "Atomics";
|
|
||||||
}
|
|
||||||
|
|
||||||
declare var Atomics: Atomics;
|
|
||||||
|
68
node_modules/typescript/lib/lib.es2017.string.d.ts
generated
vendored
68
node_modules/typescript/lib/lib.es2017.string.d.ts
generated
vendored
@ -1,47 +1,45 @@
|
|||||||
/*! *****************************************************************************
|
/*! *****************************************************************************
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
and limitations under the License.
|
and limitations under the License.
|
||||||
***************************************************************************** */
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
/// <reference no-default-lib="true"/>
|
interface String {
|
||||||
|
/**
|
||||||
|
* Pads the current string with a given string (possibly repeated) so that the resulting string reaches a given length.
|
||||||
|
* The padding is applied from the start (left) of the current string.
|
||||||
|
*
|
||||||
|
* @param maxLength The length of the resulting string once the current string has been padded.
|
||||||
|
* If this parameter is smaller than the current string's length, the current string will be returned as it is.
|
||||||
|
*
|
||||||
|
* @param fillString The string to pad the current string with.
|
||||||
|
* If this string is too long, it will be truncated and the left-most part will be applied.
|
||||||
|
* The default value for this parameter is " " (U+0020).
|
||||||
|
*/
|
||||||
|
padStart(maxLength: number, fillString?: string): string;
|
||||||
|
|
||||||
|
/**
|
||||||
interface String {
|
* Pads the current string with a given string (possibly repeated) so that the resulting string reaches a given length.
|
||||||
/**
|
* The padding is applied from the end (right) of the current string.
|
||||||
* Pads the current string with a given string (possibly repeated) so that the resulting string reaches a given length.
|
*
|
||||||
* The padding is applied from the start (left) of the current string.
|
* @param maxLength The length of the resulting string once the current string has been padded.
|
||||||
*
|
* If this parameter is smaller than the current string's length, the current string will be returned as it is.
|
||||||
* @param maxLength The length of the resulting string once the current string has been padded.
|
*
|
||||||
* If this parameter is smaller than the current string's length, the current string will be returned as it is.
|
* @param fillString The string to pad the current string with.
|
||||||
*
|
* If this string is too long, it will be truncated and the left-most part will be applied.
|
||||||
* @param fillString The string to pad the current string with.
|
* The default value for this parameter is " " (U+0020).
|
||||||
* If this string is too long, it will be truncated and the left-most part will be applied.
|
*/
|
||||||
* The default value for this parameter is " " (U+0020).
|
padEnd(maxLength: number, fillString?: string): string;
|
||||||
*/
|
}
|
||||||
padStart(maxLength: number, fillString?: string): string;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Pads the current string with a given string (possibly repeated) so that the resulting string reaches a given length.
|
|
||||||
* The padding is applied from the end (right) of the current string.
|
|
||||||
*
|
|
||||||
* @param maxLength The length of the resulting string once the current string has been padded.
|
|
||||||
* If this parameter is smaller than the current string's length, the current string will be returned as it is.
|
|
||||||
*
|
|
||||||
* @param fillString The string to pad the current string with.
|
|
||||||
* If this string is too long, it will be truncated and the left-most part will be applied.
|
|
||||||
* The default value for this parameter is " " (U+0020).
|
|
||||||
*/
|
|
||||||
padEnd(maxLength: number, fillString?: string): string;
|
|
||||||
}
|
|
||||||
|
82
node_modules/typescript/lib/lib.es2017.typedarrays.d.ts
generated
vendored
82
node_modules/typescript/lib/lib.es2017.typedarrays.d.ts
generated
vendored
@ -1,55 +1,53 @@
|
|||||||
/*! *****************************************************************************
|
/*! *****************************************************************************
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
and limitations under the License.
|
and limitations under the License.
|
||||||
***************************************************************************** */
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
/// <reference no-default-lib="true"/>
|
interface Int8ArrayConstructor {
|
||||||
|
new (): Int8Array;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface Uint8ArrayConstructor {
|
||||||
|
new (): Uint8Array;
|
||||||
|
}
|
||||||
|
|
||||||
interface Int8ArrayConstructor {
|
interface Uint8ClampedArrayConstructor {
|
||||||
new (): Int8Array;
|
new (): Uint8ClampedArray;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface Uint8ArrayConstructor {
|
interface Int16ArrayConstructor {
|
||||||
new (): Uint8Array;
|
new (): Int16Array;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface Uint8ClampedArrayConstructor {
|
interface Uint16ArrayConstructor {
|
||||||
new (): Uint8ClampedArray;
|
new (): Uint16Array;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface Int16ArrayConstructor {
|
interface Int32ArrayConstructor {
|
||||||
new (): Int16Array;
|
new (): Int32Array;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface Uint16ArrayConstructor {
|
interface Uint32ArrayConstructor {
|
||||||
new (): Uint16Array;
|
new (): Uint32Array;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface Int32ArrayConstructor {
|
interface Float32ArrayConstructor {
|
||||||
new (): Int32Array;
|
new (): Float32Array;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface Uint32ArrayConstructor {
|
interface Float64ArrayConstructor {
|
||||||
new (): Uint32Array;
|
new (): Float64Array;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface Float32ArrayConstructor {
|
|
||||||
new (): Float32Array;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface Float64ArrayConstructor {
|
|
||||||
new (): Float64Array;
|
|
||||||
}
|
|
||||||
|
130
node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts
generated
vendored
130
node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts
generated
vendored
@ -1,79 +1,77 @@
|
|||||||
/*! *****************************************************************************
|
/*! *****************************************************************************
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
and limitations under the License.
|
and limitations under the License.
|
||||||
***************************************************************************** */
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
/// <reference no-default-lib="true"/>
|
/// <reference lib="es2018.asynciterable" />
|
||||||
|
|
||||||
|
interface AsyncGenerator<T = unknown, TReturn = any, TNext = unknown> extends AsyncIterator<T, TReturn, TNext> {
|
||||||
|
// NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places.
|
||||||
|
next(...args: [] | [TNext]): Promise<IteratorResult<T, TReturn>>;
|
||||||
|
return(value: TReturn | PromiseLike<TReturn>): Promise<IteratorResult<T, TReturn>>;
|
||||||
|
throw(e: any): Promise<IteratorResult<T, TReturn>>;
|
||||||
|
[Symbol.asyncIterator](): AsyncGenerator<T, TReturn, TNext>;
|
||||||
|
}
|
||||||
|
|
||||||
/// <reference lib="es2018.asynciterable" />
|
interface AsyncGeneratorFunction {
|
||||||
|
/**
|
||||||
interface AsyncGenerator<T = unknown, TReturn = any, TNext = unknown> extends AsyncIterator<T, TReturn, TNext> {
|
* Creates a new AsyncGenerator object.
|
||||||
// NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places.
|
* @param args A list of arguments the function accepts.
|
||||||
next(...args: [] | [TNext]): Promise<IteratorResult<T, TReturn>>;
|
*/
|
||||||
return(value: TReturn | PromiseLike<TReturn>): Promise<IteratorResult<T, TReturn>>;
|
new (...args: any[]): AsyncGenerator;
|
||||||
throw(e: any): Promise<IteratorResult<T, TReturn>>;
|
/**
|
||||||
[Symbol.asyncIterator](): AsyncGenerator<T, TReturn, TNext>;
|
* Creates a new AsyncGenerator object.
|
||||||
}
|
* @param args A list of arguments the function accepts.
|
||||||
|
*/
|
||||||
interface AsyncGeneratorFunction {
|
(...args: any[]): AsyncGenerator;
|
||||||
/**
|
/**
|
||||||
* Creates a new AsyncGenerator object.
|
* The length of the arguments.
|
||||||
* @param args A list of arguments the function accepts.
|
*/
|
||||||
*/
|
readonly length: number;
|
||||||
new (...args: any[]): AsyncGenerator;
|
/**
|
||||||
/**
|
* Returns the name of the function.
|
||||||
* Creates a new AsyncGenerator object.
|
*/
|
||||||
* @param args A list of arguments the function accepts.
|
readonly name: string;
|
||||||
*/
|
/**
|
||||||
(...args: any[]): AsyncGenerator;
|
* A reference to the prototype.
|
||||||
/**
|
*/
|
||||||
* The length of the arguments.
|
readonly prototype: AsyncGenerator;
|
||||||
*/
|
}
|
||||||
readonly length: number;
|
|
||||||
/**
|
interface AsyncGeneratorFunctionConstructor {
|
||||||
* Returns the name of the function.
|
/**
|
||||||
*/
|
* Creates a new AsyncGenerator function.
|
||||||
readonly name: string;
|
* @param args A list of arguments the function accepts.
|
||||||
/**
|
*/
|
||||||
* A reference to the prototype.
|
new (...args: string[]): AsyncGeneratorFunction;
|
||||||
*/
|
/**
|
||||||
readonly prototype: AsyncGenerator;
|
* Creates a new AsyncGenerator function.
|
||||||
}
|
* @param args A list of arguments the function accepts.
|
||||||
|
*/
|
||||||
interface AsyncGeneratorFunctionConstructor {
|
(...args: string[]): AsyncGeneratorFunction;
|
||||||
/**
|
/**
|
||||||
* Creates a new AsyncGenerator function.
|
* The length of the arguments.
|
||||||
* @param args A list of arguments the function accepts.
|
*/
|
||||||
*/
|
readonly length: number;
|
||||||
new (...args: string[]): AsyncGeneratorFunction;
|
/**
|
||||||
/**
|
* Returns the name of the function.
|
||||||
* Creates a new AsyncGenerator function.
|
*/
|
||||||
* @param args A list of arguments the function accepts.
|
readonly name: string;
|
||||||
*/
|
/**
|
||||||
(...args: string[]): AsyncGeneratorFunction;
|
* A reference to the prototype.
|
||||||
/**
|
*/
|
||||||
* The length of the arguments.
|
readonly prototype: AsyncGeneratorFunction;
|
||||||
*/
|
}
|
||||||
readonly length: number;
|
|
||||||
/**
|
|
||||||
* Returns the name of the function.
|
|
||||||
*/
|
|
||||||
readonly name: string;
|
|
||||||
/**
|
|
||||||
* A reference to the prototype.
|
|
||||||
*/
|
|
||||||
readonly prototype: AsyncGeneratorFunction;
|
|
||||||
}
|
|
||||||
|
62
node_modules/typescript/lib/lib.es2018.asynciterable.d.ts
generated
vendored
62
node_modules/typescript/lib/lib.es2018.asynciterable.d.ts
generated
vendored
@ -1,45 +1,43 @@
|
|||||||
/*! *****************************************************************************
|
/*! *****************************************************************************
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
and limitations under the License.
|
and limitations under the License.
|
||||||
***************************************************************************** */
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
/// <reference no-default-lib="true"/>
|
/// <reference lib="es2015.symbol" />
|
||||||
|
/// <reference lib="es2015.iterable" />
|
||||||
|
|
||||||
|
interface SymbolConstructor {
|
||||||
|
/**
|
||||||
|
* A method that returns the default async iterator for an object. Called by the semantics of
|
||||||
|
* the for-await-of statement.
|
||||||
|
*/
|
||||||
|
readonly asyncIterator: unique symbol;
|
||||||
|
}
|
||||||
|
|
||||||
/// <reference lib="es2015.symbol" />
|
interface AsyncIterator<T, TReturn = any, TNext = undefined> {
|
||||||
/// <reference lib="es2015.iterable" />
|
// NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places.
|
||||||
|
next(...args: [] | [TNext]): Promise<IteratorResult<T, TReturn>>;
|
||||||
interface SymbolConstructor {
|
return?(value?: TReturn | PromiseLike<TReturn>): Promise<IteratorResult<T, TReturn>>;
|
||||||
/**
|
throw?(e?: any): Promise<IteratorResult<T, TReturn>>;
|
||||||
* A method that returns the default async iterator for an object. Called by the semantics of
|
}
|
||||||
* the for-await-of statement.
|
|
||||||
*/
|
interface AsyncIterable<T> {
|
||||||
readonly asyncIterator: symbol;
|
[Symbol.asyncIterator](): AsyncIterator<T>;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface AsyncIterator<T, TReturn = any, TNext = undefined> {
|
interface AsyncIterableIterator<T> extends AsyncIterator<T> {
|
||||||
// NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places.
|
[Symbol.asyncIterator](): AsyncIterableIterator<T>;
|
||||||
next(...args: [] | [TNext]): Promise<IteratorResult<T, TReturn>>;
|
}
|
||||||
return?(value?: TReturn | PromiseLike<TReturn>): Promise<IteratorResult<T, TReturn>>;
|
|
||||||
throw?(e?: any): Promise<IteratorResult<T, TReturn>>;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface AsyncIterable<T> {
|
|
||||||
[Symbol.asyncIterator](): AsyncIterator<T>;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface AsyncIterableIterator<T> extends AsyncIterator<T> {
|
|
||||||
[Symbol.asyncIterator](): AsyncIterableIterator<T>;
|
|
||||||
}
|
|
||||||
|
28
node_modules/typescript/lib/lib.es2018.d.ts
generated
vendored
28
node_modules/typescript/lib/lib.es2018.d.ts
generated
vendored
@ -1,26 +1,24 @@
|
|||||||
/*! *****************************************************************************
|
/*! *****************************************************************************
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
and limitations under the License.
|
and limitations under the License.
|
||||||
***************************************************************************** */
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
/// <reference no-default-lib="true"/>
|
/// <reference lib="es2017" />
|
||||||
|
/// <reference lib="es2018.asynciterable" />
|
||||||
|
/// <reference lib="es2018.asyncgenerator" />
|
||||||
/// <reference lib="es2017" />
|
/// <reference lib="es2018.promise" />
|
||||||
/// <reference lib="es2018.asyncgenerator" />
|
/// <reference lib="es2018.regexp" />
|
||||||
/// <reference lib="es2018.asynciterable" />
|
/// <reference lib="es2018.intl" />
|
||||||
/// <reference lib="es2018.promise" />
|
|
||||||
/// <reference lib="es2018.regexp" />
|
|
||||||
/// <reference lib="es2018.intl" />
|
|
||||||
|
26
node_modules/typescript/lib/lib.es2018.full.d.ts
generated
vendored
26
node_modules/typescript/lib/lib.es2018.full.d.ts
generated
vendored
@ -1,25 +1,23 @@
|
|||||||
/*! *****************************************************************************
|
/*! *****************************************************************************
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
and limitations under the License.
|
and limitations under the License.
|
||||||
***************************************************************************** */
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
/// <reference no-default-lib="true"/>
|
/// <reference lib="es2018" />
|
||||||
|
/// <reference lib="dom" />
|
||||||
|
/// <reference lib="webworker.importscripts" />
|
||||||
/// <reference lib="es2018" />
|
/// <reference lib="scripthost" />
|
||||||
/// <reference lib="dom" />
|
/// <reference lib="dom.iterable" />
|
||||||
/// <reference lib="webworker.importscripts" />
|
|
||||||
/// <reference lib="scripthost" />
|
|
||||||
/// <reference lib="dom.iterable" />
|
|
||||||
|
95
node_modules/typescript/lib/lib.es2018.intl.d.ts
generated
vendored
95
node_modules/typescript/lib/lib.es2018.intl.d.ts
generated
vendored
@ -1,51 +1,70 @@
|
|||||||
/*! *****************************************************************************
|
/*! *****************************************************************************
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
and limitations under the License.
|
and limitations under the License.
|
||||||
***************************************************************************** */
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
/// <reference no-default-lib="true"/>
|
declare namespace Intl {
|
||||||
|
// http://cldr.unicode.org/index/cldr-spec/plural-rules#TOC-Determining-Plural-Categories
|
||||||
|
type LDMLPluralRule = "zero" | "one" | "two" | "few" | "many" | "other";
|
||||||
|
type PluralRuleType = "cardinal" | "ordinal";
|
||||||
|
|
||||||
|
interface PluralRulesOptions {
|
||||||
|
localeMatcher?: "lookup" | "best fit" | undefined;
|
||||||
|
type?: PluralRuleType | undefined;
|
||||||
|
minimumIntegerDigits?: number | undefined;
|
||||||
|
minimumFractionDigits?: number | undefined;
|
||||||
|
maximumFractionDigits?: number | undefined;
|
||||||
|
minimumSignificantDigits?: number | undefined;
|
||||||
|
maximumSignificantDigits?: number | undefined;
|
||||||
|
}
|
||||||
|
|
||||||
declare namespace Intl {
|
interface ResolvedPluralRulesOptions {
|
||||||
interface PluralRulesOptions {
|
locale: string;
|
||||||
localeMatcher?: "lookup" | "best fit";
|
pluralCategories: LDMLPluralRule[];
|
||||||
type?: "cardinal" | "ordinal";
|
type: PluralRuleType;
|
||||||
}
|
minimumIntegerDigits: number;
|
||||||
|
minimumFractionDigits: number;
|
||||||
interface ResolvedPluralRulesOptions {
|
maximumFractionDigits: number;
|
||||||
locale: string;
|
minimumSignificantDigits?: number;
|
||||||
pluralCategories: string[];
|
maximumSignificantDigits?: number;
|
||||||
type: "cardinal" | "ordinal";
|
}
|
||||||
minimumIntegerDigits: number;
|
|
||||||
minimumFractionDigits: number;
|
interface PluralRules {
|
||||||
maximumFractionDigits: number;
|
resolvedOptions(): ResolvedPluralRulesOptions;
|
||||||
minimumSignificantDigits: number;
|
select(n: number): LDMLPluralRule;
|
||||||
maximumSignificantDigits: number;
|
}
|
||||||
}
|
|
||||||
|
const PluralRules: {
|
||||||
interface PluralRules {
|
new (locales?: string | string[], options?: PluralRulesOptions): PluralRules;
|
||||||
resolvedOptions(): ResolvedPluralRulesOptions;
|
(locales?: string | string[], options?: PluralRulesOptions): PluralRules;
|
||||||
select(n: number): string;
|
|
||||||
}
|
supportedLocalesOf(locales: string | string[], options?: { localeMatcher?: "lookup" | "best fit"; }): string[];
|
||||||
|
};
|
||||||
const PluralRules: {
|
|
||||||
new (locales?: string | string[], options?: PluralRulesOptions): PluralRules;
|
// We can only have one definition for 'type' in TypeScript, and so you can learn where the keys come from here:
|
||||||
(locales?: string | string[], options?: PluralRulesOptions): PluralRules;
|
type ES2018NumberFormatPartType = "literal" | "nan" | "infinity" | "percent" | "integer" | "group" | "decimal" | "fraction" | "plusSign" | "minusSign" | "percentSign" | "currency" | "code" | "symbol" | "name";
|
||||||
supportedLocalesOf(
|
type ES2020NumberFormatPartType = "compact" | "exponentInteger" | "exponentMinusSign" | "exponentSeparator" | "unit" | "unknown";
|
||||||
locales: string | string[],
|
type NumberFormatPartTypes = ES2018NumberFormatPartType | ES2020NumberFormatPartType;
|
||||||
options?: PluralRulesOptions,
|
|
||||||
): string[];
|
interface NumberFormatPart {
|
||||||
};
|
type: NumberFormatPartTypes;
|
||||||
}
|
value: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface NumberFormat {
|
||||||
|
formatToParts(number?: number | bigint): NumberFormatPart[];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
40
node_modules/typescript/lib/lib.es2018.promise.d.ts
generated
vendored
40
node_modules/typescript/lib/lib.es2018.promise.d.ts
generated
vendored
@ -1,32 +1,30 @@
|
|||||||
/*! *****************************************************************************
|
/*! *****************************************************************************
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
and limitations under the License.
|
and limitations under the License.
|
||||||
***************************************************************************** */
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
/// <reference no-default-lib="true"/>
|
/**
|
||||||
|
* Represents the completion of an asynchronous operation
|
||||||
|
*/
|
||||||
/**
|
interface Promise<T> {
|
||||||
* Represents the completion of an asynchronous operation
|
/**
|
||||||
*/
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
||||||
interface Promise<T> {
|
* resolved value cannot be modified from the callback.
|
||||||
/**
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
||||||
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
* @returns A Promise for the completion of the callback.
|
||||||
* resolved value cannot be modified from the callback.
|
*/
|
||||||
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
finally(onfinally?: (() => void) | undefined | null): Promise<T>;
|
||||||
* @returns A Promise for the completion of the callback.
|
}
|
||||||
*/
|
|
||||||
finally(onfinally?: (() => void) | undefined | null): Promise<T>
|
|
||||||
}
|
|
||||||
|
50
node_modules/typescript/lib/lib.es2018.regexp.d.ts
generated
vendored
50
node_modules/typescript/lib/lib.es2018.regexp.d.ts
generated
vendored
@ -1,39 +1,37 @@
|
|||||||
/*! *****************************************************************************
|
/*! *****************************************************************************
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
and limitations under the License.
|
and limitations under the License.
|
||||||
***************************************************************************** */
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
/// <reference no-default-lib="true"/>
|
interface RegExpMatchArray {
|
||||||
|
groups?: {
|
||||||
|
[key: string]: string;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
interface RegExpExecArray {
|
||||||
|
groups?: {
|
||||||
|
[key: string]: string;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
interface RegExpMatchArray {
|
interface RegExp {
|
||||||
groups?: {
|
/**
|
||||||
[key: string]: string
|
* Returns a Boolean value indicating the state of the dotAll flag (s) used with a regular expression.
|
||||||
}
|
* Default is false. Read-only.
|
||||||
}
|
*/
|
||||||
|
readonly dotAll: boolean;
|
||||||
interface RegExpExecArray {
|
}
|
||||||
groups?: {
|
|
||||||
[key: string]: string
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
interface RegExp {
|
|
||||||
/**
|
|
||||||
* Returns a Boolean value indicating the state of the dotAll flag (s) used with a regular expression.
|
|
||||||
* Default is false. Read-only.
|
|
||||||
*/
|
|
||||||
readonly dotAll: boolean;
|
|
||||||
}
|
|
||||||
|
276
node_modules/typescript/lib/lib.es2019.array.d.ts
generated
vendored
276
node_modules/typescript/lib/lib.es2019.array.d.ts
generated
vendored
@ -1,223 +1,79 @@
|
|||||||
/*! *****************************************************************************
|
/*! *****************************************************************************
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
and limitations under the License.
|
and limitations under the License.
|
||||||
***************************************************************************** */
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
/// <reference no-default-lib="true"/>
|
type FlatArray<Arr, Depth extends number> = {
|
||||||
|
done: Arr;
|
||||||
|
recur: Arr extends ReadonlyArray<infer InnerArr> ? FlatArray<InnerArr, [-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth]>
|
||||||
|
: Arr;
|
||||||
|
}[Depth extends -1 ? "done" : "recur"];
|
||||||
|
|
||||||
|
interface ReadonlyArray<T> {
|
||||||
|
/**
|
||||||
|
* Calls a defined callback function on each element of an array. Then, flattens the result into
|
||||||
|
* a new array.
|
||||||
|
* This is identical to a map followed by flat with depth 1.
|
||||||
|
*
|
||||||
|
* @param callback A function that accepts up to three arguments. The flatMap method calls the
|
||||||
|
* callback function one time for each element in the array.
|
||||||
|
* @param thisArg An object to which the this keyword can refer in the callback function. If
|
||||||
|
* thisArg is omitted, undefined is used as the this value.
|
||||||
|
*/
|
||||||
|
flatMap<U, This = undefined>(
|
||||||
|
callback: (this: This, value: T, index: number, array: T[]) => U | ReadonlyArray<U>,
|
||||||
|
thisArg?: This,
|
||||||
|
): U[];
|
||||||
|
|
||||||
interface ReadonlyArray<T> {
|
/**
|
||||||
|
* Returns a new array with all sub-array elements concatenated into it recursively up to the
|
||||||
/**
|
* specified depth.
|
||||||
* Calls a defined callback function on each element of an array. Then, flattens the result into
|
*
|
||||||
* a new array.
|
* @param depth The maximum recursion depth
|
||||||
* This is identical to a map followed by flat with depth 1.
|
*/
|
||||||
*
|
flat<A, D extends number = 1>(
|
||||||
* @param callback A function that accepts up to three arguments. The flatMap method calls the
|
this: A,
|
||||||
* callback function one time for each element in the array.
|
depth?: D,
|
||||||
* @param thisArg An object to which the this keyword can refer in the callback function. If
|
): FlatArray<A, D>[];
|
||||||
* thisArg is omitted, undefined is used as the this value.
|
}
|
||||||
*/
|
|
||||||
flatMap<U, This = undefined> (
|
interface Array<T> {
|
||||||
callback: (this: This, value: T, index: number, array: T[]) => U | ReadonlyArray<U>,
|
/**
|
||||||
thisArg?: This
|
* Calls a defined callback function on each element of an array. Then, flattens the result into
|
||||||
): U[]
|
* a new array.
|
||||||
|
* This is identical to a map followed by flat with depth 1.
|
||||||
|
*
|
||||||
/**
|
* @param callback A function that accepts up to three arguments. The flatMap method calls the
|
||||||
* Returns a new array with all sub-array elements concatenated into it recursively up to the
|
* callback function one time for each element in the array.
|
||||||
* specified depth.
|
* @param thisArg An object to which the this keyword can refer in the callback function. If
|
||||||
*
|
* thisArg is omitted, undefined is used as the this value.
|
||||||
* @param depth The maximum recursion depth
|
*/
|
||||||
*/
|
flatMap<U, This = undefined>(
|
||||||
flat<U>(this:
|
callback: (this: This, value: T, index: number, array: T[]) => U | ReadonlyArray<U>,
|
||||||
ReadonlyArray<U[][][][]> |
|
thisArg?: This,
|
||||||
|
): U[];
|
||||||
ReadonlyArray<ReadonlyArray<U[][][]>> |
|
|
||||||
ReadonlyArray<ReadonlyArray<U[][]>[]> |
|
/**
|
||||||
ReadonlyArray<ReadonlyArray<U[]>[][]> |
|
* Returns a new array with all sub-array elements concatenated into it recursively up to the
|
||||||
ReadonlyArray<ReadonlyArray<U>[][][]> |
|
* specified depth.
|
||||||
|
*
|
||||||
ReadonlyArray<ReadonlyArray<ReadonlyArray<U[][]>>> |
|
* @param depth The maximum recursion depth
|
||||||
ReadonlyArray<ReadonlyArray<ReadonlyArray<U>[][]>> |
|
*/
|
||||||
ReadonlyArray<ReadonlyArray<ReadonlyArray<U>>[][]> |
|
flat<A, D extends number = 1>(
|
||||||
ReadonlyArray<ReadonlyArray<ReadonlyArray<U>[]>[]> |
|
this: A,
|
||||||
ReadonlyArray<ReadonlyArray<ReadonlyArray<U[]>>[]> |
|
depth?: D,
|
||||||
ReadonlyArray<ReadonlyArray<ReadonlyArray<U[]>[]>> |
|
): FlatArray<A, D>[];
|
||||||
|
}
|
||||||
ReadonlyArray<ReadonlyArray<ReadonlyArray<ReadonlyArray<U[]>>>> |
|
|
||||||
ReadonlyArray<ReadonlyArray<ReadonlyArray<ReadonlyArray<U>[]>>> |
|
|
||||||
ReadonlyArray<ReadonlyArray<ReadonlyArray<ReadonlyArray<U>>[]>> |
|
|
||||||
ReadonlyArray<ReadonlyArray<ReadonlyArray<ReadonlyArray<U>>>[]> |
|
|
||||||
|
|
||||||
ReadonlyArray<ReadonlyArray<ReadonlyArray<ReadonlyArray<ReadonlyArray<U>>>>>,
|
|
||||||
depth: 4): U[];
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
||||||
* specified depth.
|
|
||||||
*
|
|
||||||
* @param depth The maximum recursion depth
|
|
||||||
*/
|
|
||||||
flat<U>(this:
|
|
||||||
ReadonlyArray<U[][][]> |
|
|
||||||
|
|
||||||
ReadonlyArray<ReadonlyArray<U>[][]> |
|
|
||||||
ReadonlyArray<ReadonlyArray<U[]>[]> |
|
|
||||||
ReadonlyArray<ReadonlyArray<U[][]>> |
|
|
||||||
|
|
||||||
ReadonlyArray<ReadonlyArray<ReadonlyArray<U[]>>> |
|
|
||||||
ReadonlyArray<ReadonlyArray<ReadonlyArray<U>[]>> |
|
|
||||||
ReadonlyArray<ReadonlyArray<ReadonlyArray<U>>[]> |
|
|
||||||
|
|
||||||
ReadonlyArray<ReadonlyArray<ReadonlyArray<ReadonlyArray<U>>>>,
|
|
||||||
depth: 3): U[];
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
||||||
* specified depth.
|
|
||||||
*
|
|
||||||
* @param depth The maximum recursion depth
|
|
||||||
*/
|
|
||||||
flat<U>(this:
|
|
||||||
ReadonlyArray<U[][]> |
|
|
||||||
|
|
||||||
ReadonlyArray<ReadonlyArray<U[]>> |
|
|
||||||
ReadonlyArray<ReadonlyArray<U>[]> |
|
|
||||||
|
|
||||||
ReadonlyArray<ReadonlyArray<ReadonlyArray<U>>>,
|
|
||||||
depth: 2): U[];
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
||||||
* specified depth.
|
|
||||||
*
|
|
||||||
* @param depth The maximum recursion depth
|
|
||||||
*/
|
|
||||||
flat<U>(this:
|
|
||||||
ReadonlyArray<U[]> |
|
|
||||||
ReadonlyArray<ReadonlyArray<U>>,
|
|
||||||
depth?: 1
|
|
||||||
): U[];
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
||||||
* specified depth.
|
|
||||||
*
|
|
||||||
* @param depth The maximum recursion depth
|
|
||||||
*/
|
|
||||||
flat<U>(this:
|
|
||||||
ReadonlyArray<U>,
|
|
||||||
depth: 0
|
|
||||||
): U[];
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
||||||
* specified depth. If no depth is provided, flat method defaults to the depth of 1.
|
|
||||||
*
|
|
||||||
* @param depth The maximum recursion depth
|
|
||||||
*/
|
|
||||||
flat<U>(depth?: number): any[];
|
|
||||||
}
|
|
||||||
|
|
||||||
interface Array<T> {
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Calls a defined callback function on each element of an array. Then, flattens the result into
|
|
||||||
* a new array.
|
|
||||||
* This is identical to a map followed by flat with depth 1.
|
|
||||||
*
|
|
||||||
* @param callback A function that accepts up to three arguments. The flatMap method calls the
|
|
||||||
* callback function one time for each element in the array.
|
|
||||||
* @param thisArg An object to which the this keyword can refer in the callback function. If
|
|
||||||
* thisArg is omitted, undefined is used as the this value.
|
|
||||||
*/
|
|
||||||
flatMap<U, This = undefined> (
|
|
||||||
callback: (this: This, value: T, index: number, array: T[]) => U | ReadonlyArray<U>,
|
|
||||||
thisArg?: This
|
|
||||||
): U[]
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
||||||
* specified depth.
|
|
||||||
*
|
|
||||||
* @param depth The maximum recursion depth
|
|
||||||
*/
|
|
||||||
flat<U>(this: U[][][][][][][][], depth: 7): U[];
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
||||||
* specified depth.
|
|
||||||
*
|
|
||||||
* @param depth The maximum recursion depth
|
|
||||||
*/
|
|
||||||
flat<U>(this: U[][][][][][][], depth: 6): U[];
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
||||||
* specified depth.
|
|
||||||
*
|
|
||||||
* @param depth The maximum recursion depth
|
|
||||||
*/
|
|
||||||
flat<U>(this: U[][][][][][], depth: 5): U[];
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
||||||
* specified depth.
|
|
||||||
*
|
|
||||||
* @param depth The maximum recursion depth
|
|
||||||
*/
|
|
||||||
flat<U>(this: U[][][][][], depth: 4): U[];
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
||||||
* specified depth.
|
|
||||||
*
|
|
||||||
* @param depth The maximum recursion depth
|
|
||||||
*/
|
|
||||||
flat<U>(this: U[][][][], depth: 3): U[];
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
||||||
* specified depth.
|
|
||||||
*
|
|
||||||
* @param depth The maximum recursion depth
|
|
||||||
*/
|
|
||||||
flat<U>(this: U[][][], depth: 2): U[];
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
||||||
* specified depth.
|
|
||||||
*
|
|
||||||
* @param depth The maximum recursion depth
|
|
||||||
*/
|
|
||||||
flat<U>(this: U[][], depth?: 1): U[];
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
||||||
* specified depth.
|
|
||||||
*
|
|
||||||
* @param depth The maximum recursion depth
|
|
||||||
*/
|
|
||||||
flat<U>(this: U[], depth: 0): U[];
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
||||||
* specified depth. If no depth is provided, flat method defaults to the depth of 1.
|
|
||||||
*
|
|
||||||
* @param depth The maximum recursion depth
|
|
||||||
*/
|
|
||||||
flat<U>(depth?: number): any[];
|
|
||||||
}
|
|
||||||
|
27
node_modules/typescript/lib/lib.es2019.d.ts
generated
vendored
27
node_modules/typescript/lib/lib.es2019.d.ts
generated
vendored
@ -1,25 +1,24 @@
|
|||||||
/*! *****************************************************************************
|
/*! *****************************************************************************
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
and limitations under the License.
|
and limitations under the License.
|
||||||
***************************************************************************** */
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
/// <reference no-default-lib="true"/>
|
/// <reference lib="es2018" />
|
||||||
|
/// <reference lib="es2019.array" />
|
||||||
|
/// <reference lib="es2019.object" />
|
||||||
/// <reference lib="es2018" />
|
/// <reference lib="es2019.string" />
|
||||||
/// <reference lib="es2019.array" />
|
/// <reference lib="es2019.symbol" />
|
||||||
/// <reference lib="es2019.object" />
|
/// <reference lib="es2019.intl" />
|
||||||
/// <reference lib="es2019.string" />
|
|
||||||
/// <reference lib="es2019.symbol" />
|
|
||||||
|
26
node_modules/typescript/lib/lib.es2019.full.d.ts
generated
vendored
26
node_modules/typescript/lib/lib.es2019.full.d.ts
generated
vendored
@ -1,25 +1,23 @@
|
|||||||
/*! *****************************************************************************
|
/*! *****************************************************************************
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
and limitations under the License.
|
and limitations under the License.
|
||||||
***************************************************************************** */
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
/// <reference no-default-lib="true"/>
|
/// <reference lib="es2019" />
|
||||||
|
/// <reference lib="dom" />
|
||||||
|
/// <reference lib="webworker.importscripts" />
|
||||||
/// <reference lib="es2019" />
|
/// <reference lib="scripthost" />
|
||||||
/// <reference lib="dom" />
|
/// <reference lib="dom.iterable" />
|
||||||
/// <reference lib="webworker.importscripts" />
|
|
||||||
/// <reference lib="scripthost" />
|
|
||||||
/// <reference lib="dom.iterable" />
|
|
||||||
|
@ -1,26 +1,23 @@
|
|||||||
/*! *****************************************************************************
|
/*! *****************************************************************************
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
and limitations under the License.
|
and limitations under the License.
|
||||||
***************************************************************************** */
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// <reference no-default-lib="true"/>
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
|
declare namespace Intl {
|
||||||
interface Symbol {
|
interface DateTimeFormatPartTypesRegistry {
|
||||||
/**
|
unknown: any;
|
||||||
* expose the [[Description]] internal slot of a symbol directly
|
}
|
||||||
*/
|
|
||||||
readonly description: string;
|
|
||||||
}
|
}
|
42
node_modules/typescript/lib/lib.es2019.object.d.ts
generated
vendored
42
node_modules/typescript/lib/lib.es2019.object.d.ts
generated
vendored
@ -1,35 +1,33 @@
|
|||||||
/*! *****************************************************************************
|
/*! *****************************************************************************
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
and limitations under the License.
|
and limitations under the License.
|
||||||
***************************************************************************** */
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
/// <reference no-default-lib="true"/>
|
/// <reference lib="es2015.iterable" />
|
||||||
|
|
||||||
|
interface ObjectConstructor {
|
||||||
|
/**
|
||||||
|
* Returns an object created by key-value entries for properties and methods
|
||||||
|
* @param entries An iterable object that contains key-value entries for properties and methods.
|
||||||
|
*/
|
||||||
|
fromEntries<T = any>(entries: Iterable<readonly [PropertyKey, T]>): { [k: string]: T; };
|
||||||
|
|
||||||
/// <reference lib="es2015.iterable" />
|
/**
|
||||||
|
* Returns an object created by key-value entries for properties and methods
|
||||||
interface ObjectConstructor {
|
* @param entries An iterable object that contains key-value entries for properties and methods.
|
||||||
/**
|
*/
|
||||||
* Returns an object created by key-value entries for properties and methods
|
fromEntries(entries: Iterable<readonly any[]>): any;
|
||||||
* @param entries An iterable object that contains key-value entries for properties and methods.
|
}
|
||||||
*/
|
|
||||||
fromEntries<T = any>(entries: Iterable<readonly [PropertyKey, T]>): { [k in PropertyKey]: T };
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns an object created by key-value entries for properties and methods
|
|
||||||
* @param entries An iterable object that contains key-value entries for properties and methods.
|
|
||||||
*/
|
|
||||||
fromEntries(entries: Iterable<readonly any[]>): any;
|
|
||||||
}
|
|
||||||
|
44
node_modules/typescript/lib/lib.es2019.string.d.ts
generated
vendored
44
node_modules/typescript/lib/lib.es2019.string.d.ts
generated
vendored
@ -1,33 +1,37 @@
|
|||||||
/*! *****************************************************************************
|
/*! *****************************************************************************
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
and limitations under the License.
|
and limitations under the License.
|
||||||
***************************************************************************** */
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
/// <reference no-default-lib="true"/>
|
interface String {
|
||||||
|
/** Removes the trailing white space and line terminator characters from a string. */
|
||||||
|
trimEnd(): string;
|
||||||
|
|
||||||
|
/** Removes the leading white space and line terminator characters from a string. */
|
||||||
|
trimStart(): string;
|
||||||
|
|
||||||
interface String {
|
/**
|
||||||
/** Removes the trailing white space and line terminator characters from a string. */
|
* Removes the leading white space and line terminator characters from a string.
|
||||||
trimEnd(): string;
|
* @deprecated A legacy feature for browser compatibility. Use `trimStart` instead
|
||||||
|
*/
|
||||||
/** Removes the leading white space and line terminator characters from a string. */
|
trimLeft(): string;
|
||||||
trimStart(): string;
|
|
||||||
|
/**
|
||||||
/** Removes the leading white space and line terminator characters from a string. */
|
* Removes the trailing white space and line terminator characters from a string.
|
||||||
trimLeft(): string;
|
* @deprecated A legacy feature for browser compatibility. Use `trimEnd` instead
|
||||||
|
*/
|
||||||
/** Removes the trailing white space and line terminator characters from a string. */
|
trimRight(): string;
|
||||||
trimRight(): string;
|
}
|
||||||
}
|
|
||||||
|
28
node_modules/typescript/lib/lib.es2019.symbol.d.ts
generated
vendored
28
node_modules/typescript/lib/lib.es2019.symbol.d.ts
generated
vendored
@ -1,26 +1,24 @@
|
|||||||
/*! *****************************************************************************
|
/*! *****************************************************************************
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
and limitations under the License.
|
and limitations under the License.
|
||||||
***************************************************************************** */
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
/// <reference no-default-lib="true"/>
|
interface Symbol {
|
||||||
|
/**
|
||||||
|
* Expose the [[Description]] internal slot of a symbol directly.
|
||||||
interface Symbol {
|
*/
|
||||||
/**
|
readonly description: string | undefined;
|
||||||
* expose the [[Description]] internal slot of a symbol directly
|
}
|
||||||
*/
|
|
||||||
readonly description: string;
|
|
||||||
}
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
28
node_modules/typescript/lib/lib.es2020.d.ts
generated
vendored
28
node_modules/typescript/lib/lib.es2020.d.ts
generated
vendored
@ -1,23 +1,27 @@
|
|||||||
/*! *****************************************************************************
|
/*! *****************************************************************************
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
and limitations under the License.
|
and limitations under the License.
|
||||||
***************************************************************************** */
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
/// <reference no-default-lib="true"/>
|
/// <reference lib="es2019" />
|
||||||
|
/// <reference lib="es2020.bigint" />
|
||||||
|
/// <reference lib="es2020.date" />
|
||||||
/// <reference lib="es2019" />
|
/// <reference lib="es2020.number" />
|
||||||
/// <reference lib="es2020.string" />
|
/// <reference lib="es2020.promise" />
|
||||||
/// <reference lib="es2020.symbol.wellknown" />
|
/// <reference lib="es2020.sharedmemory" />
|
||||||
|
/// <reference lib="es2020.string" />
|
||||||
|
/// <reference lib="es2020.symbol.wellknown" />
|
||||||
|
/// <reference lib="es2020.intl" />
|
||||||
|
42
node_modules/typescript/lib/lib.es2020.date.d.ts
generated
vendored
Normal file
42
node_modules/typescript/lib/lib.es2020.date.d.ts
generated
vendored
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
/*! *****************************************************************************
|
||||||
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
|
and limitations under the License.
|
||||||
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
|
/// <reference lib="es2020.intl" />
|
||||||
|
|
||||||
|
interface Date {
|
||||||
|
/**
|
||||||
|
* Converts a date and time to a string by using the current or specified locale.
|
||||||
|
* @param locales A locale string, array of locale strings, Intl.Locale object, or array of Intl.Locale objects that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.
|
||||||
|
* @param options An object that contains one or more properties that specify comparison options.
|
||||||
|
*/
|
||||||
|
toLocaleString(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Converts a date to a string by using the current or specified locale.
|
||||||
|
* @param locales A locale string, array of locale strings, Intl.Locale object, or array of Intl.Locale objects that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.
|
||||||
|
* @param options An object that contains one or more properties that specify comparison options.
|
||||||
|
*/
|
||||||
|
toLocaleDateString(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Converts a time to a string by using the current or specified locale.
|
||||||
|
* @param locales A locale string, array of locale strings, Intl.Locale object, or array of Intl.Locale objects that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.
|
||||||
|
* @param options An object that contains one or more properties that specify comparison options.
|
||||||
|
*/
|
||||||
|
toLocaleTimeString(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;
|
||||||
|
}
|
26
node_modules/typescript/lib/lib.es2020.full.d.ts
generated
vendored
26
node_modules/typescript/lib/lib.es2020.full.d.ts
generated
vendored
@ -1,25 +1,23 @@
|
|||||||
/*! *****************************************************************************
|
/*! *****************************************************************************
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
and limitations under the License.
|
and limitations under the License.
|
||||||
***************************************************************************** */
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
/// <reference no-default-lib="true"/>
|
/// <reference lib="es2020" />
|
||||||
|
/// <reference lib="dom" />
|
||||||
|
/// <reference lib="webworker.importscripts" />
|
||||||
/// <reference lib="es2020" />
|
/// <reference lib="scripthost" />
|
||||||
/// <reference lib="dom" />
|
/// <reference lib="dom.iterable" />
|
||||||
/// <reference lib="webworker.importscripts" />
|
|
||||||
/// <reference lib="scripthost" />
|
|
||||||
/// <reference lib="dom.iterable" />
|
|
||||||
|
429
node_modules/typescript/lib/lib.es2020.intl.d.ts
generated
vendored
Normal file
429
node_modules/typescript/lib/lib.es2020.intl.d.ts
generated
vendored
Normal file
@ -0,0 +1,429 @@
|
|||||||
|
/*! *****************************************************************************
|
||||||
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
|
and limitations under the License.
|
||||||
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
|
/// <reference lib="es2018.intl" />
|
||||||
|
declare namespace Intl {
|
||||||
|
/**
|
||||||
|
* [Unicode BCP 47 Locale Identifiers](https://unicode.org/reports/tr35/#Unicode_Language_and_Locale_Identifiers) definition.
|
||||||
|
*
|
||||||
|
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument).
|
||||||
|
*/
|
||||||
|
type UnicodeBCP47LocaleIdentifier = string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Unit to use in the relative time internationalized message.
|
||||||
|
*
|
||||||
|
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/format#Parameters).
|
||||||
|
*/
|
||||||
|
type RelativeTimeFormatUnit =
|
||||||
|
| "year"
|
||||||
|
| "years"
|
||||||
|
| "quarter"
|
||||||
|
| "quarters"
|
||||||
|
| "month"
|
||||||
|
| "months"
|
||||||
|
| "week"
|
||||||
|
| "weeks"
|
||||||
|
| "day"
|
||||||
|
| "days"
|
||||||
|
| "hour"
|
||||||
|
| "hours"
|
||||||
|
| "minute"
|
||||||
|
| "minutes"
|
||||||
|
| "second"
|
||||||
|
| "seconds";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Value of the `unit` property in objects returned by
|
||||||
|
* `Intl.RelativeTimeFormat.prototype.formatToParts()`. `formatToParts` and
|
||||||
|
* `format` methods accept either singular or plural unit names as input,
|
||||||
|
* but `formatToParts` only outputs singular (e.g. "day") not plural (e.g.
|
||||||
|
* "days").
|
||||||
|
*
|
||||||
|
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/formatToParts#Using_formatToParts).
|
||||||
|
*/
|
||||||
|
type RelativeTimeFormatUnitSingular =
|
||||||
|
| "year"
|
||||||
|
| "quarter"
|
||||||
|
| "month"
|
||||||
|
| "week"
|
||||||
|
| "day"
|
||||||
|
| "hour"
|
||||||
|
| "minute"
|
||||||
|
| "second";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The locale matching algorithm to use.
|
||||||
|
*
|
||||||
|
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_negotiation).
|
||||||
|
*/
|
||||||
|
type RelativeTimeFormatLocaleMatcher = "lookup" | "best fit";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The format of output message.
|
||||||
|
*
|
||||||
|
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters).
|
||||||
|
*/
|
||||||
|
type RelativeTimeFormatNumeric = "always" | "auto";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The length of the internationalized message.
|
||||||
|
*
|
||||||
|
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters).
|
||||||
|
*/
|
||||||
|
type RelativeTimeFormatStyle = "long" | "short" | "narrow";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* [BCP 47 language tag](http://tools.ietf.org/html/rfc5646) definition.
|
||||||
|
*
|
||||||
|
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument).
|
||||||
|
*/
|
||||||
|
type BCP47LanguageTag = string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The locale(s) to use
|
||||||
|
*
|
||||||
|
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument).
|
||||||
|
*/
|
||||||
|
type LocalesArgument = UnicodeBCP47LocaleIdentifier | Locale | readonly (UnicodeBCP47LocaleIdentifier | Locale)[] | undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* An object with some or all of properties of `options` parameter
|
||||||
|
* of `Intl.RelativeTimeFormat` constructor.
|
||||||
|
*
|
||||||
|
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters).
|
||||||
|
*/
|
||||||
|
interface RelativeTimeFormatOptions {
|
||||||
|
/** The locale matching algorithm to use. For information about this option, see [Intl page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_negotiation). */
|
||||||
|
localeMatcher?: RelativeTimeFormatLocaleMatcher;
|
||||||
|
/** The format of output message. */
|
||||||
|
numeric?: RelativeTimeFormatNumeric;
|
||||||
|
/** The length of the internationalized message. */
|
||||||
|
style?: RelativeTimeFormatStyle;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* An object with properties reflecting the locale
|
||||||
|
* and formatting options computed during initialization
|
||||||
|
* of the `Intl.RelativeTimeFormat` object
|
||||||
|
*
|
||||||
|
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/resolvedOptions#Description).
|
||||||
|
*/
|
||||||
|
interface ResolvedRelativeTimeFormatOptions {
|
||||||
|
locale: UnicodeBCP47LocaleIdentifier;
|
||||||
|
style: RelativeTimeFormatStyle;
|
||||||
|
numeric: RelativeTimeFormatNumeric;
|
||||||
|
numberingSystem: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* An object representing the relative time format in parts
|
||||||
|
* that can be used for custom locale-aware formatting.
|
||||||
|
*
|
||||||
|
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/formatToParts#Using_formatToParts).
|
||||||
|
*/
|
||||||
|
type RelativeTimeFormatPart =
|
||||||
|
| {
|
||||||
|
type: "literal";
|
||||||
|
value: string;
|
||||||
|
}
|
||||||
|
| {
|
||||||
|
type: Exclude<NumberFormatPartTypes, "literal">;
|
||||||
|
value: string;
|
||||||
|
unit: RelativeTimeFormatUnitSingular;
|
||||||
|
};
|
||||||
|
|
||||||
|
interface RelativeTimeFormat {
|
||||||
|
/**
|
||||||
|
* Formats a value and a unit according to the locale
|
||||||
|
* and formatting options of the given
|
||||||
|
* [`Intl.RelativeTimeFormat`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat)
|
||||||
|
* object.
|
||||||
|
*
|
||||||
|
* While this method automatically provides the correct plural forms,
|
||||||
|
* the grammatical form is otherwise as neutral as possible.
|
||||||
|
*
|
||||||
|
* It is the caller's responsibility to handle cut-off logic
|
||||||
|
* such as deciding between displaying "in 7 days" or "in 1 week".
|
||||||
|
* This API does not support relative dates involving compound units.
|
||||||
|
* e.g "in 5 days and 4 hours".
|
||||||
|
*
|
||||||
|
* @param value - Numeric value to use in the internationalized relative time message
|
||||||
|
*
|
||||||
|
* @param unit - [Unit](https://tc39.es/ecma402/#sec-singularrelativetimeunit) to use in the relative time internationalized message.
|
||||||
|
*
|
||||||
|
* @throws `RangeError` if `unit` was given something other than `unit` possible values
|
||||||
|
*
|
||||||
|
* @returns {string} Internationalized relative time message as string
|
||||||
|
*
|
||||||
|
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/format).
|
||||||
|
*/
|
||||||
|
format(value: number, unit: RelativeTimeFormatUnit): string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns an array of objects representing the relative time format in parts that can be used for custom locale-aware formatting.
|
||||||
|
*
|
||||||
|
* @param value - Numeric value to use in the internationalized relative time message
|
||||||
|
*
|
||||||
|
* @param unit - [Unit](https://tc39.es/ecma402/#sec-singularrelativetimeunit) to use in the relative time internationalized message.
|
||||||
|
*
|
||||||
|
* @throws `RangeError` if `unit` was given something other than `unit` possible values
|
||||||
|
*
|
||||||
|
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/formatToParts).
|
||||||
|
*/
|
||||||
|
formatToParts(value: number, unit: RelativeTimeFormatUnit): RelativeTimeFormatPart[];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Provides access to the locale and options computed during initialization of this `Intl.RelativeTimeFormat` object.
|
||||||
|
*
|
||||||
|
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/resolvedOptions).
|
||||||
|
*/
|
||||||
|
resolvedOptions(): ResolvedRelativeTimeFormatOptions;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The [`Intl.RelativeTimeFormat`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat)
|
||||||
|
* object is a constructor for objects that enable language-sensitive relative time formatting.
|
||||||
|
*
|
||||||
|
* [Compatibility](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat#Browser_compatibility).
|
||||||
|
*/
|
||||||
|
const RelativeTimeFormat: {
|
||||||
|
/**
|
||||||
|
* Creates [Intl.RelativeTimeFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat) objects
|
||||||
|
*
|
||||||
|
* @param locales - A string with a [BCP 47 language tag](http://tools.ietf.org/html/rfc5646), or an array of such strings.
|
||||||
|
* For the general form and interpretation of the locales argument,
|
||||||
|
* see the [`Intl` page](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation).
|
||||||
|
*
|
||||||
|
* @param options - An [object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters)
|
||||||
|
* with some or all of options of `RelativeTimeFormatOptions`.
|
||||||
|
*
|
||||||
|
* @returns [Intl.RelativeTimeFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat) object.
|
||||||
|
*
|
||||||
|
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat).
|
||||||
|
*/
|
||||||
|
new (
|
||||||
|
locales?: UnicodeBCP47LocaleIdentifier | UnicodeBCP47LocaleIdentifier[],
|
||||||
|
options?: RelativeTimeFormatOptions,
|
||||||
|
): RelativeTimeFormat;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns an array containing those of the provided locales
|
||||||
|
* that are supported in date and time formatting
|
||||||
|
* without having to fall back to the runtime's default locale.
|
||||||
|
*
|
||||||
|
* @param locales - A string with a [BCP 47 language tag](http://tools.ietf.org/html/rfc5646), or an array of such strings.
|
||||||
|
* For the general form and interpretation of the locales argument,
|
||||||
|
* see the [`Intl` page](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation).
|
||||||
|
*
|
||||||
|
* @param options - An [object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters)
|
||||||
|
* with some or all of options of the formatting.
|
||||||
|
*
|
||||||
|
* @returns An array containing those of the provided locales
|
||||||
|
* that are supported in date and time formatting
|
||||||
|
* without having to fall back to the runtime's default locale.
|
||||||
|
*
|
||||||
|
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/supportedLocalesOf).
|
||||||
|
*/
|
||||||
|
supportedLocalesOf(
|
||||||
|
locales?: UnicodeBCP47LocaleIdentifier | UnicodeBCP47LocaleIdentifier[],
|
||||||
|
options?: RelativeTimeFormatOptions,
|
||||||
|
): UnicodeBCP47LocaleIdentifier[];
|
||||||
|
};
|
||||||
|
|
||||||
|
interface NumberFormatOptions {
|
||||||
|
compactDisplay?: "short" | "long" | undefined;
|
||||||
|
notation?: "standard" | "scientific" | "engineering" | "compact" | undefined;
|
||||||
|
signDisplay?: "auto" | "never" | "always" | "exceptZero" | undefined;
|
||||||
|
unit?: string | undefined;
|
||||||
|
unitDisplay?: "short" | "long" | "narrow" | undefined;
|
||||||
|
currencyDisplay?: string | undefined;
|
||||||
|
currencySign?: string | undefined;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface ResolvedNumberFormatOptions {
|
||||||
|
compactDisplay?: "short" | "long";
|
||||||
|
notation?: "standard" | "scientific" | "engineering" | "compact";
|
||||||
|
signDisplay?: "auto" | "never" | "always" | "exceptZero";
|
||||||
|
unit?: string;
|
||||||
|
unitDisplay?: "short" | "long" | "narrow";
|
||||||
|
currencyDisplay?: string;
|
||||||
|
currencySign?: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface DateTimeFormatOptions {
|
||||||
|
calendar?: string | undefined;
|
||||||
|
dayPeriod?: "narrow" | "short" | "long" | undefined;
|
||||||
|
numberingSystem?: string | undefined;
|
||||||
|
|
||||||
|
dateStyle?: "full" | "long" | "medium" | "short" | undefined;
|
||||||
|
timeStyle?: "full" | "long" | "medium" | "short" | undefined;
|
||||||
|
hourCycle?: "h11" | "h12" | "h23" | "h24" | undefined;
|
||||||
|
}
|
||||||
|
|
||||||
|
type LocaleHourCycleKey = "h12" | "h23" | "h11" | "h24";
|
||||||
|
type LocaleCollationCaseFirst = "upper" | "lower" | "false";
|
||||||
|
|
||||||
|
interface LocaleOptions {
|
||||||
|
/** A string containing the language, and the script and region if available. */
|
||||||
|
baseName?: string;
|
||||||
|
/** The part of the Locale that indicates the locale's calendar era. */
|
||||||
|
calendar?: string;
|
||||||
|
/** Flag that defines whether case is taken into account for the locale's collation rules. */
|
||||||
|
caseFirst?: LocaleCollationCaseFirst;
|
||||||
|
/** The collation type used for sorting */
|
||||||
|
collation?: string;
|
||||||
|
/** The time keeping format convention used by the locale. */
|
||||||
|
hourCycle?: LocaleHourCycleKey;
|
||||||
|
/** The primary language subtag associated with the locale. */
|
||||||
|
language?: string;
|
||||||
|
/** The numeral system used by the locale. */
|
||||||
|
numberingSystem?: string;
|
||||||
|
/** Flag that defines whether the locale has special collation handling for numeric characters. */
|
||||||
|
numeric?: boolean;
|
||||||
|
/** The region of the world (usually a country) associated with the locale. Possible values are region codes as defined by ISO 3166-1. */
|
||||||
|
region?: string;
|
||||||
|
/** The script used for writing the particular language used in the locale. Possible values are script codes as defined by ISO 15924. */
|
||||||
|
script?: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface Locale extends LocaleOptions {
|
||||||
|
/** A string containing the language, and the script and region if available. */
|
||||||
|
baseName: string;
|
||||||
|
/** The primary language subtag associated with the locale. */
|
||||||
|
language: string;
|
||||||
|
/** Gets the most likely values for the language, script, and region of the locale based on existing values. */
|
||||||
|
maximize(): Locale;
|
||||||
|
/** Attempts to remove information about the locale that would be added by calling `Locale.maximize()`. */
|
||||||
|
minimize(): Locale;
|
||||||
|
/** Returns the locale's full locale identifier string. */
|
||||||
|
toString(): BCP47LanguageTag;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructor creates [Intl.Locale](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale)
|
||||||
|
* objects
|
||||||
|
*
|
||||||
|
* @param tag - A string with a [BCP 47 language tag](http://tools.ietf.org/html/rfc5646).
|
||||||
|
* For the general form and interpretation of the locales argument,
|
||||||
|
* see the [`Intl` page](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation).
|
||||||
|
*
|
||||||
|
* @param options - An [object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/Locale#Parameters) with some or all of options of the locale.
|
||||||
|
*
|
||||||
|
* @returns [Intl.Locale](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale) object.
|
||||||
|
*
|
||||||
|
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale).
|
||||||
|
*/
|
||||||
|
const Locale: {
|
||||||
|
new (tag: BCP47LanguageTag | Locale, options?: LocaleOptions): Locale;
|
||||||
|
};
|
||||||
|
|
||||||
|
type DisplayNamesFallback =
|
||||||
|
| "code"
|
||||||
|
| "none";
|
||||||
|
|
||||||
|
type DisplayNamesType =
|
||||||
|
| "language"
|
||||||
|
| "region"
|
||||||
|
| "script"
|
||||||
|
| "calendar"
|
||||||
|
| "dateTimeField"
|
||||||
|
| "currency";
|
||||||
|
|
||||||
|
type DisplayNamesLanguageDisplay =
|
||||||
|
| "dialect"
|
||||||
|
| "standard";
|
||||||
|
|
||||||
|
interface DisplayNamesOptions {
|
||||||
|
localeMatcher?: RelativeTimeFormatLocaleMatcher;
|
||||||
|
style?: RelativeTimeFormatStyle;
|
||||||
|
type: DisplayNamesType;
|
||||||
|
languageDisplay?: DisplayNamesLanguageDisplay;
|
||||||
|
fallback?: DisplayNamesFallback;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface ResolvedDisplayNamesOptions {
|
||||||
|
locale: UnicodeBCP47LocaleIdentifier;
|
||||||
|
style: RelativeTimeFormatStyle;
|
||||||
|
type: DisplayNamesType;
|
||||||
|
fallback: DisplayNamesFallback;
|
||||||
|
languageDisplay?: DisplayNamesLanguageDisplay;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface DisplayNames {
|
||||||
|
/**
|
||||||
|
* Receives a code and returns a string based on the locale and options provided when instantiating
|
||||||
|
* [`Intl.DisplayNames()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames)
|
||||||
|
*
|
||||||
|
* @param code The `code` to provide depends on the `type` passed to display name during creation:
|
||||||
|
* - If the type is `"region"`, code should be either an [ISO-3166 two letters region code](https://www.iso.org/iso-3166-country-codes.html),
|
||||||
|
* or a [three digits UN M49 Geographic Regions](https://unstats.un.org/unsd/methodology/m49/).
|
||||||
|
* - If the type is `"script"`, code should be an [ISO-15924 four letters script code](https://unicode.org/iso15924/iso15924-codes.html).
|
||||||
|
* - If the type is `"language"`, code should be a `languageCode` ["-" `scriptCode`] ["-" `regionCode` ] *("-" `variant` )
|
||||||
|
* subsequence of the unicode_language_id grammar in [UTS 35's Unicode Language and Locale Identifiers grammar](https://unicode.org/reports/tr35/#Unicode_language_identifier).
|
||||||
|
* `languageCode` is either a two letters ISO 639-1 language code or a three letters ISO 639-2 language code.
|
||||||
|
* - If the type is `"currency"`, code should be a [3-letter ISO 4217 currency code](https://www.iso.org/iso-4217-currency-codes.html).
|
||||||
|
*
|
||||||
|
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/of).
|
||||||
|
*/
|
||||||
|
of(code: string): string | undefined;
|
||||||
|
/**
|
||||||
|
* Returns a new object with properties reflecting the locale and style formatting options computed during the construction of the current
|
||||||
|
* [`Intl/DisplayNames`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames) object.
|
||||||
|
*
|
||||||
|
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/resolvedOptions).
|
||||||
|
*/
|
||||||
|
resolvedOptions(): ResolvedDisplayNamesOptions;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The [`Intl.DisplayNames()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames)
|
||||||
|
* object enables the consistent translation of language, region and script display names.
|
||||||
|
*
|
||||||
|
* [Compatibility](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames#browser_compatibility).
|
||||||
|
*/
|
||||||
|
const DisplayNames: {
|
||||||
|
prototype: DisplayNames;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param locales A string with a BCP 47 language tag, or an array of such strings.
|
||||||
|
* For the general form and interpretation of the `locales` argument, see the [Intl](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locale_identification_and_negotiation)
|
||||||
|
* page.
|
||||||
|
*
|
||||||
|
* @param options An object for setting up a display name.
|
||||||
|
*
|
||||||
|
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/DisplayNames).
|
||||||
|
*/
|
||||||
|
new (locales: LocalesArgument, options: DisplayNamesOptions): DisplayNames;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns an array containing those of the provided locales that are supported in display names without having to fall back to the runtime's default locale.
|
||||||
|
*
|
||||||
|
* @param locales A string with a BCP 47 language tag, or an array of such strings.
|
||||||
|
* For the general form and interpretation of the `locales` argument, see the [Intl](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locale_identification_and_negotiation)
|
||||||
|
* page.
|
||||||
|
*
|
||||||
|
* @param options An object with a locale matcher.
|
||||||
|
*
|
||||||
|
* @returns An array of strings representing a subset of the given locale tags that are supported in display names without having to fall back to the runtime's default locale.
|
||||||
|
*
|
||||||
|
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/supportedLocalesOf).
|
||||||
|
*/
|
||||||
|
supportedLocalesOf(locales?: LocalesArgument, options?: { localeMatcher?: RelativeTimeFormatLocaleMatcher; }): BCP47LanguageTag[];
|
||||||
|
};
|
||||||
|
}
|
28
node_modules/typescript/lib/lib.es2020.number.d.ts
generated
vendored
Normal file
28
node_modules/typescript/lib/lib.es2020.number.d.ts
generated
vendored
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
/*! *****************************************************************************
|
||||||
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
|
and limitations under the License.
|
||||||
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
|
/// <reference lib="es2020.intl" />
|
||||||
|
|
||||||
|
interface Number {
|
||||||
|
/**
|
||||||
|
* Converts a number to a string by using the current or specified locale.
|
||||||
|
* @param locales A locale string, array of locale strings, Intl.Locale object, or array of Intl.Locale objects that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.
|
||||||
|
* @param options An object that contains one or more properties that specify comparison options.
|
||||||
|
*/
|
||||||
|
toLocaleString(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
||||||
|
}
|
47
node_modules/typescript/lib/lib.es2020.promise.d.ts
generated
vendored
Normal file
47
node_modules/typescript/lib/lib.es2020.promise.d.ts
generated
vendored
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
/*! *****************************************************************************
|
||||||
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
|
and limitations under the License.
|
||||||
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
|
interface PromiseFulfilledResult<T> {
|
||||||
|
status: "fulfilled";
|
||||||
|
value: T;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface PromiseRejectedResult {
|
||||||
|
status: "rejected";
|
||||||
|
reason: any;
|
||||||
|
}
|
||||||
|
|
||||||
|
type PromiseSettledResult<T> = PromiseFulfilledResult<T> | PromiseRejectedResult;
|
||||||
|
|
||||||
|
interface PromiseConstructor {
|
||||||
|
/**
|
||||||
|
* Creates a Promise that is resolved with an array of results when all
|
||||||
|
* of the provided Promises resolve or reject.
|
||||||
|
* @param values An array of Promises.
|
||||||
|
* @returns A new Promise.
|
||||||
|
*/
|
||||||
|
allSettled<T extends readonly unknown[] | []>(values: T): Promise<{ -readonly [P in keyof T]: PromiseSettledResult<Awaited<T[P]>>; }>;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Creates a Promise that is resolved with an array of results when all
|
||||||
|
* of the provided Promises resolve or reject.
|
||||||
|
* @param values An array of Promises.
|
||||||
|
* @returns A new Promise.
|
||||||
|
*/
|
||||||
|
allSettled<T>(values: Iterable<T | PromiseLike<T>>): Promise<PromiseSettledResult<Awaited<T>>[]>;
|
||||||
|
}
|
97
node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts
generated
vendored
Normal file
97
node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts
generated
vendored
Normal file
@ -0,0 +1,97 @@
|
|||||||
|
/*! *****************************************************************************
|
||||||
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
|
and limitations under the License.
|
||||||
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
|
interface Atomics {
|
||||||
|
/**
|
||||||
|
* Adds a value to the value at the given position in the array, returning the original value.
|
||||||
|
* Until this atomic operation completes, any other read or write operation against the array
|
||||||
|
* will block.
|
||||||
|
*/
|
||||||
|
add(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Stores the bitwise AND of a value with the value at the given position in the array,
|
||||||
|
* returning the original value. Until this atomic operation completes, any other read or
|
||||||
|
* write operation against the array will block.
|
||||||
|
*/
|
||||||
|
and(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Replaces the value at the given position in the array if the original value equals the given
|
||||||
|
* expected value, returning the original value. Until this atomic operation completes, any
|
||||||
|
* other read or write operation against the array will block.
|
||||||
|
*/
|
||||||
|
compareExchange(typedArray: BigInt64Array | BigUint64Array, index: number, expectedValue: bigint, replacementValue: bigint): bigint;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Replaces the value at the given position in the array, returning the original value. Until
|
||||||
|
* this atomic operation completes, any other read or write operation against the array will
|
||||||
|
* block.
|
||||||
|
*/
|
||||||
|
exchange(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the value at the given position in the array. Until this atomic operation completes,
|
||||||
|
* any other read or write operation against the array will block.
|
||||||
|
*/
|
||||||
|
load(typedArray: BigInt64Array | BigUint64Array, index: number): bigint;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Stores the bitwise OR of a value with the value at the given position in the array,
|
||||||
|
* returning the original value. Until this atomic operation completes, any other read or write
|
||||||
|
* operation against the array will block.
|
||||||
|
*/
|
||||||
|
or(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Stores a value at the given position in the array, returning the new value. Until this
|
||||||
|
* atomic operation completes, any other read or write operation against the array will block.
|
||||||
|
*/
|
||||||
|
store(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Subtracts a value from the value at the given position in the array, returning the original
|
||||||
|
* value. Until this atomic operation completes, any other read or write operation against the
|
||||||
|
* array will block.
|
||||||
|
*/
|
||||||
|
sub(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* If the value at the given position in the array is equal to the provided value, the current
|
||||||
|
* agent is put to sleep causing execution to suspend until the timeout expires (returning
|
||||||
|
* `"timed-out"`) or until the agent is awoken (returning `"ok"`); otherwise, returns
|
||||||
|
* `"not-equal"`.
|
||||||
|
*/
|
||||||
|
wait(typedArray: BigInt64Array, index: number, value: bigint, timeout?: number): "ok" | "not-equal" | "timed-out";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Wakes up sleeping agents that are waiting on the given index of the array, returning the
|
||||||
|
* number of agents that were awoken.
|
||||||
|
* @param typedArray A shared BigInt64Array.
|
||||||
|
* @param index The position in the typedArray to wake up on.
|
||||||
|
* @param count The number of sleeping agents to notify. Defaults to +Infinity.
|
||||||
|
*/
|
||||||
|
notify(typedArray: BigInt64Array, index: number, count?: number): number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Stores the bitwise XOR of a value with the value at the given position in the array,
|
||||||
|
* returning the original value. Until this atomic operation completes, any other read or write
|
||||||
|
* operation against the array will block.
|
||||||
|
*/
|
||||||
|
xor(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;
|
||||||
|
}
|
34
node_modules/typescript/lib/lib.es2020.string.d.ts
generated
vendored
34
node_modules/typescript/lib/lib.es2020.string.d.ts
generated
vendored
@ -1,30 +1,28 @@
|
|||||||
/*! *****************************************************************************
|
/*! *****************************************************************************
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
and limitations under the License.
|
and limitations under the License.
|
||||||
***************************************************************************** */
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
/// <reference no-default-lib="true"/>
|
/// <reference lib="es2015.iterable" />
|
||||||
|
|
||||||
|
interface String {
|
||||||
/// <reference lib="es2015.iterable" />
|
/**
|
||||||
|
* Matches a string with a regular expression, and returns an iterable of matches
|
||||||
interface String {
|
* containing the results of that search.
|
||||||
/**
|
* @param regexp A variable name or string literal containing the regular expression pattern and flags.
|
||||||
* Matches a string with a regular expression, and returns an iterable of matches
|
*/
|
||||||
* containing the results of that search.
|
matchAll(regexp: RegExp): IterableIterator<RegExpMatchArray>;
|
||||||
* @param regexp A variable name or string literal containing the regular expression pattern and flags.
|
}
|
||||||
*/
|
|
||||||
matchAll(regexp: RegExp): IterableIterator<RegExpMatchArray>;
|
|
||||||
}
|
|
||||||
|
50
node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts
generated
vendored
50
node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts
generated
vendored
@ -1,39 +1,37 @@
|
|||||||
/*! *****************************************************************************
|
/*! *****************************************************************************
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
and limitations under the License.
|
and limitations under the License.
|
||||||
***************************************************************************** */
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
/// <reference no-default-lib="true"/>
|
/// <reference lib="es2015.iterable" />
|
||||||
|
/// <reference lib="es2015.symbol" />
|
||||||
|
|
||||||
|
interface SymbolConstructor {
|
||||||
|
/**
|
||||||
|
* A regular expression method that matches the regular expression against a string. Called
|
||||||
|
* by the String.prototype.matchAll method.
|
||||||
|
*/
|
||||||
|
readonly matchAll: unique symbol;
|
||||||
|
}
|
||||||
|
|
||||||
/// <reference lib="es2015.iterable" />
|
interface RegExp {
|
||||||
/// <reference lib="es2015.symbol" />
|
/**
|
||||||
|
* Matches a string with this regular expression, and returns an iterable of matches
|
||||||
interface SymbolConstructor {
|
* containing the results of that search.
|
||||||
/**
|
* @param string A string to search within.
|
||||||
* A regular expression method that matches the regular expression against a string. Called
|
*/
|
||||||
* by the String.prototype.matchAll method.
|
[Symbol.matchAll](str: string): IterableIterator<RegExpMatchArray>;
|
||||||
*/
|
}
|
||||||
readonly matchAll: symbol;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface RegExp {
|
|
||||||
/**
|
|
||||||
* Matches a string with this regular expression, and returns an iterable of matches
|
|
||||||
* containing the results of that search.
|
|
||||||
* @param string A string to search within.
|
|
||||||
*/
|
|
||||||
[Symbol.matchAll](str: string): IterableIterator<RegExpMatchArray>;
|
|
||||||
}
|
|
||||||
|
23
node_modules/typescript/lib/lib.es2021.d.ts
generated
vendored
Normal file
23
node_modules/typescript/lib/lib.es2021.d.ts
generated
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
/*! *****************************************************************************
|
||||||
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
|
and limitations under the License.
|
||||||
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
|
/// <reference lib="es2020" />
|
||||||
|
/// <reference lib="es2021.promise" />
|
||||||
|
/// <reference lib="es2021.string" />
|
||||||
|
/// <reference lib="es2021.weakref" />
|
||||||
|
/// <reference lib="es2021.intl" />
|
23
node_modules/typescript/lib/lib.es2021.full.d.ts
generated
vendored
Normal file
23
node_modules/typescript/lib/lib.es2021.full.d.ts
generated
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
/*! *****************************************************************************
|
||||||
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
|
and limitations under the License.
|
||||||
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
|
/// <reference lib="es2021" />
|
||||||
|
/// <reference lib="dom" />
|
||||||
|
/// <reference lib="webworker.importscripts" />
|
||||||
|
/// <reference lib="scripthost" />
|
||||||
|
/// <reference lib="dom.iterable" />
|
166
node_modules/typescript/lib/lib.es2021.intl.d.ts
generated
vendored
Normal file
166
node_modules/typescript/lib/lib.es2021.intl.d.ts
generated
vendored
Normal file
@ -0,0 +1,166 @@
|
|||||||
|
/*! *****************************************************************************
|
||||||
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
|
and limitations under the License.
|
||||||
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
|
declare namespace Intl {
|
||||||
|
interface DateTimeFormatPartTypesRegistry {
|
||||||
|
fractionalSecond: any;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface DateTimeFormatOptions {
|
||||||
|
formatMatcher?: "basic" | "best fit" | "best fit" | undefined;
|
||||||
|
dateStyle?: "full" | "long" | "medium" | "short" | undefined;
|
||||||
|
timeStyle?: "full" | "long" | "medium" | "short" | undefined;
|
||||||
|
dayPeriod?: "narrow" | "short" | "long" | undefined;
|
||||||
|
fractionalSecondDigits?: 1 | 2 | 3 | undefined;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface DateTimeRangeFormatPart extends DateTimeFormatPart {
|
||||||
|
source: "startRange" | "endRange" | "shared";
|
||||||
|
}
|
||||||
|
|
||||||
|
interface DateTimeFormat {
|
||||||
|
formatRange(startDate: Date | number | bigint, endDate: Date | number | bigint): string;
|
||||||
|
formatRangeToParts(startDate: Date | number | bigint, endDate: Date | number | bigint): DateTimeRangeFormatPart[];
|
||||||
|
}
|
||||||
|
|
||||||
|
interface ResolvedDateTimeFormatOptions {
|
||||||
|
formatMatcher?: "basic" | "best fit" | "best fit";
|
||||||
|
dateStyle?: "full" | "long" | "medium" | "short";
|
||||||
|
timeStyle?: "full" | "long" | "medium" | "short";
|
||||||
|
hourCycle?: "h11" | "h12" | "h23" | "h24";
|
||||||
|
dayPeriod?: "narrow" | "short" | "long";
|
||||||
|
fractionalSecondDigits?: 1 | 2 | 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The locale matching algorithm to use.
|
||||||
|
*
|
||||||
|
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/ListFormat#parameters).
|
||||||
|
*/
|
||||||
|
type ListFormatLocaleMatcher = "lookup" | "best fit";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The format of output message.
|
||||||
|
*
|
||||||
|
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/ListFormat#parameters).
|
||||||
|
*/
|
||||||
|
type ListFormatType = "conjunction" | "disjunction" | "unit";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The length of the formatted message.
|
||||||
|
*
|
||||||
|
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/ListFormat#parameters).
|
||||||
|
*/
|
||||||
|
type ListFormatStyle = "long" | "short" | "narrow";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* An object with some or all properties of the `Intl.ListFormat` constructor `options` parameter.
|
||||||
|
*
|
||||||
|
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/ListFormat#parameters).
|
||||||
|
*/
|
||||||
|
interface ListFormatOptions {
|
||||||
|
/** The locale matching algorithm to use. For information about this option, see [Intl page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_negotiation). */
|
||||||
|
localeMatcher?: ListFormatLocaleMatcher | undefined;
|
||||||
|
/** The format of output message. */
|
||||||
|
type?: ListFormatType | undefined;
|
||||||
|
/** The length of the internationalized message. */
|
||||||
|
style?: ListFormatStyle | undefined;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface ResolvedListFormatOptions {
|
||||||
|
locale: string;
|
||||||
|
style: ListFormatStyle;
|
||||||
|
type: ListFormatType;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface ListFormat {
|
||||||
|
/**
|
||||||
|
* Returns a string with a language-specific representation of the list.
|
||||||
|
*
|
||||||
|
* @param list - An iterable object, such as an [Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array).
|
||||||
|
*
|
||||||
|
* @throws `TypeError` if `list` includes something other than the possible values.
|
||||||
|
*
|
||||||
|
* @returns {string} A language-specific formatted string representing the elements of the list.
|
||||||
|
*
|
||||||
|
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/format).
|
||||||
|
*/
|
||||||
|
format(list: Iterable<string>): string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns an Array of objects representing the different components that can be used to format a list of values in a locale-aware fashion.
|
||||||
|
*
|
||||||
|
* @param list - An iterable object, such as an [Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array), to be formatted according to a locale.
|
||||||
|
*
|
||||||
|
* @throws `TypeError` if `list` includes something other than the possible values.
|
||||||
|
*
|
||||||
|
* @returns {{ type: "element" | "literal", value: string; }[]} An Array of components which contains the formatted parts from the list.
|
||||||
|
*
|
||||||
|
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/formatToParts).
|
||||||
|
*/
|
||||||
|
formatToParts(list: Iterable<string>): { type: "element" | "literal"; value: string; }[];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns a new object with properties reflecting the locale and style
|
||||||
|
* formatting options computed during the construction of the current
|
||||||
|
* `Intl.ListFormat` object.
|
||||||
|
*
|
||||||
|
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/resolvedOptions).
|
||||||
|
*/
|
||||||
|
resolvedOptions(): ResolvedListFormatOptions;
|
||||||
|
}
|
||||||
|
|
||||||
|
const ListFormat: {
|
||||||
|
prototype: ListFormat;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Creates [Intl.ListFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat) objects that
|
||||||
|
* enable language-sensitive list formatting.
|
||||||
|
*
|
||||||
|
* @param locales - A string with a [BCP 47 language tag](http://tools.ietf.org/html/rfc5646), or an array of such strings.
|
||||||
|
* For the general form and interpretation of the `locales` argument,
|
||||||
|
* see the [`Intl` page](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation).
|
||||||
|
*
|
||||||
|
* @param options - An [object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/ListFormat#parameters)
|
||||||
|
* with some or all options of `ListFormatOptions`.
|
||||||
|
*
|
||||||
|
* @returns [Intl.ListFormatOptions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat) object.
|
||||||
|
*
|
||||||
|
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat).
|
||||||
|
*/
|
||||||
|
new (locales?: BCP47LanguageTag | BCP47LanguageTag[], options?: ListFormatOptions): ListFormat;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns an array containing those of the provided locales that are
|
||||||
|
* supported in list formatting without having to fall back to the runtime's default locale.
|
||||||
|
*
|
||||||
|
* @param locales - A string with a [BCP 47 language tag](http://tools.ietf.org/html/rfc5646), or an array of such strings.
|
||||||
|
* For the general form and interpretation of the `locales` argument,
|
||||||
|
* see the [`Intl` page](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation).
|
||||||
|
*
|
||||||
|
* @param options - An [object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/supportedLocalesOf#parameters).
|
||||||
|
* with some or all possible options.
|
||||||
|
*
|
||||||
|
* @returns An array of strings representing a subset of the given locale tags that are supported in list
|
||||||
|
* formatting without having to fall back to the runtime's default locale.
|
||||||
|
*
|
||||||
|
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/supportedLocalesOf).
|
||||||
|
*/
|
||||||
|
supportedLocalesOf(locales: BCP47LanguageTag | BCP47LanguageTag[], options?: Pick<ListFormatOptions, "localeMatcher">): BCP47LanguageTag[];
|
||||||
|
};
|
||||||
|
}
|
48
node_modules/typescript/lib/lib.es2021.promise.d.ts
generated
vendored
Normal file
48
node_modules/typescript/lib/lib.es2021.promise.d.ts
generated
vendored
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
/*! *****************************************************************************
|
||||||
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
|
and limitations under the License.
|
||||||
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
|
interface AggregateError extends Error {
|
||||||
|
errors: any[];
|
||||||
|
}
|
||||||
|
|
||||||
|
interface AggregateErrorConstructor {
|
||||||
|
new (errors: Iterable<any>, message?: string): AggregateError;
|
||||||
|
(errors: Iterable<any>, message?: string): AggregateError;
|
||||||
|
readonly prototype: AggregateError;
|
||||||
|
}
|
||||||
|
|
||||||
|
declare var AggregateError: AggregateErrorConstructor;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Represents the completion of an asynchronous operation
|
||||||
|
*/
|
||||||
|
interface PromiseConstructor {
|
||||||
|
/**
|
||||||
|
* The any function returns a promise that is fulfilled by the first given promise to be fulfilled, or rejected with an AggregateError containing an array of rejection reasons if all of the given promises are rejected. It resolves all elements of the passed iterable to promises as it runs this algorithm.
|
||||||
|
* @param values An array or iterable of Promises.
|
||||||
|
* @returns A new Promise.
|
||||||
|
*/
|
||||||
|
any<T extends readonly unknown[] | []>(values: T): Promise<Awaited<T[number]>>;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The any function returns a promise that is fulfilled by the first given promise to be fulfilled, or rejected with an AggregateError containing an array of rejection reasons if all of the given promises are rejected. It resolves all elements of the passed iterable to promises as it runs this algorithm.
|
||||||
|
* @param values An array or iterable of Promises.
|
||||||
|
* @returns A new Promise.
|
||||||
|
*/
|
||||||
|
any<T>(values: Iterable<T | PromiseLike<T>>): Promise<Awaited<T>>;
|
||||||
|
}
|
33
node_modules/typescript/lib/lib.es2021.string.d.ts
generated
vendored
Normal file
33
node_modules/typescript/lib/lib.es2021.string.d.ts
generated
vendored
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
/*! *****************************************************************************
|
||||||
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
|
and limitations under the License.
|
||||||
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
|
interface String {
|
||||||
|
/**
|
||||||
|
* Replace all instances of a substring in a string, using a regular expression or search string.
|
||||||
|
* @param searchValue A string to search for.
|
||||||
|
* @param replaceValue A string containing the text to replace for every successful match of searchValue in this string.
|
||||||
|
*/
|
||||||
|
replaceAll(searchValue: string | RegExp, replaceValue: string): string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Replace all instances of a substring in a string, using a regular expression or search string.
|
||||||
|
* @param searchValue A string to search for.
|
||||||
|
* @param replacer A function that returns the replacement text.
|
||||||
|
*/
|
||||||
|
replaceAll(searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
|
||||||
|
}
|
76
node_modules/typescript/lib/lib.es2021.weakref.d.ts
generated
vendored
Normal file
76
node_modules/typescript/lib/lib.es2021.weakref.d.ts
generated
vendored
Normal file
@ -0,0 +1,76 @@
|
|||||||
|
/*! *****************************************************************************
|
||||||
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
|
and limitations under the License.
|
||||||
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
|
interface WeakRef<T extends WeakKey> {
|
||||||
|
readonly [Symbol.toStringTag]: "WeakRef";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the WeakRef instance's target value, or undefined if the target value has been
|
||||||
|
* reclaimed.
|
||||||
|
* In es2023 the value can be either a symbol or an object, in previous versions only object is permissible.
|
||||||
|
*/
|
||||||
|
deref(): T | undefined;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface WeakRefConstructor {
|
||||||
|
readonly prototype: WeakRef<any>;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Creates a WeakRef instance for the given target value.
|
||||||
|
* In es2023 the value can be either a symbol or an object, in previous versions only object is permissible.
|
||||||
|
* @param target The target value for the WeakRef instance.
|
||||||
|
*/
|
||||||
|
new <T extends WeakKey>(target: T): WeakRef<T>;
|
||||||
|
}
|
||||||
|
|
||||||
|
declare var WeakRef: WeakRefConstructor;
|
||||||
|
|
||||||
|
interface FinalizationRegistry<T> {
|
||||||
|
readonly [Symbol.toStringTag]: "FinalizationRegistry";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Registers a value with the registry.
|
||||||
|
* In es2023 the value can be either a symbol or an object, in previous versions only object is permissible.
|
||||||
|
* @param target The target value to register.
|
||||||
|
* @param heldValue The value to pass to the finalizer for this value. This cannot be the
|
||||||
|
* target value.
|
||||||
|
* @param unregisterToken The token to pass to the unregister method to unregister the target
|
||||||
|
* value. If not provided, the target cannot be unregistered.
|
||||||
|
*/
|
||||||
|
register(target: WeakKey, heldValue: T, unregisterToken?: WeakKey): void;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Unregisters a value from the registry.
|
||||||
|
* In es2023 the value can be either a symbol or an object, in previous versions only object is permissible.
|
||||||
|
* @param unregisterToken The token that was used as the unregisterToken argument when calling
|
||||||
|
* register to register the target value.
|
||||||
|
*/
|
||||||
|
unregister(unregisterToken: WeakKey): void;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface FinalizationRegistryConstructor {
|
||||||
|
readonly prototype: FinalizationRegistry<any>;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Creates a finalization registry with an associated cleanup callback
|
||||||
|
* @param cleanupCallback The callback to call after a value in the registry has been reclaimed.
|
||||||
|
*/
|
||||||
|
new <T>(cleanupCallback: (heldValue: T) => void): FinalizationRegistry<T>;
|
||||||
|
}
|
||||||
|
|
||||||
|
declare var FinalizationRegistry: FinalizationRegistryConstructor;
|
121
node_modules/typescript/lib/lib.es2022.array.d.ts
generated
vendored
Normal file
121
node_modules/typescript/lib/lib.es2022.array.d.ts
generated
vendored
Normal file
@ -0,0 +1,121 @@
|
|||||||
|
/*! *****************************************************************************
|
||||||
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
|
and limitations under the License.
|
||||||
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
|
interface Array<T> {
|
||||||
|
/**
|
||||||
|
* Returns the item located at the specified index.
|
||||||
|
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
|
||||||
|
*/
|
||||||
|
at(index: number): T | undefined;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface ReadonlyArray<T> {
|
||||||
|
/**
|
||||||
|
* Returns the item located at the specified index.
|
||||||
|
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
|
||||||
|
*/
|
||||||
|
at(index: number): T | undefined;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface Int8Array {
|
||||||
|
/**
|
||||||
|
* Returns the item located at the specified index.
|
||||||
|
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
|
||||||
|
*/
|
||||||
|
at(index: number): number | undefined;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface Uint8Array {
|
||||||
|
/**
|
||||||
|
* Returns the item located at the specified index.
|
||||||
|
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
|
||||||
|
*/
|
||||||
|
at(index: number): number | undefined;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface Uint8ClampedArray {
|
||||||
|
/**
|
||||||
|
* Returns the item located at the specified index.
|
||||||
|
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
|
||||||
|
*/
|
||||||
|
at(index: number): number | undefined;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface Int16Array {
|
||||||
|
/**
|
||||||
|
* Returns the item located at the specified index.
|
||||||
|
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
|
||||||
|
*/
|
||||||
|
at(index: number): number | undefined;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface Uint16Array {
|
||||||
|
/**
|
||||||
|
* Returns the item located at the specified index.
|
||||||
|
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
|
||||||
|
*/
|
||||||
|
at(index: number): number | undefined;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface Int32Array {
|
||||||
|
/**
|
||||||
|
* Returns the item located at the specified index.
|
||||||
|
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
|
||||||
|
*/
|
||||||
|
at(index: number): number | undefined;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface Uint32Array {
|
||||||
|
/**
|
||||||
|
* Returns the item located at the specified index.
|
||||||
|
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
|
||||||
|
*/
|
||||||
|
at(index: number): number | undefined;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface Float32Array {
|
||||||
|
/**
|
||||||
|
* Returns the item located at the specified index.
|
||||||
|
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
|
||||||
|
*/
|
||||||
|
at(index: number): number | undefined;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface Float64Array {
|
||||||
|
/**
|
||||||
|
* Returns the item located at the specified index.
|
||||||
|
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
|
||||||
|
*/
|
||||||
|
at(index: number): number | undefined;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface BigInt64Array {
|
||||||
|
/**
|
||||||
|
* Returns the item located at the specified index.
|
||||||
|
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
|
||||||
|
*/
|
||||||
|
at(index: number): bigint | undefined;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface BigUint64Array {
|
||||||
|
/**
|
||||||
|
* Returns the item located at the specified index.
|
||||||
|
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
|
||||||
|
*/
|
||||||
|
at(index: number): bigint | undefined;
|
||||||
|
}
|
26
node_modules/typescript/lib/lib.es2022.d.ts
generated
vendored
Normal file
26
node_modules/typescript/lib/lib.es2022.d.ts
generated
vendored
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
/*! *****************************************************************************
|
||||||
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
|
and limitations under the License.
|
||||||
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
|
/// <reference lib="es2021" />
|
||||||
|
/// <reference lib="es2022.array" />
|
||||||
|
/// <reference lib="es2022.error" />
|
||||||
|
/// <reference lib="es2022.intl" />
|
||||||
|
/// <reference lib="es2022.object" />
|
||||||
|
/// <reference lib="es2022.sharedmemory" />
|
||||||
|
/// <reference lib="es2022.string" />
|
||||||
|
/// <reference lib="es2022.regexp" />
|
73
node_modules/typescript/lib/lib.es2022.error.d.ts
generated
vendored
Normal file
73
node_modules/typescript/lib/lib.es2022.error.d.ts
generated
vendored
Normal file
@ -0,0 +1,73 @@
|
|||||||
|
/*! *****************************************************************************
|
||||||
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
|
and limitations under the License.
|
||||||
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
|
interface ErrorOptions {
|
||||||
|
cause?: unknown;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface Error {
|
||||||
|
cause?: unknown;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface ErrorConstructor {
|
||||||
|
new (message?: string, options?: ErrorOptions): Error;
|
||||||
|
(message?: string, options?: ErrorOptions): Error;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface EvalErrorConstructor {
|
||||||
|
new (message?: string, options?: ErrorOptions): EvalError;
|
||||||
|
(message?: string, options?: ErrorOptions): EvalError;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface RangeErrorConstructor {
|
||||||
|
new (message?: string, options?: ErrorOptions): RangeError;
|
||||||
|
(message?: string, options?: ErrorOptions): RangeError;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface ReferenceErrorConstructor {
|
||||||
|
new (message?: string, options?: ErrorOptions): ReferenceError;
|
||||||
|
(message?: string, options?: ErrorOptions): ReferenceError;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface SyntaxErrorConstructor {
|
||||||
|
new (message?: string, options?: ErrorOptions): SyntaxError;
|
||||||
|
(message?: string, options?: ErrorOptions): SyntaxError;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface TypeErrorConstructor {
|
||||||
|
new (message?: string, options?: ErrorOptions): TypeError;
|
||||||
|
(message?: string, options?: ErrorOptions): TypeError;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface URIErrorConstructor {
|
||||||
|
new (message?: string, options?: ErrorOptions): URIError;
|
||||||
|
(message?: string, options?: ErrorOptions): URIError;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface AggregateErrorConstructor {
|
||||||
|
new (
|
||||||
|
errors: Iterable<any>,
|
||||||
|
message?: string,
|
||||||
|
options?: ErrorOptions,
|
||||||
|
): AggregateError;
|
||||||
|
(
|
||||||
|
errors: Iterable<any>,
|
||||||
|
message?: string,
|
||||||
|
options?: ErrorOptions,
|
||||||
|
): AggregateError;
|
||||||
|
}
|
23
node_modules/typescript/lib/lib.es2022.full.d.ts
generated
vendored
Normal file
23
node_modules/typescript/lib/lib.es2022.full.d.ts
generated
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
/*! *****************************************************************************
|
||||||
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
|
and limitations under the License.
|
||||||
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
|
/// <reference lib="es2022" />
|
||||||
|
/// <reference lib="dom" />
|
||||||
|
/// <reference lib="webworker.importscripts" />
|
||||||
|
/// <reference lib="scripthost" />
|
||||||
|
/// <reference lib="dom.iterable" />
|
117
node_modules/typescript/lib/lib.es2022.intl.d.ts
generated
vendored
Normal file
117
node_modules/typescript/lib/lib.es2022.intl.d.ts
generated
vendored
Normal file
@ -0,0 +1,117 @@
|
|||||||
|
/*! *****************************************************************************
|
||||||
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
|
and limitations under the License.
|
||||||
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
|
declare namespace Intl {
|
||||||
|
/**
|
||||||
|
* An object with some or all properties of the `Intl.Segmenter` constructor `options` parameter.
|
||||||
|
*
|
||||||
|
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/Segmenter#parameters)
|
||||||
|
*/
|
||||||
|
interface SegmenterOptions {
|
||||||
|
/** The locale matching algorithm to use. For information about this option, see [Intl page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_negotiation). */
|
||||||
|
localeMatcher?: "best fit" | "lookup" | undefined;
|
||||||
|
/** The type of input to be split */
|
||||||
|
granularity?: "grapheme" | "word" | "sentence" | undefined;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface Segmenter {
|
||||||
|
/**
|
||||||
|
* Returns `Segments` object containing the segments of the input string, using the segmenter's locale and granularity.
|
||||||
|
*
|
||||||
|
* @param input - The text to be segmented as a `string`.
|
||||||
|
*
|
||||||
|
* @returns A new iterable Segments object containing the segments of the input string, using the segmenter's locale and granularity.
|
||||||
|
*/
|
||||||
|
segment(input: string): Segments;
|
||||||
|
resolvedOptions(): ResolvedSegmenterOptions;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface ResolvedSegmenterOptions {
|
||||||
|
locale: string;
|
||||||
|
granularity: "grapheme" | "word" | "sentence";
|
||||||
|
}
|
||||||
|
|
||||||
|
interface Segments {
|
||||||
|
/**
|
||||||
|
* Returns an object describing the segment in the original string that includes the code unit at a specified index.
|
||||||
|
*
|
||||||
|
* @param codeUnitIndex - A number specifying the index of the code unit in the original input string. If the value is omitted, it defaults to `0`.
|
||||||
|
*/
|
||||||
|
containing(codeUnitIndex?: number): SegmentData;
|
||||||
|
|
||||||
|
/** Returns an iterator to iterate over the segments. */
|
||||||
|
[Symbol.iterator](): IterableIterator<SegmentData>;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface SegmentData {
|
||||||
|
/** A string containing the segment extracted from the original input string. */
|
||||||
|
segment: string;
|
||||||
|
/** The code unit index in the original input string at which the segment begins. */
|
||||||
|
index: number;
|
||||||
|
/** The complete input string that was segmented. */
|
||||||
|
input: string;
|
||||||
|
/**
|
||||||
|
* A boolean value only if granularity is "word"; otherwise, undefined.
|
||||||
|
* If granularity is "word", then isWordLike is true when the segment is word-like (i.e., consists of letters/numbers/ideographs/etc.); otherwise, false.
|
||||||
|
*/
|
||||||
|
isWordLike?: boolean;
|
||||||
|
}
|
||||||
|
|
||||||
|
const Segmenter: {
|
||||||
|
prototype: Segmenter;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Creates a new `Intl.Segmenter` object.
|
||||||
|
*
|
||||||
|
* @param locales - A string with a [BCP 47 language tag](http://tools.ietf.org/html/rfc5646), or an array of such strings.
|
||||||
|
* For the general form and interpretation of the `locales` argument,
|
||||||
|
* see the [`Intl` page](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation).
|
||||||
|
*
|
||||||
|
* @param options - An [object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/Segmenter#parameters)
|
||||||
|
* with some or all options of `SegmenterOptions`.
|
||||||
|
*
|
||||||
|
* @returns [Intl.Segmenter](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segments) object.
|
||||||
|
*
|
||||||
|
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter).
|
||||||
|
*/
|
||||||
|
new (locales?: BCP47LanguageTag | BCP47LanguageTag[], options?: SegmenterOptions): Segmenter;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns an array containing those of the provided locales that are supported without having to fall back to the runtime's default locale.
|
||||||
|
*
|
||||||
|
* @param locales - A string with a [BCP 47 language tag](http://tools.ietf.org/html/rfc5646), or an array of such strings.
|
||||||
|
* For the general form and interpretation of the `locales` argument,
|
||||||
|
* see the [`Intl` page](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation).
|
||||||
|
*
|
||||||
|
* @param options An [object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/supportedLocalesOf#parameters).
|
||||||
|
* with some or all possible options.
|
||||||
|
*
|
||||||
|
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/supportedLocalesOf)
|
||||||
|
*/
|
||||||
|
supportedLocalesOf(locales: BCP47LanguageTag | BCP47LanguageTag[], options?: Pick<SegmenterOptions, "localeMatcher">): BCP47LanguageTag[];
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns a sorted array of the supported collation, calendar, currency, numbering system, timezones, and units by the implementation.
|
||||||
|
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/supportedValuesOf)
|
||||||
|
*
|
||||||
|
* @param key A string indicating the category of values to return.
|
||||||
|
* @returns A sorted array of the supported values.
|
||||||
|
*/
|
||||||
|
function supportedValuesOf(key: "calendar" | "collation" | "currency" | "numberingSystem" | "timeZone" | "unit"): string[];
|
||||||
|
}
|
26
node_modules/typescript/lib/lib.es2022.object.d.ts
generated
vendored
Normal file
26
node_modules/typescript/lib/lib.es2022.object.d.ts
generated
vendored
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
/*! *****************************************************************************
|
||||||
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
|
and limitations under the License.
|
||||||
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
|
interface ObjectConstructor {
|
||||||
|
/**
|
||||||
|
* Determines whether an object has a property with the specified name.
|
||||||
|
* @param o An object.
|
||||||
|
* @param v A property name.
|
||||||
|
*/
|
||||||
|
hasOwn(o: object, v: PropertyKey): boolean;
|
||||||
|
}
|
39
node_modules/typescript/lib/lib.es2022.regexp.d.ts
generated
vendored
Normal file
39
node_modules/typescript/lib/lib.es2022.regexp.d.ts
generated
vendored
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
/*! *****************************************************************************
|
||||||
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
|
and limitations under the License.
|
||||||
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
|
interface RegExpMatchArray {
|
||||||
|
indices?: RegExpIndicesArray;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface RegExpExecArray {
|
||||||
|
indices?: RegExpIndicesArray;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface RegExpIndicesArray extends Array<[number, number]> {
|
||||||
|
groups?: {
|
||||||
|
[key: string]: [number, number];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
interface RegExp {
|
||||||
|
/**
|
||||||
|
* Returns a Boolean value indicating the state of the hasIndices flag (d) used with with a regular expression.
|
||||||
|
* Default is false. Read-only.
|
||||||
|
*/
|
||||||
|
readonly hasIndices: boolean;
|
||||||
|
}
|
39
node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts
generated
vendored
Normal file
39
node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts
generated
vendored
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
/*! *****************************************************************************
|
||||||
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
|
and limitations under the License.
|
||||||
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
|
interface Atomics {
|
||||||
|
/**
|
||||||
|
* A non-blocking, asynchronous version of wait which is usable on the main thread.
|
||||||
|
* Waits asynchronously on a shared memory location and returns a Promise
|
||||||
|
* @param typedArray A shared Int32Array or BigInt64Array.
|
||||||
|
* @param index The position in the typedArray to wait on.
|
||||||
|
* @param value The expected value to test.
|
||||||
|
* @param [timeout] The expected value to test.
|
||||||
|
*/
|
||||||
|
waitAsync(typedArray: Int32Array, index: number, value: number, timeout?: number): { async: false; value: "not-equal" | "timed-out"; } | { async: true; value: Promise<"ok" | "timed-out">; };
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A non-blocking, asynchronous version of wait which is usable on the main thread.
|
||||||
|
* Waits asynchronously on a shared memory location and returns a Promise
|
||||||
|
* @param typedArray A shared Int32Array or BigInt64Array.
|
||||||
|
* @param index The position in the typedArray to wait on.
|
||||||
|
* @param value The expected value to test.
|
||||||
|
* @param [timeout] The expected value to test.
|
||||||
|
*/
|
||||||
|
waitAsync(typedArray: BigInt64Array, index: number, value: bigint, timeout?: number): { async: false; value: "not-equal" | "timed-out"; } | { async: true; value: Promise<"ok" | "timed-out">; };
|
||||||
|
}
|
25
node_modules/typescript/lib/lib.es2022.string.d.ts
generated
vendored
Normal file
25
node_modules/typescript/lib/lib.es2022.string.d.ts
generated
vendored
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
/*! *****************************************************************************
|
||||||
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
|
and limitations under the License.
|
||||||
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
|
interface String {
|
||||||
|
/**
|
||||||
|
* Returns a new String consisting of the single UTF-16 code unit located at the specified index.
|
||||||
|
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
|
||||||
|
*/
|
||||||
|
at(index: number): string | undefined;
|
||||||
|
}
|
924
node_modules/typescript/lib/lib.es2023.array.d.ts
generated
vendored
Normal file
924
node_modules/typescript/lib/lib.es2023.array.d.ts
generated
vendored
Normal file
@ -0,0 +1,924 @@
|
|||||||
|
/*! *****************************************************************************
|
||||||
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
|
and limitations under the License.
|
||||||
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
|
interface Array<T> {
|
||||||
|
/**
|
||||||
|
* Returns the value of the last element in the array where predicate is true, and undefined
|
||||||
|
* otherwise.
|
||||||
|
* @param predicate findLast calls predicate once for each element of the array, in descending
|
||||||
|
* order, until it finds one where predicate returns true. If such an element is found, findLast
|
||||||
|
* immediately returns that element value. Otherwise, findLast returns undefined.
|
||||||
|
* @param thisArg If provided, it will be used as the this value for each invocation of
|
||||||
|
* predicate. If it is not provided, undefined is used instead.
|
||||||
|
*/
|
||||||
|
findLast<S extends T>(predicate: (value: T, index: number, array: T[]) => value is S, thisArg?: any): S | undefined;
|
||||||
|
findLast(predicate: (value: T, index: number, array: T[]) => unknown, thisArg?: any): T | undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the index of the last element in the array where predicate is true, and -1
|
||||||
|
* otherwise.
|
||||||
|
* @param predicate findLastIndex calls predicate once for each element of the array, in descending
|
||||||
|
* order, until it finds one where predicate returns true. If such an element is found,
|
||||||
|
* findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
|
||||||
|
* @param thisArg If provided, it will be used as the this value for each invocation of
|
||||||
|
* predicate. If it is not provided, undefined is used instead.
|
||||||
|
*/
|
||||||
|
findLastIndex(predicate: (value: T, index: number, array: T[]) => unknown, thisArg?: any): number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns a copy of an array with its elements reversed.
|
||||||
|
*/
|
||||||
|
toReversed(): T[];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns a copy of an array with its elements sorted.
|
||||||
|
* @param compareFn Function used to determine the order of the elements. It is expected to return
|
||||||
|
* a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
|
||||||
|
* value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
|
||||||
|
* ```ts
|
||||||
|
* [11, 2, 22, 1].toSorted((a, b) => a - b) // [1, 2, 11, 22]
|
||||||
|
* ```
|
||||||
|
*/
|
||||||
|
toSorted(compareFn?: (a: T, b: T) => number): T[];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Copies an array and removes elements and, if necessary, inserts new elements in their place. Returns the copied array.
|
||||||
|
* @param start The zero-based location in the array from which to start removing elements.
|
||||||
|
* @param deleteCount The number of elements to remove.
|
||||||
|
* @param items Elements to insert into the copied array in place of the deleted elements.
|
||||||
|
* @returns The copied array.
|
||||||
|
*/
|
||||||
|
toSpliced(start: number, deleteCount: number, ...items: T[]): T[];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Copies an array and removes elements while returning the remaining elements.
|
||||||
|
* @param start The zero-based location in the array from which to start removing elements.
|
||||||
|
* @param deleteCount The number of elements to remove.
|
||||||
|
* @returns A copy of the original array with the remaining elements.
|
||||||
|
*/
|
||||||
|
toSpliced(start: number, deleteCount?: number): T[];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Copies an array, then overwrites the value at the provided index with the
|
||||||
|
* given value. If the index is negative, then it replaces from the end
|
||||||
|
* of the array.
|
||||||
|
* @param index The index of the value to overwrite. If the index is
|
||||||
|
* negative, then it replaces from the end of the array.
|
||||||
|
* @param value The value to write into the copied array.
|
||||||
|
* @returns The copied array with the updated value.
|
||||||
|
*/
|
||||||
|
with(index: number, value: T): T[];
|
||||||
|
}
|
||||||
|
|
||||||
|
interface ReadonlyArray<T> {
|
||||||
|
/**
|
||||||
|
* Returns the value of the last element in the array where predicate is true, and undefined
|
||||||
|
* otherwise.
|
||||||
|
* @param predicate findLast calls predicate once for each element of the array, in descending
|
||||||
|
* order, until it finds one where predicate returns true. If such an element is found, findLast
|
||||||
|
* immediately returns that element value. Otherwise, findLast returns undefined.
|
||||||
|
* @param thisArg If provided, it will be used as the this value for each invocation of
|
||||||
|
* predicate. If it is not provided, undefined is used instead.
|
||||||
|
*/
|
||||||
|
findLast<S extends T>(
|
||||||
|
predicate: (value: T, index: number, array: readonly T[]) => value is S,
|
||||||
|
thisArg?: any,
|
||||||
|
): S | undefined;
|
||||||
|
findLast(
|
||||||
|
predicate: (value: T, index: number, array: readonly T[]) => unknown,
|
||||||
|
thisArg?: any,
|
||||||
|
): T | undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the index of the last element in the array where predicate is true, and -1
|
||||||
|
* otherwise.
|
||||||
|
* @param predicate findLastIndex calls predicate once for each element of the array, in descending
|
||||||
|
* order, until it finds one where predicate returns true. If such an element is found,
|
||||||
|
* findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
|
||||||
|
* @param thisArg If provided, it will be used as the this value for each invocation of
|
||||||
|
* predicate. If it is not provided, undefined is used instead.
|
||||||
|
*/
|
||||||
|
findLastIndex(
|
||||||
|
predicate: (value: T, index: number, array: readonly T[]) => unknown,
|
||||||
|
thisArg?: any,
|
||||||
|
): number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Copies the array and returns the copied array with all of its elements reversed.
|
||||||
|
*/
|
||||||
|
toReversed(): T[];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Copies and sorts the array.
|
||||||
|
* @param compareFn Function used to determine the order of the elements. It is expected to return
|
||||||
|
* a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
|
||||||
|
* value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
|
||||||
|
* ```ts
|
||||||
|
* [11, 2, 22, 1].toSorted((a, b) => a - b) // [1, 2, 11, 22]
|
||||||
|
* ```
|
||||||
|
*/
|
||||||
|
toSorted(compareFn?: (a: T, b: T) => number): T[];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Copies an array and removes elements while, if necessary, inserting new elements in their place, returning the remaining elements.
|
||||||
|
* @param start The zero-based location in the array from which to start removing elements.
|
||||||
|
* @param deleteCount The number of elements to remove.
|
||||||
|
* @param items Elements to insert into the copied array in place of the deleted elements.
|
||||||
|
* @returns A copy of the original array with the remaining elements.
|
||||||
|
*/
|
||||||
|
toSpliced(start: number, deleteCount: number, ...items: T[]): T[];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Copies an array and removes elements while returning the remaining elements.
|
||||||
|
* @param start The zero-based location in the array from which to start removing elements.
|
||||||
|
* @param deleteCount The number of elements to remove.
|
||||||
|
* @returns A copy of the original array with the remaining elements.
|
||||||
|
*/
|
||||||
|
toSpliced(start: number, deleteCount?: number): T[];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Copies an array, then overwrites the value at the provided index with the
|
||||||
|
* given value. If the index is negative, then it replaces from the end
|
||||||
|
* of the array
|
||||||
|
* @param index The index of the value to overwrite. If the index is
|
||||||
|
* negative, then it replaces from the end of the array.
|
||||||
|
* @param value The value to insert into the copied array.
|
||||||
|
* @returns A copy of the original array with the inserted value.
|
||||||
|
*/
|
||||||
|
with(index: number, value: T): T[];
|
||||||
|
}
|
||||||
|
|
||||||
|
interface Int8Array {
|
||||||
|
/**
|
||||||
|
* Returns the value of the last element in the array where predicate is true, and undefined
|
||||||
|
* otherwise.
|
||||||
|
* @param predicate findLast calls predicate once for each element of the array, in descending
|
||||||
|
* order, until it finds one where predicate returns true. If such an element is found, findLast
|
||||||
|
* immediately returns that element value. Otherwise, findLast returns undefined.
|
||||||
|
* @param thisArg If provided, it will be used as the this value for each invocation of
|
||||||
|
* predicate. If it is not provided, undefined is used instead.
|
||||||
|
*/
|
||||||
|
findLast<S extends number>(
|
||||||
|
predicate: (
|
||||||
|
value: number,
|
||||||
|
index: number,
|
||||||
|
array: Int8Array,
|
||||||
|
) => value is S,
|
||||||
|
thisArg?: any,
|
||||||
|
): S | undefined;
|
||||||
|
findLast(
|
||||||
|
predicate: (value: number, index: number, array: Int8Array) => unknown,
|
||||||
|
thisArg?: any,
|
||||||
|
): number | undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the index of the last element in the array where predicate is true, and -1
|
||||||
|
* otherwise.
|
||||||
|
* @param predicate findLastIndex calls predicate once for each element of the array, in descending
|
||||||
|
* order, until it finds one where predicate returns true. If such an element is found,
|
||||||
|
* findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
|
||||||
|
* @param thisArg If provided, it will be used as the this value for each invocation of
|
||||||
|
* predicate. If it is not provided, undefined is used instead.
|
||||||
|
*/
|
||||||
|
findLastIndex(
|
||||||
|
predicate: (value: number, index: number, array: Int8Array) => unknown,
|
||||||
|
thisArg?: any,
|
||||||
|
): number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Copies the array and returns the copy with the elements in reverse order.
|
||||||
|
*/
|
||||||
|
toReversed(): Uint8Array;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Copies and sorts the array.
|
||||||
|
* @param compareFn Function used to determine the order of the elements. It is expected to return
|
||||||
|
* a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
|
||||||
|
* value otherwise. If omitted, the elements are sorted in ascending order.
|
||||||
|
* ```ts
|
||||||
|
* const myNums = Uint8Array.from([11, 2, 22, 1]);
|
||||||
|
* myNums.toSorted((a, b) => a - b) // Uint8Array(4) [1, 2, 11, 22]
|
||||||
|
* ```
|
||||||
|
*/
|
||||||
|
toSorted(compareFn?: (a: number, b: number) => number): Uint8Array;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Copies the array and inserts the given number at the provided index.
|
||||||
|
* @param index The index of the value to overwrite. If the index is
|
||||||
|
* negative, then it replaces from the end of the array.
|
||||||
|
* @param value The value to insert into the copied array.
|
||||||
|
* @returns A copy of the original array with the inserted value.
|
||||||
|
*/
|
||||||
|
with(index: number, value: number): Uint8Array;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface Uint8Array {
|
||||||
|
/**
|
||||||
|
* Returns the value of the last element in the array where predicate is true, and undefined
|
||||||
|
* otherwise.
|
||||||
|
* @param predicate findLast calls predicate once for each element of the array, in descending
|
||||||
|
* order, until it finds one where predicate returns true. If such an element is found, findLast
|
||||||
|
* immediately returns that element value. Otherwise, findLast returns undefined.
|
||||||
|
* @param thisArg If provided, it will be used as the this value for each invocation of
|
||||||
|
* predicate. If it is not provided, undefined is used instead.
|
||||||
|
*/
|
||||||
|
findLast<S extends number>(
|
||||||
|
predicate: (
|
||||||
|
value: number,
|
||||||
|
index: number,
|
||||||
|
array: Uint8Array,
|
||||||
|
) => value is S,
|
||||||
|
thisArg?: any,
|
||||||
|
): S | undefined;
|
||||||
|
findLast(
|
||||||
|
predicate: (value: number, index: number, array: Uint8Array) => unknown,
|
||||||
|
thisArg?: any,
|
||||||
|
): number | undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the index of the last element in the array where predicate is true, and -1
|
||||||
|
* otherwise.
|
||||||
|
* @param predicate findLastIndex calls predicate once for each element of the array, in descending
|
||||||
|
* order, until it finds one where predicate returns true. If such an element is found,
|
||||||
|
* findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
|
||||||
|
* @param thisArg If provided, it will be used as the this value for each invocation of
|
||||||
|
* predicate. If it is not provided, undefined is used instead.
|
||||||
|
*/
|
||||||
|
findLastIndex(
|
||||||
|
predicate: (value: number, index: number, array: Uint8Array) => unknown,
|
||||||
|
thisArg?: any,
|
||||||
|
): number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Copies the array and returns the copy with the elements in reverse order.
|
||||||
|
*/
|
||||||
|
toReversed(): Uint8Array;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Copies and sorts the array.
|
||||||
|
* @param compareFn Function used to determine the order of the elements. It is expected to return
|
||||||
|
* a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
|
||||||
|
* value otherwise. If omitted, the elements are sorted in ascending order.
|
||||||
|
* ```ts
|
||||||
|
* const myNums = Uint8Array.from([11, 2, 22, 1]);
|
||||||
|
* myNums.toSorted((a, b) => a - b) // Uint8Array(4) [1, 2, 11, 22]
|
||||||
|
* ```
|
||||||
|
*/
|
||||||
|
toSorted(compareFn?: (a: number, b: number) => number): Uint8Array;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Copies the array and inserts the given number at the provided index.
|
||||||
|
* @param index The index of the value to overwrite. If the index is
|
||||||
|
* negative, then it replaces from the end of the array.
|
||||||
|
* @param value The value to insert into the copied array.
|
||||||
|
* @returns A copy of the original array with the inserted value.
|
||||||
|
*/
|
||||||
|
with(index: number, value: number): Uint8Array;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface Uint8ClampedArray {
|
||||||
|
/**
|
||||||
|
* Returns the value of the last element in the array where predicate is true, and undefined
|
||||||
|
* otherwise.
|
||||||
|
* @param predicate findLast calls predicate once for each element of the array, in descending
|
||||||
|
* order, until it finds one where predicate returns true. If such an element is found, findLast
|
||||||
|
* immediately returns that element value. Otherwise, findLast returns undefined.
|
||||||
|
* @param thisArg If provided, it will be used as the this value for each invocation of
|
||||||
|
* predicate. If it is not provided, undefined is used instead.
|
||||||
|
*/
|
||||||
|
findLast<S extends number>(
|
||||||
|
predicate: (
|
||||||
|
value: number,
|
||||||
|
index: number,
|
||||||
|
array: Uint8ClampedArray,
|
||||||
|
) => value is S,
|
||||||
|
thisArg?: any,
|
||||||
|
): S | undefined;
|
||||||
|
findLast(
|
||||||
|
predicate: (
|
||||||
|
value: number,
|
||||||
|
index: number,
|
||||||
|
array: Uint8ClampedArray,
|
||||||
|
) => unknown,
|
||||||
|
thisArg?: any,
|
||||||
|
): number | undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the index of the last element in the array where predicate is true, and -1
|
||||||
|
* otherwise.
|
||||||
|
* @param predicate findLastIndex calls predicate once for each element of the array, in descending
|
||||||
|
* order, until it finds one where predicate returns true. If such an element is found,
|
||||||
|
* findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
|
||||||
|
* @param thisArg If provided, it will be used as the this value for each invocation of
|
||||||
|
* predicate. If it is not provided, undefined is used instead.
|
||||||
|
*/
|
||||||
|
findLastIndex(
|
||||||
|
predicate: (
|
||||||
|
value: number,
|
||||||
|
index: number,
|
||||||
|
array: Uint8ClampedArray,
|
||||||
|
) => unknown,
|
||||||
|
thisArg?: any,
|
||||||
|
): number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Copies the array and returns the copy with the elements in reverse order.
|
||||||
|
*/
|
||||||
|
toReversed(): Uint8ClampedArray;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Copies and sorts the array.
|
||||||
|
* @param compareFn Function used to determine the order of the elements. It is expected to return
|
||||||
|
* a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
|
||||||
|
* value otherwise. If omitted, the elements are sorted in ascending order.
|
||||||
|
* ```ts
|
||||||
|
* const myNums = Uint8ClampedArray.from([11, 2, 22, 1]);
|
||||||
|
* myNums.toSorted((a, b) => a - b) // Uint8ClampedArray(4) [1, 2, 11, 22]
|
||||||
|
* ```
|
||||||
|
*/
|
||||||
|
toSorted(compareFn?: (a: number, b: number) => number): Uint8ClampedArray;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Copies the array and inserts the given number at the provided index.
|
||||||
|
* @param index The index of the value to overwrite. If the index is
|
||||||
|
* negative, then it replaces from the end of the array.
|
||||||
|
* @param value The value to insert into the copied array.
|
||||||
|
* @returns A copy of the original array with the inserted value.
|
||||||
|
*/
|
||||||
|
with(index: number, value: number): Uint8ClampedArray;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface Int16Array {
|
||||||
|
/**
|
||||||
|
* Returns the value of the last element in the array where predicate is true, and undefined
|
||||||
|
* otherwise.
|
||||||
|
* @param predicate findLast calls predicate once for each element of the array, in descending
|
||||||
|
* order, until it finds one where predicate returns true. If such an element is found, findLast
|
||||||
|
* immediately returns that element value. Otherwise, findLast returns undefined.
|
||||||
|
* @param thisArg If provided, it will be used as the this value for each invocation of
|
||||||
|
* predicate. If it is not provided, undefined is used instead.
|
||||||
|
*/
|
||||||
|
findLast<S extends number>(
|
||||||
|
predicate: (
|
||||||
|
value: number,
|
||||||
|
index: number,
|
||||||
|
array: Int16Array,
|
||||||
|
) => value is S,
|
||||||
|
thisArg?: any,
|
||||||
|
): S | undefined;
|
||||||
|
findLast(
|
||||||
|
predicate: (value: number, index: number, array: Int16Array) => unknown,
|
||||||
|
thisArg?: any,
|
||||||
|
): number | undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the index of the last element in the array where predicate is true, and -1
|
||||||
|
* otherwise.
|
||||||
|
* @param predicate findLastIndex calls predicate once for each element of the array, in descending
|
||||||
|
* order, until it finds one where predicate returns true. If such an element is found,
|
||||||
|
* findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
|
||||||
|
* @param thisArg If provided, it will be used as the this value for each invocation of
|
||||||
|
* predicate. If it is not provided, undefined is used instead.
|
||||||
|
*/
|
||||||
|
findLastIndex(
|
||||||
|
predicate: (value: number, index: number, array: Int16Array) => unknown,
|
||||||
|
thisArg?: any,
|
||||||
|
): number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Copies the array and returns the copy with the elements in reverse order.
|
||||||
|
*/
|
||||||
|
toReversed(): Int16Array;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Copies and sorts the array.
|
||||||
|
* @param compareFn Function used to determine the order of the elements. It is expected to return
|
||||||
|
* a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
|
||||||
|
* value otherwise. If omitted, the elements are sorted in ascending order.
|
||||||
|
* ```ts
|
||||||
|
* const myNums = Int16Array.from([11, 2, -22, 1]);
|
||||||
|
* myNums.toSorted((a, b) => a - b) // Int16Array(4) [-22, 1, 2, 11]
|
||||||
|
* ```
|
||||||
|
*/
|
||||||
|
toSorted(compareFn?: (a: number, b: number) => number): Int16Array;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Copies the array and inserts the given number at the provided index.
|
||||||
|
* @param index The index of the value to overwrite. If the index is
|
||||||
|
* negative, then it replaces from the end of the array.
|
||||||
|
* @param value The value to insert into the copied array.
|
||||||
|
* @returns A copy of the original array with the inserted value.
|
||||||
|
*/
|
||||||
|
with(index: number, value: number): Int16Array;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface Uint16Array {
|
||||||
|
/**
|
||||||
|
* Returns the value of the last element in the array where predicate is true, and undefined
|
||||||
|
* otherwise.
|
||||||
|
* @param predicate findLast calls predicate once for each element of the array, in descending
|
||||||
|
* order, until it finds one where predicate returns true. If such an element is found, findLast
|
||||||
|
* immediately returns that element value. Otherwise, findLast returns undefined.
|
||||||
|
* @param thisArg If provided, it will be used as the this value for each invocation of
|
||||||
|
* predicate. If it is not provided, undefined is used instead.
|
||||||
|
*/
|
||||||
|
findLast<S extends number>(
|
||||||
|
predicate: (
|
||||||
|
value: number,
|
||||||
|
index: number,
|
||||||
|
array: Uint16Array,
|
||||||
|
) => value is S,
|
||||||
|
thisArg?: any,
|
||||||
|
): S | undefined;
|
||||||
|
findLast(
|
||||||
|
predicate: (
|
||||||
|
value: number,
|
||||||
|
index: number,
|
||||||
|
array: Uint16Array,
|
||||||
|
) => unknown,
|
||||||
|
thisArg?: any,
|
||||||
|
): number | undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the index of the last element in the array where predicate is true, and -1
|
||||||
|
* otherwise.
|
||||||
|
* @param predicate findLastIndex calls predicate once for each element of the array, in descending
|
||||||
|
* order, until it finds one where predicate returns true. If such an element is found,
|
||||||
|
* findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
|
||||||
|
* @param thisArg If provided, it will be used as the this value for each invocation of
|
||||||
|
* predicate. If it is not provided, undefined is used instead.
|
||||||
|
*/
|
||||||
|
findLastIndex(
|
||||||
|
predicate: (
|
||||||
|
value: number,
|
||||||
|
index: number,
|
||||||
|
array: Uint16Array,
|
||||||
|
) => unknown,
|
||||||
|
thisArg?: any,
|
||||||
|
): number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Copies the array and returns the copy with the elements in reverse order.
|
||||||
|
*/
|
||||||
|
toReversed(): Uint16Array;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Copies and sorts the array.
|
||||||
|
* @param compareFn Function used to determine the order of the elements. It is expected to return
|
||||||
|
* a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
|
||||||
|
* value otherwise. If omitted, the elements are sorted in ascending order.
|
||||||
|
* ```ts
|
||||||
|
* const myNums = Uint16Array.from([11, 2, 22, 1]);
|
||||||
|
* myNums.toSorted((a, b) => a - b) // Uint16Array(4) [1, 2, 11, 22]
|
||||||
|
* ```
|
||||||
|
*/
|
||||||
|
toSorted(compareFn?: (a: number, b: number) => number): Uint16Array;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Copies the array and inserts the given number at the provided index.
|
||||||
|
* @param index The index of the value to overwrite. If the index is
|
||||||
|
* negative, then it replaces from the end of the array.
|
||||||
|
* @param value The value to insert into the copied array.
|
||||||
|
* @returns A copy of the original array with the inserted value.
|
||||||
|
*/
|
||||||
|
with(index: number, value: number): Uint16Array;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface Int32Array {
|
||||||
|
/**
|
||||||
|
* Returns the value of the last element in the array where predicate is true, and undefined
|
||||||
|
* otherwise.
|
||||||
|
* @param predicate findLast calls predicate once for each element of the array, in descending
|
||||||
|
* order, until it finds one where predicate returns true. If such an element is found, findLast
|
||||||
|
* immediately returns that element value. Otherwise, findLast returns undefined.
|
||||||
|
* @param thisArg If provided, it will be used as the this value for each invocation of
|
||||||
|
* predicate. If it is not provided, undefined is used instead.
|
||||||
|
*/
|
||||||
|
findLast<S extends number>(
|
||||||
|
predicate: (
|
||||||
|
value: number,
|
||||||
|
index: number,
|
||||||
|
array: Int32Array,
|
||||||
|
) => value is S,
|
||||||
|
thisArg?: any,
|
||||||
|
): S | undefined;
|
||||||
|
findLast(
|
||||||
|
predicate: (value: number, index: number, array: Int32Array) => unknown,
|
||||||
|
thisArg?: any,
|
||||||
|
): number | undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the index of the last element in the array where predicate is true, and -1
|
||||||
|
* otherwise.
|
||||||
|
* @param predicate findLastIndex calls predicate once for each element of the array, in descending
|
||||||
|
* order, until it finds one where predicate returns true. If such an element is found,
|
||||||
|
* findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
|
||||||
|
* @param thisArg If provided, it will be used as the this value for each invocation of
|
||||||
|
* predicate. If it is not provided, undefined is used instead.
|
||||||
|
*/
|
||||||
|
findLastIndex(
|
||||||
|
predicate: (value: number, index: number, array: Int32Array) => unknown,
|
||||||
|
thisArg?: any,
|
||||||
|
): number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Copies the array and returns the copy with the elements in reverse order.
|
||||||
|
*/
|
||||||
|
toReversed(): Int32Array;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Copies and sorts the array.
|
||||||
|
* @param compareFn Function used to determine the order of the elements. It is expected to return
|
||||||
|
* a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
|
||||||
|
* value otherwise. If omitted, the elements are sorted in ascending order.
|
||||||
|
* ```ts
|
||||||
|
* const myNums = Int32Array.from([11, 2, -22, 1]);
|
||||||
|
* myNums.toSorted((a, b) => a - b) // Int32Array(4) [-22, 1, 2, 11]
|
||||||
|
* ```
|
||||||
|
*/
|
||||||
|
toSorted(compareFn?: (a: number, b: number) => number): Int32Array;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Copies the array and inserts the given number at the provided index.
|
||||||
|
* @param index The index of the value to overwrite. If the index is
|
||||||
|
* negative, then it replaces from the end of the array.
|
||||||
|
* @param value The value to insert into the copied array.
|
||||||
|
* @returns A copy of the original array with the inserted value.
|
||||||
|
*/
|
||||||
|
with(index: number, value: number): Int32Array;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface Uint32Array {
|
||||||
|
/**
|
||||||
|
* Returns the value of the last element in the array where predicate is true, and undefined
|
||||||
|
* otherwise.
|
||||||
|
* @param predicate findLast calls predicate once for each element of the array, in descending
|
||||||
|
* order, until it finds one where predicate returns true. If such an element is found, findLast
|
||||||
|
* immediately returns that element value. Otherwise, findLast returns undefined.
|
||||||
|
* @param thisArg If provided, it will be used as the this value for each invocation of
|
||||||
|
* predicate. If it is not provided, undefined is used instead.
|
||||||
|
*/
|
||||||
|
findLast<S extends number>(
|
||||||
|
predicate: (
|
||||||
|
value: number,
|
||||||
|
index: number,
|
||||||
|
array: Uint32Array,
|
||||||
|
) => value is S,
|
||||||
|
thisArg?: any,
|
||||||
|
): S | undefined;
|
||||||
|
findLast(
|
||||||
|
predicate: (
|
||||||
|
value: number,
|
||||||
|
index: number,
|
||||||
|
array: Uint32Array,
|
||||||
|
) => unknown,
|
||||||
|
thisArg?: any,
|
||||||
|
): number | undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the index of the last element in the array where predicate is true, and -1
|
||||||
|
* otherwise.
|
||||||
|
* @param predicate findLastIndex calls predicate once for each element of the array, in descending
|
||||||
|
* order, until it finds one where predicate returns true. If such an element is found,
|
||||||
|
* findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
|
||||||
|
* @param thisArg If provided, it will be used as the this value for each invocation of
|
||||||
|
* predicate. If it is not provided, undefined is used instead.
|
||||||
|
*/
|
||||||
|
findLastIndex(
|
||||||
|
predicate: (
|
||||||
|
value: number,
|
||||||
|
index: number,
|
||||||
|
array: Uint32Array,
|
||||||
|
) => unknown,
|
||||||
|
thisArg?: any,
|
||||||
|
): number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Copies the array and returns the copy with the elements in reverse order.
|
||||||
|
*/
|
||||||
|
toReversed(): Uint32Array;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Copies and sorts the array.
|
||||||
|
* @param compareFn Function used to determine the order of the elements. It is expected to return
|
||||||
|
* a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
|
||||||
|
* value otherwise. If omitted, the elements are sorted in ascending order.
|
||||||
|
* ```ts
|
||||||
|
* const myNums = Uint32Array.from([11, 2, 22, 1]);
|
||||||
|
* myNums.toSorted((a, b) => a - b) // Uint32Array(4) [1, 2, 11, 22]
|
||||||
|
* ```
|
||||||
|
*/
|
||||||
|
toSorted(compareFn?: (a: number, b: number) => number): Uint32Array;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Copies the array and inserts the given number at the provided index.
|
||||||
|
* @param index The index of the value to overwrite. If the index is
|
||||||
|
* negative, then it replaces from the end of the array.
|
||||||
|
* @param value The value to insert into the copied array.
|
||||||
|
* @returns A copy of the original array with the inserted value.
|
||||||
|
*/
|
||||||
|
with(index: number, value: number): Uint32Array;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface Float32Array {
|
||||||
|
/**
|
||||||
|
* Returns the value of the last element in the array where predicate is true, and undefined
|
||||||
|
* otherwise.
|
||||||
|
* @param predicate findLast calls predicate once for each element of the array, in descending
|
||||||
|
* order, until it finds one where predicate returns true. If such an element is found, findLast
|
||||||
|
* immediately returns that element value. Otherwise, findLast returns undefined.
|
||||||
|
* @param thisArg If provided, it will be used as the this value for each invocation of
|
||||||
|
* predicate. If it is not provided, undefined is used instead.
|
||||||
|
*/
|
||||||
|
findLast<S extends number>(
|
||||||
|
predicate: (
|
||||||
|
value: number,
|
||||||
|
index: number,
|
||||||
|
array: Float32Array,
|
||||||
|
) => value is S,
|
||||||
|
thisArg?: any,
|
||||||
|
): S | undefined;
|
||||||
|
findLast(
|
||||||
|
predicate: (
|
||||||
|
value: number,
|
||||||
|
index: number,
|
||||||
|
array: Float32Array,
|
||||||
|
) => unknown,
|
||||||
|
thisArg?: any,
|
||||||
|
): number | undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the index of the last element in the array where predicate is true, and -1
|
||||||
|
* otherwise.
|
||||||
|
* @param predicate findLastIndex calls predicate once for each element of the array, in descending
|
||||||
|
* order, until it finds one where predicate returns true. If such an element is found,
|
||||||
|
* findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
|
||||||
|
* @param thisArg If provided, it will be used as the this value for each invocation of
|
||||||
|
* predicate. If it is not provided, undefined is used instead.
|
||||||
|
*/
|
||||||
|
findLastIndex(
|
||||||
|
predicate: (
|
||||||
|
value: number,
|
||||||
|
index: number,
|
||||||
|
array: Float32Array,
|
||||||
|
) => unknown,
|
||||||
|
thisArg?: any,
|
||||||
|
): number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Copies the array and returns the copy with the elements in reverse order.
|
||||||
|
*/
|
||||||
|
toReversed(): Float32Array;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Copies and sorts the array.
|
||||||
|
* @param compareFn Function used to determine the order of the elements. It is expected to return
|
||||||
|
* a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
|
||||||
|
* value otherwise. If omitted, the elements are sorted in ascending order.
|
||||||
|
* ```ts
|
||||||
|
* const myNums = Float32Array.from([11.25, 2, -22.5, 1]);
|
||||||
|
* myNums.toSorted((a, b) => a - b) // Float32Array(4) [-22.5, 1, 2, 11.5]
|
||||||
|
* ```
|
||||||
|
*/
|
||||||
|
toSorted(compareFn?: (a: number, b: number) => number): Float32Array;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Copies the array and inserts the given number at the provided index.
|
||||||
|
* @param index The index of the value to overwrite. If the index is
|
||||||
|
* negative, then it replaces from the end of the array.
|
||||||
|
* @param value The value to insert into the copied array.
|
||||||
|
* @returns A copy of the original array with the inserted value.
|
||||||
|
*/
|
||||||
|
with(index: number, value: number): Float32Array;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface Float64Array {
|
||||||
|
/**
|
||||||
|
* Returns the value of the last element in the array where predicate is true, and undefined
|
||||||
|
* otherwise.
|
||||||
|
* @param predicate findLast calls predicate once for each element of the array, in descending
|
||||||
|
* order, until it finds one where predicate returns true. If such an element is found, findLast
|
||||||
|
* immediately returns that element value. Otherwise, findLast returns undefined.
|
||||||
|
* @param thisArg If provided, it will be used as the this value for each invocation of
|
||||||
|
* predicate. If it is not provided, undefined is used instead.
|
||||||
|
*/
|
||||||
|
findLast<S extends number>(
|
||||||
|
predicate: (
|
||||||
|
value: number,
|
||||||
|
index: number,
|
||||||
|
array: Float64Array,
|
||||||
|
) => value is S,
|
||||||
|
thisArg?: any,
|
||||||
|
): S | undefined;
|
||||||
|
findLast(
|
||||||
|
predicate: (
|
||||||
|
value: number,
|
||||||
|
index: number,
|
||||||
|
array: Float64Array,
|
||||||
|
) => unknown,
|
||||||
|
thisArg?: any,
|
||||||
|
): number | undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the index of the last element in the array where predicate is true, and -1
|
||||||
|
* otherwise.
|
||||||
|
* @param predicate findLastIndex calls predicate once for each element of the array, in descending
|
||||||
|
* order, until it finds one where predicate returns true. If such an element is found,
|
||||||
|
* findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
|
||||||
|
* @param thisArg If provided, it will be used as the this value for each invocation of
|
||||||
|
* predicate. If it is not provided, undefined is used instead.
|
||||||
|
*/
|
||||||
|
findLastIndex(
|
||||||
|
predicate: (
|
||||||
|
value: number,
|
||||||
|
index: number,
|
||||||
|
array: Float64Array,
|
||||||
|
) => unknown,
|
||||||
|
thisArg?: any,
|
||||||
|
): number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Copies the array and returns the copy with the elements in reverse order.
|
||||||
|
*/
|
||||||
|
toReversed(): Float64Array;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Copies and sorts the array.
|
||||||
|
* @param compareFn Function used to determine the order of the elements. It is expected to return
|
||||||
|
* a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
|
||||||
|
* value otherwise. If omitted, the elements are sorted in ascending order.
|
||||||
|
* ```ts
|
||||||
|
* const myNums = Float64Array.from([11.25, 2, -22.5, 1]);
|
||||||
|
* myNums.toSorted((a, b) => a - b) // Float64Array(4) [-22.5, 1, 2, 11.5]
|
||||||
|
* ```
|
||||||
|
*/
|
||||||
|
toSorted(compareFn?: (a: number, b: number) => number): Float64Array;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Copies the array and inserts the given number at the provided index.
|
||||||
|
* @param index The index of the value to overwrite. If the index is
|
||||||
|
* negative, then it replaces from the end of the array.
|
||||||
|
* @param value The value to insert into the copied array.
|
||||||
|
* @returns A copy of the original array with the inserted value.
|
||||||
|
*/
|
||||||
|
with(index: number, value: number): Float64Array;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface BigInt64Array {
|
||||||
|
/**
|
||||||
|
* Returns the value of the last element in the array where predicate is true, and undefined
|
||||||
|
* otherwise.
|
||||||
|
* @param predicate findLast calls predicate once for each element of the array, in descending
|
||||||
|
* order, until it finds one where predicate returns true. If such an element is found, findLast
|
||||||
|
* immediately returns that element value. Otherwise, findLast returns undefined.
|
||||||
|
* @param thisArg If provided, it will be used as the this value for each invocation of
|
||||||
|
* predicate. If it is not provided, undefined is used instead.
|
||||||
|
*/
|
||||||
|
findLast<S extends bigint>(
|
||||||
|
predicate: (
|
||||||
|
value: bigint,
|
||||||
|
index: number,
|
||||||
|
array: BigInt64Array,
|
||||||
|
) => value is S,
|
||||||
|
thisArg?: any,
|
||||||
|
): S | undefined;
|
||||||
|
findLast(
|
||||||
|
predicate: (
|
||||||
|
value: bigint,
|
||||||
|
index: number,
|
||||||
|
array: BigInt64Array,
|
||||||
|
) => unknown,
|
||||||
|
thisArg?: any,
|
||||||
|
): bigint | undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the index of the last element in the array where predicate is true, and -1
|
||||||
|
* otherwise.
|
||||||
|
* @param predicate findLastIndex calls predicate once for each element of the array, in descending
|
||||||
|
* order, until it finds one where predicate returns true. If such an element is found,
|
||||||
|
* findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
|
||||||
|
* @param thisArg If provided, it will be used as the this value for each invocation of
|
||||||
|
* predicate. If it is not provided, undefined is used instead.
|
||||||
|
*/
|
||||||
|
findLastIndex(
|
||||||
|
predicate: (
|
||||||
|
value: bigint,
|
||||||
|
index: number,
|
||||||
|
array: BigInt64Array,
|
||||||
|
) => unknown,
|
||||||
|
thisArg?: any,
|
||||||
|
): number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Copies the array and returns the copy with the elements in reverse order.
|
||||||
|
*/
|
||||||
|
toReversed(): BigInt64Array;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Copies and sorts the array.
|
||||||
|
* @param compareFn Function used to determine the order of the elements. It is expected to return
|
||||||
|
* a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
|
||||||
|
* value otherwise. If omitted, the elements are sorted in ascending order.
|
||||||
|
* ```ts
|
||||||
|
* const myNums = BigInt64Array.from([11n, 2n, -22n, 1n]);
|
||||||
|
* myNums.toSorted((a, b) => Number(a - b)) // BigInt64Array(4) [-22n, 1n, 2n, 11n]
|
||||||
|
* ```
|
||||||
|
*/
|
||||||
|
toSorted(compareFn?: (a: bigint, b: bigint) => number): BigInt64Array;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Copies the array and inserts the given bigint at the provided index.
|
||||||
|
* @param index The index of the value to overwrite. If the index is
|
||||||
|
* negative, then it replaces from the end of the array.
|
||||||
|
* @param value The value to insert into the copied array.
|
||||||
|
* @returns A copy of the original array with the inserted value.
|
||||||
|
*/
|
||||||
|
with(index: number, value: bigint): BigInt64Array;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface BigUint64Array {
|
||||||
|
/**
|
||||||
|
* Returns the value of the last element in the array where predicate is true, and undefined
|
||||||
|
* otherwise.
|
||||||
|
* @param predicate findLast calls predicate once for each element of the array, in descending
|
||||||
|
* order, until it finds one where predicate returns true. If such an element is found, findLast
|
||||||
|
* immediately returns that element value. Otherwise, findLast returns undefined.
|
||||||
|
* @param thisArg If provided, it will be used as the this value for each invocation of
|
||||||
|
* predicate. If it is not provided, undefined is used instead.
|
||||||
|
*/
|
||||||
|
findLast<S extends bigint>(
|
||||||
|
predicate: (
|
||||||
|
value: bigint,
|
||||||
|
index: number,
|
||||||
|
array: BigUint64Array,
|
||||||
|
) => value is S,
|
||||||
|
thisArg?: any,
|
||||||
|
): S | undefined;
|
||||||
|
findLast(
|
||||||
|
predicate: (
|
||||||
|
value: bigint,
|
||||||
|
index: number,
|
||||||
|
array: BigUint64Array,
|
||||||
|
) => unknown,
|
||||||
|
thisArg?: any,
|
||||||
|
): bigint | undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the index of the last element in the array where predicate is true, and -1
|
||||||
|
* otherwise.
|
||||||
|
* @param predicate findLastIndex calls predicate once for each element of the array, in descending
|
||||||
|
* order, until it finds one where predicate returns true. If such an element is found,
|
||||||
|
* findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
|
||||||
|
* @param thisArg If provided, it will be used as the this value for each invocation of
|
||||||
|
* predicate. If it is not provided, undefined is used instead.
|
||||||
|
*/
|
||||||
|
findLastIndex(
|
||||||
|
predicate: (
|
||||||
|
value: bigint,
|
||||||
|
index: number,
|
||||||
|
array: BigUint64Array,
|
||||||
|
) => unknown,
|
||||||
|
thisArg?: any,
|
||||||
|
): number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Copies the array and returns the copy with the elements in reverse order.
|
||||||
|
*/
|
||||||
|
toReversed(): BigUint64Array;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Copies and sorts the array.
|
||||||
|
* @param compareFn Function used to determine the order of the elements. It is expected to return
|
||||||
|
* a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
|
||||||
|
* value otherwise. If omitted, the elements are sorted in ascending order.
|
||||||
|
* ```ts
|
||||||
|
* const myNums = BigUint64Array.from([11n, 2n, 22n, 1n]);
|
||||||
|
* myNums.toSorted((a, b) => Number(a - b)) // BigUint64Array(4) [1n, 2n, 11n, 22n]
|
||||||
|
* ```
|
||||||
|
*/
|
||||||
|
toSorted(compareFn?: (a: bigint, b: bigint) => number): BigUint64Array;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Copies the array and inserts the given bigint at the provided index.
|
||||||
|
* @param index The index of the value to overwrite. If the index is
|
||||||
|
* negative, then it replaces from the end of the array.
|
||||||
|
* @param value The value to insert into the copied array.
|
||||||
|
* @returns A copy of the original array with the inserted value.
|
||||||
|
*/
|
||||||
|
with(index: number, value: bigint): BigUint64Array;
|
||||||
|
}
|
@ -1,15 +1,21 @@
|
|||||||
/*! *****************************************************************************
|
/*! *****************************************************************************
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
and limitations under the License.
|
and limitations under the License.
|
||||||
***************************************************************************** */
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
|
interface WeakKeyTypes {
|
||||||
|
symbol: symbol;
|
||||||
|
}
|
21
node_modules/typescript/lib/lib.es2023.d.ts
generated
vendored
Normal file
21
node_modules/typescript/lib/lib.es2023.d.ts
generated
vendored
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
/*! *****************************************************************************
|
||||||
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
|
and limitations under the License.
|
||||||
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
|
/// <reference lib="es2022" />
|
||||||
|
/// <reference lib="es2023.array" />
|
||||||
|
/// <reference lib="es2023.collection" />
|
23
node_modules/typescript/lib/lib.es2023.full.d.ts
generated
vendored
Normal file
23
node_modules/typescript/lib/lib.es2023.full.d.ts
generated
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
/*! *****************************************************************************
|
||||||
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
|
and limitations under the License.
|
||||||
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
|
/// <reference lib="es2023" />
|
||||||
|
/// <reference lib="dom" />
|
||||||
|
/// <reference lib="webworker.importscripts" />
|
||||||
|
/// <reference lib="scripthost" />
|
||||||
|
/// <reference lib="dom.iterable" />
|
8878
node_modules/typescript/lib/lib.es5.d.ts
generated
vendored
8878
node_modules/typescript/lib/lib.es5.d.ts
generated
vendored
File diff suppressed because it is too large
Load Diff
26
node_modules/typescript/lib/lib.es6.d.ts
generated
vendored
26
node_modules/typescript/lib/lib.es6.d.ts
generated
vendored
@ -1,25 +1,23 @@
|
|||||||
/*! *****************************************************************************
|
/*! *****************************************************************************
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
and limitations under the License.
|
and limitations under the License.
|
||||||
***************************************************************************** */
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
/// <reference no-default-lib="true"/>
|
/// <reference lib="es2015" />
|
||||||
|
/// <reference lib="dom" />
|
||||||
|
/// <reference lib="dom.iterable" />
|
||||||
/// <reference lib="es2015" />
|
/// <reference lib="webworker.importscripts" />
|
||||||
/// <reference lib="dom" />
|
/// <reference lib="scripthost" />
|
||||||
/// <reference lib="dom.iterable" />
|
|
||||||
/// <reference lib="webworker.importscripts" />
|
|
||||||
/// <reference lib="scripthost" />
|
|
||||||
|
223
node_modules/typescript/lib/lib.esnext.array.d.ts
generated
vendored
223
node_modules/typescript/lib/lib.esnext.array.d.ts
generated
vendored
@ -1,223 +0,0 @@
|
|||||||
/*! *****************************************************************************
|
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
||||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
|
||||||
and limitations under the License.
|
|
||||||
***************************************************************************** */
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// <reference no-default-lib="true"/>
|
|
||||||
|
|
||||||
|
|
||||||
interface ReadonlyArray<T> {
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Calls a defined callback function on each element of an array. Then, flattens the result into
|
|
||||||
* a new array.
|
|
||||||
* This is identical to a map followed by flat with depth 1.
|
|
||||||
*
|
|
||||||
* @param callback A function that accepts up to three arguments. The flatMap method calls the
|
|
||||||
* callback function one time for each element in the array.
|
|
||||||
* @param thisArg An object to which the this keyword can refer in the callback function. If
|
|
||||||
* thisArg is omitted, undefined is used as the this value.
|
|
||||||
*/
|
|
||||||
flatMap<U, This = undefined> (
|
|
||||||
callback: (this: This, value: T, index: number, array: T[]) => U|ReadonlyArray<U>,
|
|
||||||
thisArg?: This
|
|
||||||
): U[]
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
||||||
* specified depth.
|
|
||||||
*
|
|
||||||
* @param depth The maximum recursion depth
|
|
||||||
*/
|
|
||||||
flat<U>(this:
|
|
||||||
ReadonlyArray<U[][][][]> |
|
|
||||||
|
|
||||||
ReadonlyArray<ReadonlyArray<U[][][]>> |
|
|
||||||
ReadonlyArray<ReadonlyArray<U[][]>[]> |
|
|
||||||
ReadonlyArray<ReadonlyArray<U[]>[][]> |
|
|
||||||
ReadonlyArray<ReadonlyArray<U>[][][]> |
|
|
||||||
|
|
||||||
ReadonlyArray<ReadonlyArray<ReadonlyArray<U[][]>>> |
|
|
||||||
ReadonlyArray<ReadonlyArray<ReadonlyArray<U>[][]>> |
|
|
||||||
ReadonlyArray<ReadonlyArray<ReadonlyArray<U>>[][]> |
|
|
||||||
ReadonlyArray<ReadonlyArray<ReadonlyArray<U>[]>[]> |
|
|
||||||
ReadonlyArray<ReadonlyArray<ReadonlyArray<U[]>>[]> |
|
|
||||||
ReadonlyArray<ReadonlyArray<ReadonlyArray<U[]>[]>> |
|
|
||||||
|
|
||||||
ReadonlyArray<ReadonlyArray<ReadonlyArray<ReadonlyArray<U[]>>>> |
|
|
||||||
ReadonlyArray<ReadonlyArray<ReadonlyArray<ReadonlyArray<U>[]>>> |
|
|
||||||
ReadonlyArray<ReadonlyArray<ReadonlyArray<ReadonlyArray<U>>[]>> |
|
|
||||||
ReadonlyArray<ReadonlyArray<ReadonlyArray<ReadonlyArray<U>>>[]> |
|
|
||||||
|
|
||||||
ReadonlyArray<ReadonlyArray<ReadonlyArray<ReadonlyArray<ReadonlyArray<U>>>>>,
|
|
||||||
depth: 4): U[];
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
||||||
* specified depth.
|
|
||||||
*
|
|
||||||
* @param depth The maximum recursion depth
|
|
||||||
*/
|
|
||||||
flat<U>(this:
|
|
||||||
ReadonlyArray<U[][][]> |
|
|
||||||
|
|
||||||
ReadonlyArray<ReadonlyArray<U>[][]> |
|
|
||||||
ReadonlyArray<ReadonlyArray<U[]>[]> |
|
|
||||||
ReadonlyArray<ReadonlyArray<U[][]>> |
|
|
||||||
|
|
||||||
ReadonlyArray<ReadonlyArray<ReadonlyArray<U[]>>> |
|
|
||||||
ReadonlyArray<ReadonlyArray<ReadonlyArray<U>[]>> |
|
|
||||||
ReadonlyArray<ReadonlyArray<ReadonlyArray<U>>[]> |
|
|
||||||
|
|
||||||
ReadonlyArray<ReadonlyArray<ReadonlyArray<ReadonlyArray<U>>>>,
|
|
||||||
depth: 3): U[];
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
||||||
* specified depth.
|
|
||||||
*
|
|
||||||
* @param depth The maximum recursion depth
|
|
||||||
*/
|
|
||||||
flat<U>(this:
|
|
||||||
ReadonlyArray<U[][]> |
|
|
||||||
|
|
||||||
ReadonlyArray<ReadonlyArray<U[]>> |
|
|
||||||
ReadonlyArray<ReadonlyArray<U>[]> |
|
|
||||||
|
|
||||||
ReadonlyArray<ReadonlyArray<ReadonlyArray<U>>>,
|
|
||||||
depth: 2): U[];
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
||||||
* specified depth.
|
|
||||||
*
|
|
||||||
* @param depth The maximum recursion depth
|
|
||||||
*/
|
|
||||||
flat<U>(this:
|
|
||||||
ReadonlyArray<U[]> |
|
|
||||||
ReadonlyArray<ReadonlyArray<U>>,
|
|
||||||
depth?: 1
|
|
||||||
): U[];
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
||||||
* specified depth.
|
|
||||||
*
|
|
||||||
* @param depth The maximum recursion depth
|
|
||||||
*/
|
|
||||||
flat<U>(this:
|
|
||||||
ReadonlyArray<U>,
|
|
||||||
depth: 0
|
|
||||||
): U[];
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
||||||
* specified depth. If no depth is provided, flat method defaults to the depth of 1.
|
|
||||||
*
|
|
||||||
* @param depth The maximum recursion depth
|
|
||||||
*/
|
|
||||||
flat<U>(depth?: number): any[];
|
|
||||||
}
|
|
||||||
|
|
||||||
interface Array<T> {
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Calls a defined callback function on each element of an array. Then, flattens the result into
|
|
||||||
* a new array.
|
|
||||||
* This is identical to a map followed by flat with depth 1.
|
|
||||||
*
|
|
||||||
* @param callback A function that accepts up to three arguments. The flatMap method calls the
|
|
||||||
* callback function one time for each element in the array.
|
|
||||||
* @param thisArg An object to which the this keyword can refer in the callback function. If
|
|
||||||
* thisArg is omitted, undefined is used as the this value.
|
|
||||||
*/
|
|
||||||
flatMap<U, This = undefined> (
|
|
||||||
callback: (this: This, value: T, index: number, array: T[]) => U|ReadonlyArray<U>,
|
|
||||||
thisArg?: This
|
|
||||||
): U[]
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
||||||
* specified depth.
|
|
||||||
*
|
|
||||||
* @param depth The maximum recursion depth
|
|
||||||
*/
|
|
||||||
flat<U>(this: U[][][][][][][][], depth: 7): U[];
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
||||||
* specified depth.
|
|
||||||
*
|
|
||||||
* @param depth The maximum recursion depth
|
|
||||||
*/
|
|
||||||
flat<U>(this: U[][][][][][][], depth: 6): U[];
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
||||||
* specified depth.
|
|
||||||
*
|
|
||||||
* @param depth The maximum recursion depth
|
|
||||||
*/
|
|
||||||
flat<U>(this: U[][][][][][], depth: 5): U[];
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
||||||
* specified depth.
|
|
||||||
*
|
|
||||||
* @param depth The maximum recursion depth
|
|
||||||
*/
|
|
||||||
flat<U>(this: U[][][][][], depth: 4): U[];
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
||||||
* specified depth.
|
|
||||||
*
|
|
||||||
* @param depth The maximum recursion depth
|
|
||||||
*/
|
|
||||||
flat<U>(this: U[][][][], depth: 3): U[];
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
||||||
* specified depth.
|
|
||||||
*
|
|
||||||
* @param depth The maximum recursion depth
|
|
||||||
*/
|
|
||||||
flat<U>(this: U[][][], depth: 2): U[];
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
||||||
* specified depth.
|
|
||||||
*
|
|
||||||
* @param depth The maximum recursion depth
|
|
||||||
*/
|
|
||||||
flat<U>(this: U[][], depth?: 1): U[];
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
||||||
* specified depth.
|
|
||||||
*
|
|
||||||
* @param depth The maximum recursion depth
|
|
||||||
*/
|
|
||||||
flat<U>(this: U[], depth: 0): U[];
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
||||||
* specified depth. If no depth is provided, flat method defaults to the depth of 1.
|
|
||||||
*
|
|
||||||
* @param depth The maximum recursion depth
|
|
||||||
*/
|
|
||||||
flat<U>(depth?: number): any[];
|
|
||||||
}
|
|
23
node_modules/typescript/lib/lib.esnext.d.ts
generated
vendored
23
node_modules/typescript/lib/lib.esnext.d.ts
generated
vendored
@ -1,23 +1,22 @@
|
|||||||
/*! *****************************************************************************
|
/*! *****************************************************************************
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
and limitations under the License.
|
and limitations under the License.
|
||||||
***************************************************************************** */
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
/// <reference no-default-lib="true"/>
|
/// <reference lib="es2023" />
|
||||||
|
/// <reference lib="esnext.intl" />
|
||||||
|
/// <reference lib="esnext.decorators" />
|
||||||
/// <reference lib="es2020" />
|
/// <reference lib="esnext.disposable" />
|
||||||
/// <reference lib="esnext.bigint" />
|
|
||||||
/// <reference lib="esnext.intl" />
|
|
||||||
|
@ -1,44 +1,28 @@
|
|||||||
/*! *****************************************************************************
|
/*! *****************************************************************************
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
and limitations under the License.
|
and limitations under the License.
|
||||||
***************************************************************************** */
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// <reference no-default-lib="true"/>
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
|
|
||||||
/// <reference lib="es2015.symbol" />
|
/// <reference lib="es2015.symbol" />
|
||||||
/// <reference lib="es2015.iterable" />
|
/// <reference lib="decorators" />
|
||||||
|
|
||||||
interface SymbolConstructor {
|
interface SymbolConstructor {
|
||||||
/**
|
readonly metadata: unique symbol;
|
||||||
* A method that returns the default async iterator for an object. Called by the semantics of
|
|
||||||
* the for-await-of statement.
|
|
||||||
*/
|
|
||||||
readonly asyncIterator: symbol;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
interface AsyncIterator<T> {
|
interface Function {
|
||||||
next(value?: any): Promise<IteratorResult<T>>;
|
[Symbol.metadata]: DecoratorMetadata | null;
|
||||||
return?(value?: any): Promise<IteratorResult<T>>;
|
|
||||||
throw?(e?: any): Promise<IteratorResult<T>>;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
interface AsyncIterable<T> {
|
|
||||||
[Symbol.asyncIterator](): AsyncIterator<T>;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface AsyncIterableIterator<T> extends AsyncIterator<T> {
|
|
||||||
[Symbol.asyncIterator](): AsyncIterableIterator<T>;
|
|
||||||
}
|
|
185
node_modules/typescript/lib/lib.esnext.disposable.d.ts
generated
vendored
Normal file
185
node_modules/typescript/lib/lib.esnext.disposable.d.ts
generated
vendored
Normal file
@ -0,0 +1,185 @@
|
|||||||
|
/*! *****************************************************************************
|
||||||
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
|
and limitations under the License.
|
||||||
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
|
/// <reference lib="es2015.symbol" />
|
||||||
|
|
||||||
|
interface SymbolConstructor {
|
||||||
|
/**
|
||||||
|
* A method that is used to release resources held by an object. Called by the semantics of the `using` statement.
|
||||||
|
*/
|
||||||
|
readonly dispose: unique symbol;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A method that is used to asynchronously release resources held by an object. Called by the semantics of the `await using` statement.
|
||||||
|
*/
|
||||||
|
readonly asyncDispose: unique symbol;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface Disposable {
|
||||||
|
[Symbol.dispose](): void;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface AsyncDisposable {
|
||||||
|
[Symbol.asyncDispose](): PromiseLike<void>;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface SuppressedError extends Error {
|
||||||
|
error: any;
|
||||||
|
suppressed: any;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface SuppressedErrorConstructor extends ErrorConstructor {
|
||||||
|
new (error: any, suppressed: any, message?: string): SuppressedError;
|
||||||
|
(error: any, suppressed: any, message?: string): SuppressedError;
|
||||||
|
readonly prototype: SuppressedError;
|
||||||
|
}
|
||||||
|
declare var SuppressedError: SuppressedErrorConstructor;
|
||||||
|
|
||||||
|
interface DisposableStack {
|
||||||
|
/**
|
||||||
|
* Returns a value indicating whether this stack has been disposed.
|
||||||
|
*/
|
||||||
|
readonly disposed: boolean;
|
||||||
|
/**
|
||||||
|
* Disposes each resource in the stack in the reverse order that they were added.
|
||||||
|
*/
|
||||||
|
dispose(): void;
|
||||||
|
/**
|
||||||
|
* Adds a disposable resource to the stack, returning the resource.
|
||||||
|
* @param value The resource to add. `null` and `undefined` will not be added, but will be returned.
|
||||||
|
* @returns The provided {@link value}.
|
||||||
|
*/
|
||||||
|
use<T extends Disposable | null | undefined>(value: T): T;
|
||||||
|
/**
|
||||||
|
* Adds a value and associated disposal callback as a resource to the stack.
|
||||||
|
* @param value The value to add.
|
||||||
|
* @param onDispose The callback to use in place of a `[Symbol.dispose]()` method. Will be invoked with `value`
|
||||||
|
* as the first parameter.
|
||||||
|
* @returns The provided {@link value}.
|
||||||
|
*/
|
||||||
|
adopt<T>(value: T, onDispose: (value: T) => void): T;
|
||||||
|
/**
|
||||||
|
* Adds a callback to be invoked when the stack is disposed.
|
||||||
|
*/
|
||||||
|
defer(onDispose: () => void): void;
|
||||||
|
/**
|
||||||
|
* Move all resources out of this stack and into a new `DisposableStack`, and marks this stack as disposed.
|
||||||
|
* @example
|
||||||
|
* ```ts
|
||||||
|
* class C {
|
||||||
|
* #res1: Disposable;
|
||||||
|
* #res2: Disposable;
|
||||||
|
* #disposables: DisposableStack;
|
||||||
|
* constructor() {
|
||||||
|
* // stack will be disposed when exiting constructor for any reason
|
||||||
|
* using stack = new DisposableStack();
|
||||||
|
*
|
||||||
|
* // get first resource
|
||||||
|
* this.#res1 = stack.use(getResource1());
|
||||||
|
*
|
||||||
|
* // get second resource. If this fails, both `stack` and `#res1` will be disposed.
|
||||||
|
* this.#res2 = stack.use(getResource2());
|
||||||
|
*
|
||||||
|
* // all operations succeeded, move resources out of `stack` so that they aren't disposed
|
||||||
|
* // when constructor exits
|
||||||
|
* this.#disposables = stack.move();
|
||||||
|
* }
|
||||||
|
*
|
||||||
|
* [Symbol.dispose]() {
|
||||||
|
* this.#disposables.dispose();
|
||||||
|
* }
|
||||||
|
* }
|
||||||
|
* ```
|
||||||
|
*/
|
||||||
|
move(): DisposableStack;
|
||||||
|
[Symbol.dispose](): void;
|
||||||
|
readonly [Symbol.toStringTag]: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface DisposableStackConstructor {
|
||||||
|
new (): DisposableStack;
|
||||||
|
readonly prototype: DisposableStack;
|
||||||
|
}
|
||||||
|
declare var DisposableStack: DisposableStackConstructor;
|
||||||
|
|
||||||
|
interface AsyncDisposableStack {
|
||||||
|
/**
|
||||||
|
* Returns a value indicating whether this stack has been disposed.
|
||||||
|
*/
|
||||||
|
readonly disposed: boolean;
|
||||||
|
/**
|
||||||
|
* Disposes each resource in the stack in the reverse order that they were added.
|
||||||
|
*/
|
||||||
|
disposeAsync(): Promise<void>;
|
||||||
|
/**
|
||||||
|
* Adds a disposable resource to the stack, returning the resource.
|
||||||
|
* @param value The resource to add. `null` and `undefined` will not be added, but will be returned.
|
||||||
|
* @returns The provided {@link value}.
|
||||||
|
*/
|
||||||
|
use<T extends AsyncDisposable | Disposable | null | undefined>(value: T): T;
|
||||||
|
/**
|
||||||
|
* Adds a value and associated disposal callback as a resource to the stack.
|
||||||
|
* @param value The value to add.
|
||||||
|
* @param onDisposeAsync The callback to use in place of a `[Symbol.asyncDispose]()` method. Will be invoked with `value`
|
||||||
|
* as the first parameter.
|
||||||
|
* @returns The provided {@link value}.
|
||||||
|
*/
|
||||||
|
adopt<T>(value: T, onDisposeAsync: (value: T) => PromiseLike<void> | void): T;
|
||||||
|
/**
|
||||||
|
* Adds a callback to be invoked when the stack is disposed.
|
||||||
|
*/
|
||||||
|
defer(onDisposeAsync: () => PromiseLike<void> | void): void;
|
||||||
|
/**
|
||||||
|
* Move all resources out of this stack and into a new `DisposableStack`, and marks this stack as disposed.
|
||||||
|
* @example
|
||||||
|
* ```ts
|
||||||
|
* class C {
|
||||||
|
* #res1: Disposable;
|
||||||
|
* #res2: Disposable;
|
||||||
|
* #disposables: DisposableStack;
|
||||||
|
* constructor() {
|
||||||
|
* // stack will be disposed when exiting constructor for any reason
|
||||||
|
* using stack = new DisposableStack();
|
||||||
|
*
|
||||||
|
* // get first resource
|
||||||
|
* this.#res1 = stack.use(getResource1());
|
||||||
|
*
|
||||||
|
* // get second resource. If this fails, both `stack` and `#res1` will be disposed.
|
||||||
|
* this.#res2 = stack.use(getResource2());
|
||||||
|
*
|
||||||
|
* // all operations succeeded, move resources out of `stack` so that they aren't disposed
|
||||||
|
* // when constructor exits
|
||||||
|
* this.#disposables = stack.move();
|
||||||
|
* }
|
||||||
|
*
|
||||||
|
* [Symbol.dispose]() {
|
||||||
|
* this.#disposables.dispose();
|
||||||
|
* }
|
||||||
|
* }
|
||||||
|
* ```
|
||||||
|
*/
|
||||||
|
move(): AsyncDisposableStack;
|
||||||
|
[Symbol.asyncDispose](): Promise<void>;
|
||||||
|
readonly [Symbol.toStringTag]: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface AsyncDisposableStackConstructor {
|
||||||
|
new (): AsyncDisposableStack;
|
||||||
|
readonly prototype: AsyncDisposableStack;
|
||||||
|
}
|
||||||
|
declare var AsyncDisposableStack: AsyncDisposableStackConstructor;
|
26
node_modules/typescript/lib/lib.esnext.full.d.ts
generated
vendored
26
node_modules/typescript/lib/lib.esnext.full.d.ts
generated
vendored
@ -1,25 +1,23 @@
|
|||||||
/*! *****************************************************************************
|
/*! *****************************************************************************
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
and limitations under the License.
|
and limitations under the License.
|
||||||
***************************************************************************** */
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
/// <reference no-default-lib="true"/>
|
/// <reference lib="esnext" />
|
||||||
|
/// <reference lib="dom" />
|
||||||
|
/// <reference lib="webworker.importscripts" />
|
||||||
/// <reference lib="esnext" />
|
/// <reference lib="scripthost" />
|
||||||
/// <reference lib="dom" />
|
/// <reference lib="dom.iterable" />
|
||||||
/// <reference lib="webworker.importscripts" />
|
|
||||||
/// <reference lib="scripthost" />
|
|
||||||
/// <reference lib="dom.iterable" />
|
|
||||||
|
36
node_modules/typescript/lib/lib.esnext.intl.d.ts
generated
vendored
36
node_modules/typescript/lib/lib.esnext.intl.d.ts
generated
vendored
@ -1,32 +1,28 @@
|
|||||||
/*! *****************************************************************************
|
/*! *****************************************************************************
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
and limitations under the License.
|
and limitations under the License.
|
||||||
***************************************************************************** */
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
/// <reference no-default-lib="true"/>
|
declare namespace Intl {
|
||||||
|
interface NumberRangeFormatPart extends NumberFormatPart {
|
||||||
|
source: "startRange" | "endRange" | "shared";
|
||||||
|
}
|
||||||
|
|
||||||
|
interface NumberFormat {
|
||||||
declare namespace Intl {
|
formatRange(start: number | bigint, end: number | bigint): string;
|
||||||
type NumberFormatPartTypes = "currency" | "decimal" | "fraction" | "group" | "infinity" | "integer" | "literal" | "minusSign" | "nan" | "plusSign" | "percentSign";
|
formatRangeToParts(start: number | bigint, end: number | bigint): NumberRangeFormatPart[];
|
||||||
|
}
|
||||||
interface NumberFormatPart {
|
}
|
||||||
type: NumberFormatPartTypes;
|
|
||||||
value: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface NumberFormat {
|
|
||||||
formatToParts(number?: number): NumberFormatPart[];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
623
node_modules/typescript/lib/lib.scripthost.d.ts
generated
vendored
623
node_modules/typescript/lib/lib.scripthost.d.ts
generated
vendored
@ -1,327 +1,322 @@
|
|||||||
/*! *****************************************************************************
|
/*! *****************************************************************************
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
and limitations under the License.
|
and limitations under the License.
|
||||||
***************************************************************************** */
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
/// <reference no-default-lib="true"/>
|
/////////////////////////////
|
||||||
|
/// Windows Script Host APIS
|
||||||
|
/////////////////////////////
|
||||||
|
|
||||||
|
interface ActiveXObject {
|
||||||
|
new (s: string): any;
|
||||||
|
}
|
||||||
|
declare var ActiveXObject: ActiveXObject;
|
||||||
|
|
||||||
|
interface ITextWriter {
|
||||||
|
Write(s: string): void;
|
||||||
/////////////////////////////
|
WriteLine(s: string): void;
|
||||||
/// Windows Script Host APIS
|
Close(): void;
|
||||||
/////////////////////////////
|
}
|
||||||
|
|
||||||
|
interface TextStreamBase {
|
||||||
interface ActiveXObject {
|
/**
|
||||||
new (s: string): any;
|
* The column number of the current character position in an input stream.
|
||||||
}
|
*/
|
||||||
declare var ActiveXObject: ActiveXObject;
|
Column: number;
|
||||||
|
|
||||||
interface ITextWriter {
|
/**
|
||||||
Write(s: string): void;
|
* The current line number in an input stream.
|
||||||
WriteLine(s: string): void;
|
*/
|
||||||
Close(): void;
|
Line: number;
|
||||||
}
|
|
||||||
|
/**
|
||||||
interface TextStreamBase {
|
* Closes a text stream.
|
||||||
/**
|
* It is not necessary to close standard streams; they close automatically when the process ends. If
|
||||||
* The column number of the current character position in an input stream.
|
* you close a standard stream, be aware that any other pointers to that standard stream become invalid.
|
||||||
*/
|
*/
|
||||||
Column: number;
|
Close(): void;
|
||||||
|
}
|
||||||
/**
|
|
||||||
* The current line number in an input stream.
|
interface TextStreamWriter extends TextStreamBase {
|
||||||
*/
|
/**
|
||||||
Line: number;
|
* Sends a string to an output stream.
|
||||||
|
*/
|
||||||
/**
|
Write(s: string): void;
|
||||||
* Closes a text stream.
|
|
||||||
* It is not necessary to close standard streams; they close automatically when the process ends. If
|
/**
|
||||||
* you close a standard stream, be aware that any other pointers to that standard stream become invalid.
|
* Sends a specified number of blank lines (newline characters) to an output stream.
|
||||||
*/
|
*/
|
||||||
Close(): void;
|
WriteBlankLines(intLines: number): void;
|
||||||
}
|
|
||||||
|
/**
|
||||||
interface TextStreamWriter extends TextStreamBase {
|
* Sends a string followed by a newline character to an output stream.
|
||||||
/**
|
*/
|
||||||
* Sends a string to an output stream.
|
WriteLine(s: string): void;
|
||||||
*/
|
}
|
||||||
Write(s: string): void;
|
|
||||||
|
interface TextStreamReader extends TextStreamBase {
|
||||||
/**
|
/**
|
||||||
* Sends a specified number of blank lines (newline characters) to an output stream.
|
* Returns a specified number of characters from an input stream, starting at the current pointer position.
|
||||||
*/
|
* Does not return until the ENTER key is pressed.
|
||||||
WriteBlankLines(intLines: number): void;
|
* Can only be used on a stream in reading mode; causes an error in writing or appending mode.
|
||||||
|
*/
|
||||||
/**
|
Read(characters: number): string;
|
||||||
* Sends a string followed by a newline character to an output stream.
|
|
||||||
*/
|
/**
|
||||||
WriteLine(s: string): void;
|
* Returns all characters from an input stream.
|
||||||
}
|
* Can only be used on a stream in reading mode; causes an error in writing or appending mode.
|
||||||
|
*/
|
||||||
interface TextStreamReader extends TextStreamBase {
|
ReadAll(): string;
|
||||||
/**
|
|
||||||
* Returns a specified number of characters from an input stream, starting at the current pointer position.
|
/**
|
||||||
* Does not return until the ENTER key is pressed.
|
* Returns an entire line from an input stream.
|
||||||
* Can only be used on a stream in reading mode; causes an error in writing or appending mode.
|
* Although this method extracts the newline character, it does not add it to the returned string.
|
||||||
*/
|
* Can only be used on a stream in reading mode; causes an error in writing or appending mode.
|
||||||
Read(characters: number): string;
|
*/
|
||||||
|
ReadLine(): string;
|
||||||
/**
|
|
||||||
* Returns all characters from an input stream.
|
/**
|
||||||
* Can only be used on a stream in reading mode; causes an error in writing or appending mode.
|
* Skips a specified number of characters when reading from an input text stream.
|
||||||
*/
|
* Can only be used on a stream in reading mode; causes an error in writing or appending mode.
|
||||||
ReadAll(): string;
|
* @param characters Positive number of characters to skip forward. (Backward skipping is not supported.)
|
||||||
|
*/
|
||||||
/**
|
Skip(characters: number): void;
|
||||||
* Returns an entire line from an input stream.
|
|
||||||
* Although this method extracts the newline character, it does not add it to the returned string.
|
/**
|
||||||
* Can only be used on a stream in reading mode; causes an error in writing or appending mode.
|
* Skips the next line when reading from an input text stream.
|
||||||
*/
|
* Can only be used on a stream in reading mode, not writing or appending mode.
|
||||||
ReadLine(): string;
|
*/
|
||||||
|
SkipLine(): void;
|
||||||
/**
|
|
||||||
* Skips a specified number of characters when reading from an input text stream.
|
/**
|
||||||
* Can only be used on a stream in reading mode; causes an error in writing or appending mode.
|
* Indicates whether the stream pointer position is at the end of a line.
|
||||||
* @param characters Positive number of characters to skip forward. (Backward skipping is not supported.)
|
*/
|
||||||
*/
|
AtEndOfLine: boolean;
|
||||||
Skip(characters: number): void;
|
|
||||||
|
/**
|
||||||
/**
|
* Indicates whether the stream pointer position is at the end of a stream.
|
||||||
* Skips the next line when reading from an input text stream.
|
*/
|
||||||
* Can only be used on a stream in reading mode, not writing or appending mode.
|
AtEndOfStream: boolean;
|
||||||
*/
|
}
|
||||||
SkipLine(): void;
|
|
||||||
|
declare var WScript: {
|
||||||
/**
|
/**
|
||||||
* Indicates whether the stream pointer position is at the end of a line.
|
* Outputs text to either a message box (under WScript.exe) or the command console window followed by
|
||||||
*/
|
* a newline (under CScript.exe).
|
||||||
AtEndOfLine: boolean;
|
*/
|
||||||
|
Echo(s: any): void;
|
||||||
/**
|
|
||||||
* Indicates whether the stream pointer position is at the end of a stream.
|
/**
|
||||||
*/
|
* Exposes the write-only error output stream for the current script.
|
||||||
AtEndOfStream: boolean;
|
* Can be accessed only while using CScript.exe.
|
||||||
}
|
*/
|
||||||
|
StdErr: TextStreamWriter;
|
||||||
declare var WScript: {
|
|
||||||
/**
|
/**
|
||||||
* Outputs text to either a message box (under WScript.exe) or the command console window followed by
|
* Exposes the write-only output stream for the current script.
|
||||||
* a newline (under CScript.exe).
|
* Can be accessed only while using CScript.exe.
|
||||||
*/
|
*/
|
||||||
Echo(s: any): void;
|
StdOut: TextStreamWriter;
|
||||||
|
Arguments: { length: number; Item(n: number): string; };
|
||||||
/**
|
|
||||||
* Exposes the write-only error output stream for the current script.
|
/**
|
||||||
* Can be accessed only while using CScript.exe.
|
* The full path of the currently running script.
|
||||||
*/
|
*/
|
||||||
StdErr: TextStreamWriter;
|
ScriptFullName: string;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Exposes the write-only output stream for the current script.
|
* Forces the script to stop immediately, with an optional exit code.
|
||||||
* Can be accessed only while using CScript.exe.
|
*/
|
||||||
*/
|
Quit(exitCode?: number): number;
|
||||||
StdOut: TextStreamWriter;
|
|
||||||
Arguments: { length: number; Item(n: number): string; };
|
/**
|
||||||
|
* The Windows Script Host build version number.
|
||||||
/**
|
*/
|
||||||
* The full path of the currently running script.
|
BuildVersion: number;
|
||||||
*/
|
|
||||||
ScriptFullName: string;
|
/**
|
||||||
|
* Fully qualified path of the host executable.
|
||||||
/**
|
*/
|
||||||
* Forces the script to stop immediately, with an optional exit code.
|
FullName: string;
|
||||||
*/
|
|
||||||
Quit(exitCode?: number): number;
|
/**
|
||||||
|
* Gets/sets the script mode - interactive(true) or batch(false).
|
||||||
/**
|
*/
|
||||||
* The Windows Script Host build version number.
|
Interactive: boolean;
|
||||||
*/
|
|
||||||
BuildVersion: number;
|
/**
|
||||||
|
* The name of the host executable (WScript.exe or CScript.exe).
|
||||||
/**
|
*/
|
||||||
* Fully qualified path of the host executable.
|
Name: string;
|
||||||
*/
|
|
||||||
FullName: string;
|
/**
|
||||||
|
* Path of the directory containing the host executable.
|
||||||
/**
|
*/
|
||||||
* Gets/sets the script mode - interactive(true) or batch(false).
|
Path: string;
|
||||||
*/
|
|
||||||
Interactive: boolean;
|
/**
|
||||||
|
* The filename of the currently running script.
|
||||||
/**
|
*/
|
||||||
* The name of the host executable (WScript.exe or CScript.exe).
|
ScriptName: string;
|
||||||
*/
|
|
||||||
Name: string;
|
/**
|
||||||
|
* Exposes the read-only input stream for the current script.
|
||||||
/**
|
* Can be accessed only while using CScript.exe.
|
||||||
* Path of the directory containing the host executable.
|
*/
|
||||||
*/
|
StdIn: TextStreamReader;
|
||||||
Path: string;
|
|
||||||
|
/**
|
||||||
/**
|
* Windows Script Host version
|
||||||
* The filename of the currently running script.
|
*/
|
||||||
*/
|
Version: string;
|
||||||
ScriptName: string;
|
|
||||||
|
/**
|
||||||
/**
|
* Connects a COM object's event sources to functions named with a given prefix, in the form prefix_event.
|
||||||
* Exposes the read-only input stream for the current script.
|
*/
|
||||||
* Can be accessed only while using CScript.exe.
|
ConnectObject(objEventSource: any, strPrefix: string): void;
|
||||||
*/
|
|
||||||
StdIn: TextStreamReader;
|
/**
|
||||||
|
* Creates a COM object.
|
||||||
/**
|
* @param strProgiID
|
||||||
* Windows Script Host version
|
* @param strPrefix Function names in the form prefix_event will be bound to this object's COM events.
|
||||||
*/
|
*/
|
||||||
Version: string;
|
CreateObject(strProgID: string, strPrefix?: string): any;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Connects a COM object's event sources to functions named with a given prefix, in the form prefix_event.
|
* Disconnects a COM object from its event sources.
|
||||||
*/
|
*/
|
||||||
ConnectObject(objEventSource: any, strPrefix: string): void;
|
DisconnectObject(obj: any): void;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a COM object.
|
* Retrieves an existing object with the specified ProgID from memory, or creates a new one from a file.
|
||||||
* @param strProgiID
|
* @param strPathname Fully qualified path to the file containing the object persisted to disk.
|
||||||
* @param strPrefix Function names in the form prefix_event will be bound to this object's COM events.
|
* For objects in memory, pass a zero-length string.
|
||||||
*/
|
* @param strProgID
|
||||||
CreateObject(strProgID: string, strPrefix?: string): any;
|
* @param strPrefix Function names in the form prefix_event will be bound to this object's COM events.
|
||||||
|
*/
|
||||||
/**
|
GetObject(strPathname: string, strProgID?: string, strPrefix?: string): any;
|
||||||
* Disconnects a COM object from its event sources.
|
|
||||||
*/
|
/**
|
||||||
DisconnectObject(obj: any): void;
|
* Suspends script execution for a specified length of time, then continues execution.
|
||||||
|
* @param intTime Interval (in milliseconds) to suspend script execution.
|
||||||
/**
|
*/
|
||||||
* Retrieves an existing object with the specified ProgID from memory, or creates a new one from a file.
|
Sleep(intTime: number): void;
|
||||||
* @param strPathname Fully qualified path to the file containing the object persisted to disk.
|
};
|
||||||
* For objects in memory, pass a zero-length string.
|
|
||||||
* @param strProgID
|
/**
|
||||||
* @param strPrefix Function names in the form prefix_event will be bound to this object's COM events.
|
* WSH is an alias for WScript under Windows Script Host
|
||||||
*/
|
*/
|
||||||
GetObject(strPathname: string, strProgID?: string, strPrefix?: string): any;
|
declare var WSH: typeof WScript;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Suspends script execution for a specified length of time, then continues execution.
|
* Represents an Automation SAFEARRAY
|
||||||
* @param intTime Interval (in milliseconds) to suspend script execution.
|
*/
|
||||||
*/
|
declare class SafeArray<T = any> {
|
||||||
Sleep(intTime: number): void;
|
private constructor();
|
||||||
};
|
private SafeArray_typekey: SafeArray<T>;
|
||||||
|
}
|
||||||
/**
|
|
||||||
* WSH is an alias for WScript under Windows Script Host
|
/**
|
||||||
*/
|
* Allows enumerating over a COM collection, which may not have indexed item access.
|
||||||
declare var WSH: typeof WScript;
|
*/
|
||||||
|
interface Enumerator<T = any> {
|
||||||
/**
|
/**
|
||||||
* Represents an Automation SAFEARRAY
|
* Returns true if the current item is the last one in the collection, or the collection is empty,
|
||||||
*/
|
* or the current item is undefined.
|
||||||
declare class SafeArray<T = any> {
|
*/
|
||||||
private constructor();
|
atEnd(): boolean;
|
||||||
private SafeArray_typekey: SafeArray<T>;
|
|
||||||
}
|
/**
|
||||||
|
* Returns the current item in the collection
|
||||||
/**
|
*/
|
||||||
* Allows enumerating over a COM collection, which may not have indexed item access.
|
item(): T;
|
||||||
*/
|
|
||||||
interface Enumerator<T = any> {
|
/**
|
||||||
/**
|
* Resets the current item in the collection to the first item. If there are no items in the collection,
|
||||||
* Returns true if the current item is the last one in the collection, or the collection is empty,
|
* the current item is set to undefined.
|
||||||
* or the current item is undefined.
|
*/
|
||||||
*/
|
moveFirst(): void;
|
||||||
atEnd(): boolean;
|
|
||||||
|
/**
|
||||||
/**
|
* Moves the current item to the next item in the collection. If the enumerator is at the end of
|
||||||
* Returns the current item in the collection
|
* the collection or the collection is empty, the current item is set to undefined.
|
||||||
*/
|
*/
|
||||||
item(): T;
|
moveNext(): void;
|
||||||
|
}
|
||||||
/**
|
|
||||||
* Resets the current item in the collection to the first item. If there are no items in the collection,
|
interface EnumeratorConstructor {
|
||||||
* the current item is set to undefined.
|
new <T = any>(safearray: SafeArray<T>): Enumerator<T>;
|
||||||
*/
|
new <T = any>(collection: { Item(index: any): T; }): Enumerator<T>;
|
||||||
moveFirst(): void;
|
new <T = any>(collection: any): Enumerator<T>;
|
||||||
|
}
|
||||||
/**
|
|
||||||
* Moves the current item to the next item in the collection. If the enumerator is at the end of
|
declare var Enumerator: EnumeratorConstructor;
|
||||||
* the collection or the collection is empty, the current item is set to undefined.
|
|
||||||
*/
|
/**
|
||||||
moveNext(): void;
|
* Enables reading from a COM safe array, which might have an alternate lower bound, or multiple dimensions.
|
||||||
}
|
*/
|
||||||
|
interface VBArray<T = any> {
|
||||||
interface EnumeratorConstructor {
|
/**
|
||||||
new <T = any>(safearray: SafeArray<T>): Enumerator<T>;
|
* Returns the number of dimensions (1-based).
|
||||||
new <T = any>(collection: { Item(index: any): T }): Enumerator<T>;
|
*/
|
||||||
new <T = any>(collection: any): Enumerator<T>;
|
dimensions(): number;
|
||||||
}
|
|
||||||
|
/**
|
||||||
declare var Enumerator: EnumeratorConstructor;
|
* Takes an index for each dimension in the array, and returns the item at the corresponding location.
|
||||||
|
*/
|
||||||
/**
|
getItem(dimension1Index: number, ...dimensionNIndexes: number[]): T;
|
||||||
* Enables reading from a COM safe array, which might have an alternate lower bound, or multiple dimensions.
|
|
||||||
*/
|
/**
|
||||||
interface VBArray<T = any> {
|
* Returns the smallest available index for a given dimension.
|
||||||
/**
|
* @param dimension 1-based dimension (defaults to 1)
|
||||||
* Returns the number of dimensions (1-based).
|
*/
|
||||||
*/
|
lbound(dimension?: number): number;
|
||||||
dimensions(): number;
|
|
||||||
|
/**
|
||||||
/**
|
* Returns the largest available index for a given dimension.
|
||||||
* Takes an index for each dimension in the array, and returns the item at the corresponding location.
|
* @param dimension 1-based dimension (defaults to 1)
|
||||||
*/
|
*/
|
||||||
getItem(dimension1Index: number, ...dimensionNIndexes: number[]): T;
|
ubound(dimension?: number): number;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the smallest available index for a given dimension.
|
* Returns a Javascript array with all the elements in the VBArray. If there are multiple dimensions,
|
||||||
* @param dimension 1-based dimension (defaults to 1)
|
* each successive dimension is appended to the end of the array.
|
||||||
*/
|
* Example: [[1,2,3],[4,5,6]] becomes [1,2,3,4,5,6]
|
||||||
lbound(dimension?: number): number;
|
*/
|
||||||
|
toArray(): T[];
|
||||||
/**
|
}
|
||||||
* Returns the largest available index for a given dimension.
|
|
||||||
* @param dimension 1-based dimension (defaults to 1)
|
interface VBArrayConstructor {
|
||||||
*/
|
new <T = any>(safeArray: SafeArray<T>): VBArray<T>;
|
||||||
ubound(dimension?: number): number;
|
}
|
||||||
|
|
||||||
/**
|
declare var VBArray: VBArrayConstructor;
|
||||||
* Returns a Javascript array with all the elements in the VBArray. If there are multiple dimensions,
|
|
||||||
* each successive dimension is appended to the end of the array.
|
/**
|
||||||
* Example: [[1,2,3],[4,5,6]] becomes [1,2,3,4,5,6]
|
* Automation date (VT_DATE)
|
||||||
*/
|
*/
|
||||||
toArray(): T[];
|
declare class VarDate {
|
||||||
}
|
private constructor();
|
||||||
|
private VarDate_typekey: VarDate;
|
||||||
interface VBArrayConstructor {
|
}
|
||||||
new <T = any>(safeArray: SafeArray<T>): VBArray<T>;
|
|
||||||
}
|
interface DateConstructor {
|
||||||
|
new (vd: VarDate): Date;
|
||||||
declare var VBArray: VBArrayConstructor;
|
}
|
||||||
|
|
||||||
/**
|
interface Date {
|
||||||
* Automation date (VT_DATE)
|
getVarDate: () => VarDate;
|
||||||
*/
|
}
|
||||||
declare class VarDate {
|
|
||||||
private constructor();
|
|
||||||
private VarDate_typekey: VarDate;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface DateConstructor {
|
|
||||||
new (vd: VarDate): Date;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface Date {
|
|
||||||
getVarDate: () => VarDate;
|
|
||||||
}
|
|
||||||
|
8305
node_modules/typescript/lib/lib.webworker.d.ts
generated
vendored
8305
node_modules/typescript/lib/lib.webworker.d.ts
generated
vendored
File diff suppressed because it is too large
Load Diff
27
node_modules/typescript/lib/lib.webworker.importscripts.d.ts
generated
vendored
27
node_modules/typescript/lib/lib.webworker.importscripts.d.ts
generated
vendored
@ -1,26 +1,23 @@
|
|||||||
/*! *****************************************************************************
|
/*! *****************************************************************************
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
and limitations under the License.
|
and limitations under the License.
|
||||||
***************************************************************************** */
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
/// <reference no-default-lib="true"/>
|
/////////////////////////////
|
||||||
|
/// WorkerGlobalScope APIs
|
||||||
|
/////////////////////////////
|
||||||
|
// These are only available in a Web Worker
|
||||||
/////////////////////////////
|
declare function importScripts(...urls: string[]): void;
|
||||||
/// WorkerGlobalScope APIs
|
|
||||||
/////////////////////////////
|
|
||||||
// These are only available in a Web Worker
|
|
||||||
declare function importScripts(...urls: string[]): void;
|
|
||||||
|
270
node_modules/typescript/lib/lib.webworker.iterable.d.ts
generated
vendored
Normal file
270
node_modules/typescript/lib/lib.webworker.iterable.d.ts
generated
vendored
Normal file
@ -0,0 +1,270 @@
|
|||||||
|
/*! *****************************************************************************
|
||||||
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
|
this file except in compliance with the License. You may obtain a copy of the
|
||||||
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||||
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||||
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||||
|
|
||||||
|
See the Apache Version 2.0 License for specific language governing permissions
|
||||||
|
and limitations under the License.
|
||||||
|
***************************************************************************** */
|
||||||
|
|
||||||
|
|
||||||
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
|
/////////////////////////////
|
||||||
|
/// Worker Iterable APIs
|
||||||
|
/////////////////////////////
|
||||||
|
|
||||||
|
interface CSSNumericArray {
|
||||||
|
[Symbol.iterator](): IterableIterator<CSSNumericValue>;
|
||||||
|
entries(): IterableIterator<[number, CSSNumericValue]>;
|
||||||
|
keys(): IterableIterator<number>;
|
||||||
|
values(): IterableIterator<CSSNumericValue>;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface CSSTransformValue {
|
||||||
|
[Symbol.iterator](): IterableIterator<CSSTransformComponent>;
|
||||||
|
entries(): IterableIterator<[number, CSSTransformComponent]>;
|
||||||
|
keys(): IterableIterator<number>;
|
||||||
|
values(): IterableIterator<CSSTransformComponent>;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface CSSUnparsedValue {
|
||||||
|
[Symbol.iterator](): IterableIterator<CSSUnparsedSegment>;
|
||||||
|
entries(): IterableIterator<[number, CSSUnparsedSegment]>;
|
||||||
|
keys(): IterableIterator<number>;
|
||||||
|
values(): IterableIterator<CSSUnparsedSegment>;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface Cache {
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/addAll) */
|
||||||
|
addAll(requests: Iterable<RequestInfo>): Promise<void>;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface CanvasPath {
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/roundRect) */
|
||||||
|
roundRect(x: number, y: number, w: number, h: number, radii?: number | DOMPointInit | Iterable<number | DOMPointInit>): void;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface CanvasPathDrawingStyles {
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/setLineDash) */
|
||||||
|
setLineDash(segments: Iterable<number>): void;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface DOMStringList {
|
||||||
|
[Symbol.iterator](): IterableIterator<string>;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface FileList {
|
||||||
|
[Symbol.iterator](): IterableIterator<File>;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface FontFaceSet extends Set<FontFace> {
|
||||||
|
}
|
||||||
|
|
||||||
|
interface FormData {
|
||||||
|
[Symbol.iterator](): IterableIterator<[string, FormDataEntryValue]>;
|
||||||
|
/** Returns an array of key, value pairs for every entry in the list. */
|
||||||
|
entries(): IterableIterator<[string, FormDataEntryValue]>;
|
||||||
|
/** Returns a list of keys in the list. */
|
||||||
|
keys(): IterableIterator<string>;
|
||||||
|
/** Returns a list of values in the list. */
|
||||||
|
values(): IterableIterator<FormDataEntryValue>;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface Headers {
|
||||||
|
[Symbol.iterator](): IterableIterator<[string, string]>;
|
||||||
|
/** Returns an iterator allowing to go through all key/value pairs contained in this object. */
|
||||||
|
entries(): IterableIterator<[string, string]>;
|
||||||
|
/** Returns an iterator allowing to go through all keys of the key/value pairs contained in this object. */
|
||||||
|
keys(): IterableIterator<string>;
|
||||||
|
/** Returns an iterator allowing to go through all values of the key/value pairs contained in this object. */
|
||||||
|
values(): IterableIterator<string>;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface IDBDatabase {
|
||||||
|
/**
|
||||||
|
* Returns a new transaction with the given mode ("readonly" or "readwrite") and scope which can be a single object store name or an array of names.
|
||||||
|
*
|
||||||
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/transaction)
|
||||||
|
*/
|
||||||
|
transaction(storeNames: string | Iterable<string>, mode?: IDBTransactionMode, options?: IDBTransactionOptions): IDBTransaction;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface IDBObjectStore {
|
||||||
|
/**
|
||||||
|
* Creates a new index in store with the given name, keyPath and options and returns a new IDBIndex. If the keyPath and options define constraints that cannot be satisfied with the data already in store the upgrade transaction will abort with a "ConstraintError" DOMException.
|
||||||
|
*
|
||||||
|
* Throws an "InvalidStateError" DOMException if not called within an upgrade transaction.
|
||||||
|
*
|
||||||
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/createIndex)
|
||||||
|
*/
|
||||||
|
createIndex(name: string, keyPath: string | Iterable<string>, options?: IDBIndexParameters): IDBIndex;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface MessageEvent<T = any> {
|
||||||
|
/**
|
||||||
|
* @deprecated
|
||||||
|
*
|
||||||
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent)
|
||||||
|
*/
|
||||||
|
initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: Iterable<MessagePort>): void;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface StylePropertyMapReadOnly {
|
||||||
|
[Symbol.iterator](): IterableIterator<[string, Iterable<CSSStyleValue>]>;
|
||||||
|
entries(): IterableIterator<[string, Iterable<CSSStyleValue>]>;
|
||||||
|
keys(): IterableIterator<string>;
|
||||||
|
values(): IterableIterator<Iterable<CSSStyleValue>>;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface SubtleCrypto {
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveKey) */
|
||||||
|
deriveKey(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: AlgorithmIdentifier | AesDerivedKeyParams | HmacImportParams | HkdfParams | Pbkdf2Params, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/generateKey) */
|
||||||
|
generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKeyPair>;
|
||||||
|
generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;
|
||||||
|
generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKeyPair | CryptoKey>;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/importKey) */
|
||||||
|
importKey(format: "jwk", keyData: JsonWebKey, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;
|
||||||
|
importKey(format: Exclude<KeyFormat, "jwk">, keyData: BufferSource, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/unwrapKey) */
|
||||||
|
unwrapKey(format: KeyFormat, wrappedKey: BufferSource, unwrappingKey: CryptoKey, unwrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, unwrappedKeyAlgorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface URLSearchParams {
|
||||||
|
[Symbol.iterator](): IterableIterator<[string, string]>;
|
||||||
|
/** Returns an array of key, value pairs for every entry in the search params. */
|
||||||
|
entries(): IterableIterator<[string, string]>;
|
||||||
|
/** Returns a list of keys in the search params. */
|
||||||
|
keys(): IterableIterator<string>;
|
||||||
|
/** Returns a list of values in the search params. */
|
||||||
|
values(): IterableIterator<string>;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface WEBGL_draw_buffers {
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_draw_buffers/drawBuffersWEBGL) */
|
||||||
|
drawBuffersWEBGL(buffers: Iterable<GLenum>): void;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface WEBGL_multi_draw {
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysInstancedWEBGL) */
|
||||||
|
multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: GLuint, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: GLuint, drawcount: GLsizei): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysWEBGL) */
|
||||||
|
multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: GLuint, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, drawcount: GLsizei): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsInstancedWEBGL) */
|
||||||
|
multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: GLuint, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: GLuint, drawcount: GLsizei): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsWEBGL) */
|
||||||
|
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: GLuint, drawcount: GLsizei): void;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface WebGL2RenderingContextBase {
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
|
||||||
|
clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLfloat>, srcOffset?: GLuint): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
|
||||||
|
clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLint>, srcOffset?: GLuint): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
|
||||||
|
clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLuint>, srcOffset?: GLuint): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/drawBuffers) */
|
||||||
|
drawBuffers(buffers: Iterable<GLenum>): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getActiveUniforms) */
|
||||||
|
getActiveUniforms(program: WebGLProgram, uniformIndices: Iterable<GLuint>, pname: GLenum): any;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getUniformIndices) */
|
||||||
|
getUniformIndices(program: WebGLProgram, uniformNames: Iterable<string>): Iterable<GLuint> | null;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateFramebuffer) */
|
||||||
|
invalidateFramebuffer(target: GLenum, attachments: Iterable<GLenum>): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateSubFramebuffer) */
|
||||||
|
invalidateSubFramebuffer(target: GLenum, attachments: Iterable<GLenum>, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/transformFeedbackVaryings) */
|
||||||
|
transformFeedbackVaryings(program: WebGLProgram, varyings: Iterable<string>, bufferMode: GLenum): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
||||||
|
uniform1uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
||||||
|
uniform2uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
||||||
|
uniform3uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
||||||
|
uniform4uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
||||||
|
uniformMatrix2x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
||||||
|
uniformMatrix2x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
||||||
|
uniformMatrix3x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
||||||
|
uniformMatrix3x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
||||||
|
uniformMatrix4x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
||||||
|
uniformMatrix4x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/vertexAttribI) */
|
||||||
|
vertexAttribI4iv(index: GLuint, values: Iterable<GLint>): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/vertexAttribI) */
|
||||||
|
vertexAttribI4uiv(index: GLuint, values: Iterable<GLuint>): void;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface WebGL2RenderingContextOverloads {
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
||||||
|
uniform1fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
||||||
|
uniform1iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
||||||
|
uniform2fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
||||||
|
uniform2iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
||||||
|
uniform3fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
||||||
|
uniform3iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
||||||
|
uniform4fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
||||||
|
uniform4iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
||||||
|
uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
||||||
|
uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
||||||
|
uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface WebGLRenderingContextBase {
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */
|
||||||
|
vertexAttrib1fv(index: GLuint, values: Iterable<GLfloat>): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */
|
||||||
|
vertexAttrib2fv(index: GLuint, values: Iterable<GLfloat>): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */
|
||||||
|
vertexAttrib3fv(index: GLuint, values: Iterable<GLfloat>): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */
|
||||||
|
vertexAttrib4fv(index: GLuint, values: Iterable<GLfloat>): void;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface WebGLRenderingContextOverloads {
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
||||||
|
uniform1fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
||||||
|
uniform1iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
||||||
|
uniform2fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
||||||
|
uniform2iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
||||||
|
uniform3fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
||||||
|
uniform3iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
||||||
|
uniform4fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
||||||
|
uniform4iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
||||||
|
uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
||||||
|
uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;
|
||||||
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
||||||
|
uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;
|
||||||
|
}
|
1131
node_modules/typescript/lib/pl/diagnosticMessages.generated.json
generated
vendored
1131
node_modules/typescript/lib/pl/diagnosticMessages.generated.json
generated
vendored
File diff suppressed because it is too large
Load Diff
2611
node_modules/typescript/lib/protocol.d.ts
generated
vendored
2611
node_modules/typescript/lib/protocol.d.ts
generated
vendored
File diff suppressed because it is too large
Load Diff
1135
node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json
generated
vendored
1135
node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json
generated
vendored
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user