mirror of
https://github.com/Azure/setup-helm.git
synced 2025-09-06 03:56:32 +00:00
Updating typescript and js file
This commit is contained in:
26
lib/run.js
26
lib/run.js
@ -1,6 +1,25 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
// Copyright (c) Microsoft Corporation.
|
// Copyright (c) Microsoft Corporation.
|
||||||
// Licensed under the MIT license.
|
// Licensed under the MIT license.
|
||||||
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||||
|
if (k2 === undefined) k2 = k;
|
||||||
|
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
||||||
|
}) : (function(o, m, k, k2) {
|
||||||
|
if (k2 === undefined) k2 = k;
|
||||||
|
o[k2] = m[k];
|
||||||
|
}));
|
||||||
|
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||||
|
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||||
|
}) : function(o, v) {
|
||||||
|
o["default"] = v;
|
||||||
|
});
|
||||||
|
var __importStar = (this && this.__importStar) || function (mod) {
|
||||||
|
if (mod && mod.__esModule) return mod;
|
||||||
|
var result = {};
|
||||||
|
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
||||||
|
__setModuleDefault(result, mod);
|
||||||
|
return result;
|
||||||
|
};
|
||||||
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
||||||
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
||||||
return new (P || (P = Promise))(function (resolve, reject) {
|
return new (P || (P = Promise))(function (resolve, reject) {
|
||||||
@ -10,13 +29,6 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|||||||
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
var __importStar = (this && this.__importStar) || function (mod) {
|
|
||||||
if (mod && mod.__esModule) return mod;
|
|
||||||
var result = {};
|
|
||||||
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
|
|
||||||
result["default"] = mod;
|
|
||||||
return result;
|
|
||||||
};
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
const os = __importStar(require("os"));
|
const os = __importStar(require("os"));
|
||||||
const path = __importStar(require("path"));
|
const path = __importStar(require("path"));
|
||||||
|
1
node_modules/typescript/.yarnrc
generated
vendored
1
node_modules/typescript/.yarnrc
generated
vendored
@ -1 +0,0 @@
|
|||||||
--install.no-lockfile true
|
|
826
node_modules/typescript/AUTHORS.md
generated
vendored
826
node_modules/typescript/AUTHORS.md
generated
vendored
@ -1,348 +1,480 @@
|
|||||||
TypeScript is authored by:
|
TypeScript is authored by:
|
||||||
* Aaron Holmes
|
|
||||||
* Abubaker Bashir
|
- 0verk1ll
|
||||||
* Adam Freidin
|
- Abubaker Bashir
|
||||||
* Adi Dahiya
|
- Adam Freidin
|
||||||
* Aditya Daflapurkar
|
- Adam Postma
|
||||||
* Adnan Chowdhury
|
- Adi Dahiya
|
||||||
* Adrian Leonhard
|
- Aditya Daflapurkar
|
||||||
* Adrien Gibrat
|
- Adnan Chowdhury
|
||||||
* Ahmad Farid
|
- Adrian Leonhard
|
||||||
* Akshar Patel
|
- Adrien Gibrat
|
||||||
* Alan Agius
|
- Ahmad Farid
|
||||||
* Alex Chugaev
|
- Ajay Poshak
|
||||||
* Alex Eagle
|
- Alan Agius
|
||||||
* Alex Khomchenko
|
- Alan Pierce
|
||||||
* Alex Ryan
|
- Alessandro Vergani
|
||||||
* Alexander Kuvaev
|
- Alex Chugaev
|
||||||
* Alexander Rusakov
|
- Alex Eagle
|
||||||
* Alexander Tarasyuk
|
- Alex Khomchenko
|
||||||
* Ali Sabzevari
|
- Alex Ryan
|
||||||
* Aliaksandr Radzivanovich
|
- Alexander
|
||||||
* Aluan Haddad
|
- Alexander Kuvaev
|
||||||
* Anatoly Ressin
|
- Alexander Rusakov
|
||||||
* Anders Hejlsberg
|
- Alexander Tarasyuk
|
||||||
* Andreas Martin
|
- Ali Sabzevari
|
||||||
* Andrej Baran
|
- Aluan Haddad
|
||||||
* Andrew Casey
|
- amaksimovich2
|
||||||
* Andrew Faulkner
|
- Anatoly Ressin
|
||||||
* Andrew Ochsner
|
- Anders Hejlsberg
|
||||||
* Andrew Stegmaier
|
- Anders Kaseorg
|
||||||
* Andrew Z Allen
|
- Andre Sutherland
|
||||||
* András Parditka
|
- Andreas Martin
|
||||||
* Andy Hanson
|
- Andrej Baran
|
||||||
* Anil Anar
|
- Andrew
|
||||||
* Anton Khlynovskiy
|
- Andrew Branch
|
||||||
* Anton Tolmachev
|
- Andrew Casey
|
||||||
* Anubha Mathur
|
- Andrew Faulkner
|
||||||
* Armando Aguirre
|
- Andrew Ochsner
|
||||||
* Arnaud Tournier
|
- Andrew Stegmaier
|
||||||
* Arnav Singh
|
- Andrew Z Allen
|
||||||
* Artem Tyurin
|
- Andrey Roenko
|
||||||
* Arthur Ozga
|
- Andrii Dieiev
|
||||||
* Asad Saeeduddin
|
- András Parditka
|
||||||
* Avery Morin
|
- Andy Hanson
|
||||||
* Basarat Ali Syed
|
- Anil Anar
|
||||||
* @begincalendar
|
- Anix
|
||||||
* Ben Duffield
|
- Anton Khlynovskiy
|
||||||
* Ben Mosher
|
- Anton Tolmachev
|
||||||
* Benjamin Bock
|
- Anubha Mathur
|
||||||
* Benjamin Lichtman
|
- AnyhowStep
|
||||||
* Benny Neugebauer
|
- Armando Aguirre
|
||||||
* Bill Ticehurst
|
- Arnaud Tournier
|
||||||
* Blaine Bublitz
|
- Arnav Singh
|
||||||
* Blake Embrey
|
- Arpad Borsos
|
||||||
* @bluelovers
|
- Artem Tyurin
|
||||||
* @bootstraponline
|
- Arthur Ozga
|
||||||
* Bowden Kelly
|
- Asad Saeeduddin
|
||||||
* Bowden Kenny
|
- Austin Cummings
|
||||||
* Brandon Slade
|
- Avery Morin
|
||||||
* Brett Mayen
|
- Aziz Khambati
|
||||||
* Bryan Forbes
|
- Basarat Ali Syed
|
||||||
* Caitlin Potter
|
- @begincalendar
|
||||||
* Cameron Taggart
|
- Ben Duffield
|
||||||
* @cedvdb
|
- Ben Lichtman
|
||||||
* Charles Pierce
|
- Ben Mosher
|
||||||
* Charly POLY
|
- Benedikt Meurer
|
||||||
* Chris Bubernak
|
- Benjamin Bock
|
||||||
* Christophe Vidal
|
- Benjamin Lichtman
|
||||||
* Chuck Jazdzewski
|
- Benny Neugebauer
|
||||||
* Colby Russell
|
- BigAru
|
||||||
* Colin Snover
|
- Bill Ticehurst
|
||||||
* Cotton Hou
|
- Blaine Bublitz
|
||||||
* Cyrus Najmabadi
|
- Blake Embrey
|
||||||
* Dafrok Zhang
|
- @bluelovers
|
||||||
* Dahan Gong
|
- @bootstraponline
|
||||||
* Dan Corder
|
- Bowden Kelly
|
||||||
* Dan Freeman
|
- Bowden Kenny
|
||||||
* Dan Quirk
|
- Brad Zacher
|
||||||
* Daniel Gooss
|
- Brandon Banks
|
||||||
* Daniel Hollocher
|
- Brandon Bloom
|
||||||
* Daniel Król
|
- Brandon Slade
|
||||||
* Daniel Lehenbauer
|
- Brendan Kenny
|
||||||
* Daniel Rosenwasser
|
- Brett Mayen
|
||||||
* David Kmenta
|
- Brian Terlson
|
||||||
* David Li
|
- Bryan Forbes
|
||||||
* David Sheldrick
|
- Caitlin Potter
|
||||||
* David Sherret
|
- Caleb Sander
|
||||||
* David Souther
|
- Cameron Taggart
|
||||||
* David Staheli
|
- @cedvdb
|
||||||
* Denis Nedelyaev
|
- Charles
|
||||||
* Derek P Sifford
|
- Charles Pierce
|
||||||
* Dhruv Rajvanshi
|
- Charly POLY
|
||||||
* Dick van den Brink
|
- Chris Bubernak
|
||||||
* Diogo Franco (Kovensky)
|
- Chris Patterson
|
||||||
* Dirk Bäumer
|
- christian
|
||||||
* Dirk Holtwick
|
- Christophe Vidal
|
||||||
* Dom Chen
|
- Chuck Jazdzewski
|
||||||
* Donald Pipowitch
|
- Clay Miller
|
||||||
* Doug Ilijev
|
- Colby Russell
|
||||||
* @e-cloud
|
- Colin Snover
|
||||||
* Ecole Keine
|
- Collins Abitekaniza
|
||||||
* Elisée Maurer
|
- Connor Clark
|
||||||
* Elizabeth Dinella
|
- Cotton Hou
|
||||||
* Emilio García-Pumarino
|
- csigs
|
||||||
* Eric Grube
|
- Cyrus Najmabadi
|
||||||
* Eric Tsang
|
- Dafrok Zhang
|
||||||
* Erik Edrosa
|
- Dahan Gong
|
||||||
* Erik McClenney
|
- Daiki Nishikawa
|
||||||
* Esakki Raj
|
- Dan Corder
|
||||||
* Ethan Resnick
|
- Dan Freeman
|
||||||
* Ethan Rubio
|
- Dan Quirk
|
||||||
* Eugene Timokhov
|
- Dan Rollo
|
||||||
* Evan Martin
|
- Daniel Gooss
|
||||||
* Evan Sebastian
|
- Daniel Imms
|
||||||
* Eyas Sharaiha
|
- Daniel Krom
|
||||||
* Fabian Cook
|
- Daniel Król
|
||||||
* @falsandtru
|
- Daniel Lehenbauer
|
||||||
* Filipe Silva
|
- Daniel Rosenwasser
|
||||||
* @flowmemo
|
- David Li
|
||||||
* Francois Wouts
|
- David Sheldrick
|
||||||
* Frank Wallis
|
- David Sherret
|
||||||
* Franklin Tse
|
- David Souther
|
||||||
* František Žiacik
|
- David Staheli
|
||||||
* Gabe Moothart
|
- Denis Nedelyaev
|
||||||
* Gabriel Isenberg
|
- Derek P Sifford
|
||||||
* Gilad Peleg
|
- Dhruv Rajvanshi
|
||||||
* Godfrey Chan
|
- Dick van den Brink
|
||||||
* Graeme Wicksted
|
- Diogo Franco (Kovensky)
|
||||||
* Guilherme Oenning
|
- Dirk Bäumer
|
||||||
* Guillaume Salles
|
- Dirk Holtwick
|
||||||
* Guy Bedford
|
- Dmitrijs Minajevs
|
||||||
* Halasi Tamás
|
- Dom Chen
|
||||||
* Harald Niesche
|
- Donald Pipowitch
|
||||||
* Hendrik Liebau
|
- Doug Ilijev
|
||||||
* Henry Mercer
|
- dreamran43@gmail.com
|
||||||
* Herrington Darkholme
|
- @e-cloud
|
||||||
* Holger Jeromin
|
- Ecole Keine
|
||||||
* Homa Wong
|
- Eddie Jaoude
|
||||||
* Iain Monro
|
- Edward Thomson
|
||||||
* @IdeaHunter
|
- EECOLOR
|
||||||
* Igor Novozhilov
|
- Eli Barzilay
|
||||||
* Ika
|
- Elizabeth Dinella
|
||||||
* Ingvar Stepanyan
|
- Ely Alamillo
|
||||||
* Isiah Meadows
|
- Eric Grube
|
||||||
* Ivan Enderlin
|
- Eric Tsang
|
||||||
* Ivo Gabe de Wolff
|
- Erik Edrosa
|
||||||
* Iwata Hidetaka
|
- Erik McClenney
|
||||||
* Jack Williams
|
- Esakki Raj
|
||||||
* Jakub Korzeniowski
|
- Ethan Resnick
|
||||||
* Jakub Młokosiewicz
|
- Ethan Rubio
|
||||||
* James Henry
|
- Eugene Timokhov
|
||||||
* James Whitney
|
- Evan Cahill
|
||||||
* Jan Melcher
|
- Evan Martin
|
||||||
* Jason Freeman
|
- Evan Sebastian
|
||||||
* Jason Jarrett
|
- ExE Boss
|
||||||
* Jason Killian
|
- Eyas Sharaiha
|
||||||
* Jason Ramsay
|
- Fabian Cook
|
||||||
* JBerger
|
- @falsandtru
|
||||||
* Jed Mao
|
- Filipe Silva
|
||||||
* Jeffrey Morlan
|
- @flowmemo
|
||||||
* Jesse Schalken
|
- Forbes Lindesay
|
||||||
* Jing Ma
|
- Francois Hendriks
|
||||||
* Jiri Tobisek
|
- Francois Wouts
|
||||||
* Joe Calzaretta
|
- Frank Wallis
|
||||||
* Joe Chung
|
- František Žiacik
|
||||||
* Joel Day
|
- Frederico Bittencourt
|
||||||
* Joey Wilson
|
- fullheightcoding
|
||||||
* Johannes Rieken
|
- Gabe Moothart
|
||||||
* John Doe
|
- Gabriel Isenberg
|
||||||
* John Vilk
|
- Gabriela Araujo Britto
|
||||||
* Jonathan Bond-Caron
|
- Gabriela Britto
|
||||||
* Jonathan Park
|
- gb714us
|
||||||
* Jonathan Toland
|
- Gilad Peleg
|
||||||
* Jonathan Turner
|
- Godfrey Chan
|
||||||
* Jonathon Smith
|
- Gorka Hernández Estomba
|
||||||
* Jordi Oliveras Rovira
|
- Graeme Wicksted
|
||||||
* Joscha Feth
|
- Guillaume Salles
|
||||||
* Josh Abernathy
|
- Guy Bedford
|
||||||
* Josh Goldberg
|
- hafiz
|
||||||
* Josh Kalderimis
|
- Halasi Tamás
|
||||||
* Josh Soref
|
- Hendrik Liebau
|
||||||
* Juan Luis Boya García
|
- Henry Mercer
|
||||||
* Julian Williams
|
- Herrington Darkholme
|
||||||
* Justin Bay
|
- Hoang Pham
|
||||||
* Justin Johansson
|
- Holger Jeromin
|
||||||
* K. Preißer
|
- Homa Wong
|
||||||
* Kagami Sascha Rosylight
|
- Hye Sung Jung
|
||||||
* Kanchalai Tanglertsampan
|
- Iain Monro
|
||||||
* Kate Miháliková
|
- @IdeaHunter
|
||||||
* Keith Mashinter
|
- Igor Novozhilov
|
||||||
* Ken Howard
|
- Igor Oleinikov
|
||||||
* Kenji Imamula
|
- Ika
|
||||||
* Kerem Kat
|
- iliashkolyar
|
||||||
* Kevin Donnelly
|
- IllusionMH
|
||||||
* Kevin Gibbons
|
- Ingvar Stepanyan
|
||||||
* Kevin Lang
|
- Ingvar Stepanyan
|
||||||
* Khải
|
- Isiah Meadows
|
||||||
* Kitson Kelly
|
- ispedals
|
||||||
* Klaus Meinhardt
|
- Ivan Enderlin
|
||||||
* Kris Zyp
|
- Ivo Gabe de Wolff
|
||||||
* Kyle Kelley
|
- Iwata Hidetaka
|
||||||
* Kārlis Gaņģis
|
- Jack Bates
|
||||||
* Lorant Pinter
|
- Jack Williams
|
||||||
* Lucien Greathouse
|
- Jake Boone
|
||||||
* Lukas Elmer
|
- Jakub Korzeniowski
|
||||||
* Maarten Sijm
|
- Jakub Młokosiewicz
|
||||||
* Magnus Hiie
|
- James Henry
|
||||||
* Magnus Kulke
|
- James Keane
|
||||||
* Manish Giri
|
- James Whitney
|
||||||
* Marin Marinov
|
- Jan Melcher
|
||||||
* Marius Schulz
|
- Jason Freeman
|
||||||
* Markus Johnsson
|
- Jason Jarrett
|
||||||
* Martin Hiller
|
- Jason Killian
|
||||||
* Martin Probst
|
- Jason Ramsay
|
||||||
* Martin Vseticka
|
- JBerger
|
||||||
* Martyn Janes
|
- Jean Pierre
|
||||||
* Masahiro Wakame
|
- Jed Mao
|
||||||
* Mateusz Burzyński
|
- Jeff Wilcox
|
||||||
* Matt Bierner
|
- Jeffrey Morlan
|
||||||
* Matt McCutchen
|
- Jesse Schalken
|
||||||
* Matt Mitchell
|
- Jesse Trinity
|
||||||
* Mattias Buelens
|
- Jing Ma
|
||||||
* Mattias Buelens
|
- Jiri Tobisek
|
||||||
* Max Deepfield
|
- Joe Calzaretta
|
||||||
* Maxwell Paul Brickner
|
- Joe Chung
|
||||||
* @meyer
|
- Joel Day
|
||||||
* Micah Zoltu
|
- Joey Watts
|
||||||
* @micbou
|
- Johannes Rieken
|
||||||
* Michael
|
- John Doe
|
||||||
* Michael Bromley
|
- John Vilk
|
||||||
* Mike Busyrev
|
- Jonathan Bond-Caron
|
||||||
* Mike Morearty
|
- Jonathan Park
|
||||||
* Mine Starks
|
- Jonathan Toland
|
||||||
* Mohamed Hegazy
|
- Jordan Harband
|
||||||
* Mohsen Azimi
|
- Jordi Oliveras Rovira
|
||||||
* Myles Megyesi
|
- Joscha Feth
|
||||||
* Nathan Shively-Sanders
|
- Joseph Wunderlich
|
||||||
* Nathan Yee
|
- Josh Abernathy
|
||||||
* Nicolas Henry
|
- Josh Goldberg
|
||||||
* Nicu Micleușanu
|
- Josh Kalderimis
|
||||||
* @nieltg
|
- Josh Soref
|
||||||
* Nima Zahedi
|
- Juan Luis Boya García
|
||||||
* Noah Chen
|
- Julian Williams
|
||||||
* Noel Varanda
|
- Justin Bay
|
||||||
* Noj Vek
|
- Justin Johansson
|
||||||
* Oleg Mihailik
|
- jwbay
|
||||||
* Oleksandr Chekhovskyi
|
- K. Preißer
|
||||||
* Omer Sheikh
|
- Kagami Sascha Rosylight
|
||||||
* Orta Therox
|
- Kanchalai Tanglertsampan
|
||||||
* Oskar Segersva¨rd
|
- karthikkp
|
||||||
* Oussama Ben Brahim
|
- Kate Miháliková
|
||||||
* Patrick Zhong
|
- Keen Yee Liau
|
||||||
* Paul Jolly
|
- Keith Mashinter
|
||||||
* Paul Koerbitz
|
- Ken Howard
|
||||||
* Paul van Brenk
|
- Kenji Imamula
|
||||||
* @pcbro
|
- Kerem Kat
|
||||||
* Pedro Maltez
|
- Kevin Donnelly
|
||||||
* Perry Jiang
|
- Kevin Gibbons
|
||||||
* Peter Burns
|
- Kevin Lang
|
||||||
* Philip Bulley
|
- Khải
|
||||||
* Philippe Voinov
|
- Kitson Kelly
|
||||||
* Pi Lanningham
|
- Klaus Meinhardt
|
||||||
* Piero Cangianiello
|
- Kris Zyp
|
||||||
* @piloopin
|
- Kyle Kelley
|
||||||
* Prayag Verma
|
- Kārlis Gaņģis
|
||||||
* Priyantha Lankapura
|
- laoxiong
|
||||||
* @progre
|
- Leon Aves
|
||||||
* Punya Biswal
|
- Limon Monte
|
||||||
* Rado Kirov
|
- Lorant Pinter
|
||||||
* Raj Dosanjh
|
- Lucien Greathouse
|
||||||
* Reiner Dolp
|
- Luka Hartwig
|
||||||
* Remo H. Jansen
|
- Lukas Elmer
|
||||||
* @rhysd
|
- M.Yoshimura
|
||||||
* Ricardo N Feliciano
|
- Maarten Sijm
|
||||||
* Richard Karmazín
|
- Magnus Hiie
|
||||||
* Richard Knoll
|
- Magnus Kulke
|
||||||
* Richard Sentino
|
- Manish Bansal
|
||||||
* Robert Coie
|
- Manish Giri
|
||||||
* Rohit Verma
|
- Marcus Noble
|
||||||
* Ron Buckton
|
- Marin Marinov
|
||||||
* Rostislav Galimsky
|
- Marius Schulz
|
||||||
* Rowan Wyborn
|
- Markus Johnsson
|
||||||
* Ryan Cavanaugh
|
- Markus Wolf
|
||||||
* Ryohei Ikegami
|
- Martin
|
||||||
* Sam Bostock
|
- Martin Hiller
|
||||||
* Sam El-Husseini
|
- Martin Johns
|
||||||
* Sarangan Rajamanickam
|
- Martin Probst
|
||||||
* Sean Barag
|
- Martin Vseticka
|
||||||
* Sergey Rubanov
|
- Martyn Janes
|
||||||
* Sergey Shandar
|
- Masahiro Wakame
|
||||||
* Sergii Bezliudnyi
|
- Mateusz Burzyński
|
||||||
* Sharon Rolel
|
- Matt Bierner
|
||||||
* Sheetal Nandi
|
- Matt McCutchen
|
||||||
* Shengping Zhong
|
- Matt Mitchell
|
||||||
* Shyyko Serhiy
|
- Matthew Aynalem
|
||||||
* Simon Hürlimann
|
- Matthew Miller
|
||||||
* Slawomir Sadziak
|
- Mattias Buelens
|
||||||
* Solal Pirelli
|
- Max Heiber
|
||||||
* Soo Jae Hwang
|
- Maxwell Paul Brickner
|
||||||
* Stan Thomas
|
- @meyer
|
||||||
* Stanislav Iliev
|
- Micah Zoltu
|
||||||
* Stanislav Sysoev
|
- @micbou
|
||||||
* Stas Vilchik
|
- Michael
|
||||||
* Stephan Ginthör
|
- Michael Crane
|
||||||
* Steve Lucco
|
- Michael Henderson
|
||||||
* @styfle
|
- Michael Tamm
|
||||||
* Sudheesh Singanamalla
|
- Michael Tang
|
||||||
* Sébastien Arod
|
- Michal Przybys
|
||||||
* @T18970237136
|
- Mike Busyrev
|
||||||
* @t_
|
- Mike Morearty
|
||||||
* Taras Mankovski
|
- Milosz Piechocki
|
||||||
* Tarik Ozket
|
- Mine Starks
|
||||||
* Tetsuharu Ohzeki
|
- Minh Nguyen
|
||||||
* Thomas den Hollander
|
- Mohamed Hegazy
|
||||||
* Thomas Loubiou
|
- Mohsen Azimi
|
||||||
* Tien Hoanhtien
|
- Mukesh Prasad
|
||||||
* Tim Lancina
|
- Myles Megyesi
|
||||||
* Tim Perry
|
- Nathan Day
|
||||||
* Tim Viiding-Spader
|
- Nathan Fenner
|
||||||
* Tingan Ho
|
- Nathan Shively-Sanders
|
||||||
* Todd Thomson
|
- Nathan Yee
|
||||||
* togru
|
- ncoley
|
||||||
* Tomas Grubliauskas
|
- Nicholas Yang
|
||||||
* Torben Fitschen
|
- Nicu Micleușanu
|
||||||
* @TravCav
|
- @nieltg
|
||||||
* TruongSinh Tran-Nguyen
|
- Nima Zahedi
|
||||||
* Tycho Grouwstra
|
- Noah Chen
|
||||||
* Vadi Taslim
|
- Noel Varanda
|
||||||
* Vakhurin Sergey
|
- Noel Yoo
|
||||||
* Vidar Tonaas Fauske
|
- Noj Vek
|
||||||
* Viktor Zozulyak
|
- nrcoley
|
||||||
* Vilic Vane
|
- Nuno Arruda
|
||||||
* Vimal Raghubir
|
- Oleg Mihailik
|
||||||
* Vladimir Kurchatkin
|
- Oleksandr Chekhovskyi
|
||||||
* Vladimir Matveev
|
- Omer Sheikh
|
||||||
* Vyacheslav Pukhanov
|
- Orta Therox
|
||||||
* Wenlu Wang
|
- Orta Therox
|
||||||
* Wesley Wigham
|
- Oskar Grunning
|
||||||
* William Orr
|
- Oskar Segersva¨rd
|
||||||
* Wilson Hobbs
|
- Oussama Ben Brahim
|
||||||
* York Yao
|
- Ozair Patel
|
||||||
* @yortus
|
- Patrick McCartney
|
||||||
* Yuichi Nukiyama
|
- Patrick Zhong
|
||||||
* Yuval Greenfield
|
- Paul Koerbitz
|
||||||
* Zeeshan Ahmed
|
- Paul van Brenk
|
||||||
* Zev Spitz
|
- @pcbro
|
||||||
* Zhengbo Li
|
- Pedro Maltez
|
||||||
* @Zzzen
|
- Pete Bacon Darwin
|
||||||
|
- Peter Burns
|
||||||
|
- Peter Šándor
|
||||||
|
- Philip Pesca
|
||||||
|
- Philippe Voinov
|
||||||
|
- Pi Lanningham
|
||||||
|
- Piero Cangianiello
|
||||||
|
- Pierre-Antoine Mills
|
||||||
|
- @piloopin
|
||||||
|
- Pranav Senthilnathan
|
||||||
|
- Prateek Goel
|
||||||
|
- Prateek Nayak
|
||||||
|
- Prayag Verma
|
||||||
|
- Priyantha Lankapura
|
||||||
|
- @progre
|
||||||
|
- Punya Biswal
|
||||||
|
- r7kamura
|
||||||
|
- Rado Kirov
|
||||||
|
- Raj Dosanjh
|
||||||
|
- rChaser53
|
||||||
|
- Reiner Dolp
|
||||||
|
- Remo H. Jansen
|
||||||
|
- @rflorian
|
||||||
|
- Rhys van der Waerden
|
||||||
|
- @rhysd
|
||||||
|
- Ricardo N Feliciano
|
||||||
|
- Richard Karmazín
|
||||||
|
- Richard Knoll
|
||||||
|
- Roger Spratley
|
||||||
|
- Ron Buckton
|
||||||
|
- Rostislav Galimsky
|
||||||
|
- Rowan Wyborn
|
||||||
|
- rpgeeganage
|
||||||
|
- Ruwan Pradeep Geeganage
|
||||||
|
- Ryan Cavanaugh
|
||||||
|
- Ryan Clarke
|
||||||
|
- Ryohei Ikegami
|
||||||
|
- Salisbury, Tom
|
||||||
|
- Sam Bostock
|
||||||
|
- Sam Drugan
|
||||||
|
- Sam El-Husseini
|
||||||
|
- Sam Lanning
|
||||||
|
- Sangmin Lee
|
||||||
|
- Sanket Mishra
|
||||||
|
- Sarangan Rajamanickam
|
||||||
|
- Sasha Joseph
|
||||||
|
- Sean Barag
|
||||||
|
- Sergey Rubanov
|
||||||
|
- Sergey Shandar
|
||||||
|
- Sergey Tychinin
|
||||||
|
- Sergii Bezliudnyi
|
||||||
|
- Sergio Baidon
|
||||||
|
- Sharon Rolel
|
||||||
|
- Sheetal Nandi
|
||||||
|
- Shengping Zhong
|
||||||
|
- Sheon Han
|
||||||
|
- Shyyko Serhiy
|
||||||
|
- Siddharth Singh
|
||||||
|
- sisisin
|
||||||
|
- Slawomir Sadziak
|
||||||
|
- Solal Pirelli
|
||||||
|
- Soo Jae Hwang
|
||||||
|
- Stan Thomas
|
||||||
|
- Stanislav Iliev
|
||||||
|
- Stanislav Sysoev
|
||||||
|
- Stas Vilchik
|
||||||
|
- Stephan Ginthör
|
||||||
|
- Steve Lucco
|
||||||
|
- @styfle
|
||||||
|
- Sudheesh Singanamalla
|
||||||
|
- Suhas
|
||||||
|
- Suhas Deshpande
|
||||||
|
- superkd37
|
||||||
|
- Sébastien Arod
|
||||||
|
- @T18970237136
|
||||||
|
- @t_
|
||||||
|
- Tan Li Hau
|
||||||
|
- Tapan Prakash
|
||||||
|
- Taras Mankovski
|
||||||
|
- Tarik Ozket
|
||||||
|
- Tetsuharu Ohzeki
|
||||||
|
- The Gitter Badger
|
||||||
|
- Thomas den Hollander
|
||||||
|
- Thorsten Ball
|
||||||
|
- Tien Hoanhtien
|
||||||
|
- Tim Lancina
|
||||||
|
- Tim Perry
|
||||||
|
- Tim Schaub
|
||||||
|
- Tim Suchanek
|
||||||
|
- Tim Viiding-Spader
|
||||||
|
- Tingan Ho
|
||||||
|
- Titian Cernicova-Dragomir
|
||||||
|
- tkondo
|
||||||
|
- Todd Thomson
|
||||||
|
- togru
|
||||||
|
- Tom J
|
||||||
|
- Torben Fitschen
|
||||||
|
- Toxyxer
|
||||||
|
- @TravCav
|
||||||
|
- Troy Tae
|
||||||
|
- TruongSinh Tran-Nguyen
|
||||||
|
- Tycho Grouwstra
|
||||||
|
- uhyo
|
||||||
|
- Vadi Taslim
|
||||||
|
- Vakhurin Sergey
|
||||||
|
- Valera Rozuvan
|
||||||
|
- Vilic Vane
|
||||||
|
- Vimal Raghubir
|
||||||
|
- Vladimir Kurchatkin
|
||||||
|
- Vladimir Matveev
|
||||||
|
- Vyacheslav Pukhanov
|
||||||
|
- Wenlu Wang
|
||||||
|
- Wes Souza
|
||||||
|
- Wesley Wigham
|
||||||
|
- William Orr
|
||||||
|
- Wilson Hobbs
|
||||||
|
- xiaofa
|
||||||
|
- xl1
|
||||||
|
- Yacine Hmito
|
||||||
|
- Yang Cao
|
||||||
|
- York Yao
|
||||||
|
- @yortus
|
||||||
|
- Yoshiki Shibukawa
|
||||||
|
- Yuichi Nukiyama
|
||||||
|
- Yuval Greenfield
|
||||||
|
- Yuya Tanaka
|
||||||
|
- Z
|
||||||
|
- Zeeshan Ahmed
|
||||||
|
- Zev Spitz
|
||||||
|
- Zhengbo Li
|
||||||
|
- Zixiang Li
|
||||||
|
- @Zzzen
|
||||||
|
- 阿卡琳
|
||||||
|
46
node_modules/typescript/README.md
generated
vendored
46
node_modules/typescript/README.md
generated
vendored
@ -1,16 +1,15 @@
|
|||||||
|
|
||||||
# TypeScript
|
# TypeScript
|
||||||
|
|
||||||
[](https://gitter.im/Microsoft/TypeScript?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
[](https://travis-ci.org/microsoft/TypeScript)
|
||||||
[](https://travis-ci.org/Microsoft/TypeScript)
|
|
||||||
[](https://dev.azure.com/typescript/TypeScript/_build/latest?definitionId=4&view=logs)
|
[](https://dev.azure.com/typescript/TypeScript/_build/latest?definitionId=4&view=logs)
|
||||||
[](https://www.npmjs.com/package/typescript)
|
[](https://www.npmjs.com/package/typescript)
|
||||||
[](https://www.npmjs.com/package/typescript)
|
[](https://www.npmjs.com/package/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:
|
||||||
@ -27,14 +26,15 @@ npm install -g 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/master/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/master/CONTRIBUTING.md).
|
||||||
* Read the language specification ([docx](https://github.com/Microsoft/TypeScript/blob/master/doc/TypeScript%20Language%20Specification.docx?raw=true),
|
* 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)).
|
[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)
|
||||||
@ -42,9 +42,9 @@ with any additional questions or comments.
|
|||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
* [Quick tutorial](https://www.typescriptlang.org/docs/tutorial.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/basic-types.html)
|
||||||
* [Language specification](https://github.com/Microsoft/TypeScript/blob/master/doc/spec.md)
|
* [Language specification](https://github.com/microsoft/TypeScript/blob/master/doc/spec.md)
|
||||||
* [Homepage](https://www.typescriptlang.org/)
|
* [Homepage](https://www.typescriptlang.org/)
|
||||||
|
|
||||||
## Building
|
## Building
|
||||||
@ -54,7 +54,7 @@ In order to build the TypeScript compiler, ensure that you have [Git](https://gi
|
|||||||
Clone a copy of the repo:
|
Clone a copy of the repo:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/Microsoft/TypeScript.git
|
git clone https://github.com/microsoft/TypeScript.git
|
||||||
```
|
```
|
||||||
|
|
||||||
Change to the TypeScript directory:
|
Change to the TypeScript directory:
|
||||||
@ -73,16 +73,24 @@ npm install
|
|||||||
Use one of the following to build and test:
|
Use one of the following to build and test:
|
||||||
|
|
||||||
```
|
```
|
||||||
gulp local # Build the compiler into built/local
|
gulp local # Build the compiler into built/local.
|
||||||
gulp clean # Delete the built compiler
|
gulp clean # Delete the built compiler.
|
||||||
gulp LKG # Replace the last known good with the built one.
|
gulp LKG # Replace the last known good with the built one.
|
||||||
# Bootstrapping step to be executed when the built compiler reaches a stable state.
|
# Bootstrapping step to be executed when the built compiler reaches a stable state.
|
||||||
gulp tests # Build the test infrastructure using the built compiler.
|
gulp tests # Build the test infrastructure using the built compiler.
|
||||||
gulp runtests # Run tests using the built compiler and test infrastructure.
|
gulp runtests # Run tests using the built compiler and test infrastructure.
|
||||||
# You can override the host or specify a test for this command.
|
# Some low-value tests are skipped when not on a CI machine - you can use the
|
||||||
# Use --host=<hostName> or --tests=<testPath>.
|
# --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 baseline-accept # This replaces the baseline test results with the results obtained from gulp runtests.
|
||||||
gulp lint # Runs tslint on the TypeScript source.
|
gulp lint # Runs eslint on the TypeScript source.
|
||||||
gulp help # List the above commands.
|
gulp help # List the above commands.
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -96,4 +104,4 @@ 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).
|
||||||
|
8
node_modules/typescript/lib/cancellationToken.js
generated
vendored
8
node_modules/typescript/lib/cancellationToken.js
generated
vendored
@ -17,13 +17,7 @@ and limitations under the License.
|
|||||||
"use strict";
|
"use strict";
|
||||||
var fs = require("fs");
|
var fs = 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;
|
var cancellationPipeName;
|
||||||
|
468
node_modules/typescript/lib/cs/diagnosticMessages.generated.json
generated
vendored
468
node_modules/typescript/lib/cs/diagnosticMessages.generated.json
generated
vendored
File diff suppressed because it is too large
Load Diff
470
node_modules/typescript/lib/de/diagnosticMessages.generated.json
generated
vendored
470
node_modules/typescript/lib/de/diagnosticMessages.generated.json
generated
vendored
File diff suppressed because it is too large
Load Diff
472
node_modules/typescript/lib/es/diagnosticMessages.generated.json
generated
vendored
472
node_modules/typescript/lib/es/diagnosticMessages.generated.json
generated
vendored
File diff suppressed because it is too large
Load Diff
476
node_modules/typescript/lib/fr/diagnosticMessages.generated.json
generated
vendored
476
node_modules/typescript/lib/fr/diagnosticMessages.generated.json
generated
vendored
File diff suppressed because it is too large
Load Diff
484
node_modules/typescript/lib/it/diagnosticMessages.generated.json
generated
vendored
484
node_modules/typescript/lib/it/diagnosticMessages.generated.json
generated
vendored
File diff suppressed because it is too large
Load Diff
502
node_modules/typescript/lib/ja/diagnosticMessages.generated.json
generated
vendored
502
node_modules/typescript/lib/ja/diagnosticMessages.generated.json
generated
vendored
File diff suppressed because it is too large
Load Diff
472
node_modules/typescript/lib/ko/diagnosticMessages.generated.json
generated
vendored
472
node_modules/typescript/lib/ko/diagnosticMessages.generated.json
generated
vendored
File diff suppressed because it is too large
Load Diff
1578
node_modules/typescript/lib/lib.dom.d.ts
generated
vendored
1578
node_modules/typescript/lib/lib.dom.d.ts
generated
vendored
File diff suppressed because it is too large
Load Diff
42
node_modules/typescript/lib/lib.dom.iterable.d.ts
generated
vendored
42
node_modules/typescript/lib/lib.dom.iterable.d.ts
generated
vendored
@ -29,10 +29,6 @@ interface AudioParam {
|
|||||||
interface AudioParamMap extends ReadonlyMap<string, AudioParam> {
|
interface AudioParamMap extends ReadonlyMap<string, AudioParam> {
|
||||||
}
|
}
|
||||||
|
|
||||||
interface AudioTrackList {
|
|
||||||
[Symbol.iterator](): IterableIterator<AudioTrack>;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface BaseAudioContext {
|
interface BaseAudioContext {
|
||||||
createIIRFilter(feedforward: Iterable<number>, feedback: Iterable<number>): IIRFilterNode;
|
createIIRFilter(feedforward: Iterable<number>, feedback: Iterable<number>): IIRFilterNode;
|
||||||
createPeriodicWave(real: Iterable<number>, imag: Iterable<number>, constraints?: PeriodicWaveConstraints): PeriodicWave;
|
createPeriodicWave(real: Iterable<number>, imag: Iterable<number>, constraints?: PeriodicWaveConstraints): PeriodicWave;
|
||||||
@ -245,7 +241,7 @@ interface SpeechRecognitionResultList {
|
|||||||
}
|
}
|
||||||
|
|
||||||
interface StyleSheetList {
|
interface StyleSheetList {
|
||||||
[Symbol.iterator](): IterableIterator<StyleSheet>;
|
[Symbol.iterator](): IterableIterator<CSSStyleSheet>;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface TextTrackCueList {
|
interface TextTrackCueList {
|
||||||
@ -280,10 +276,6 @@ interface VRDisplay {
|
|||||||
requestPresent(layers: Iterable<VRLayer>): Promise<void>;
|
requestPresent(layers: Iterable<VRLayer>): Promise<void>;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface VideoTrackList {
|
|
||||||
[Symbol.iterator](): IterableIterator<VideoTrack>;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface WEBGL_draw_buffers {
|
interface WEBGL_draw_buffers {
|
||||||
drawBuffersWEBGL(buffers: Iterable<GLenum>): void;
|
drawBuffersWEBGL(buffers: Iterable<GLenum>): void;
|
||||||
}
|
}
|
||||||
@ -293,37 +285,37 @@ interface WebAuthentication {
|
|||||||
}
|
}
|
||||||
|
|
||||||
interface WebGL2RenderingContextBase {
|
interface WebGL2RenderingContextBase {
|
||||||
|
clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLfloat>, srcOffset?: GLuint): void;
|
||||||
|
clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLint>, srcOffset?: GLuint): void;
|
||||||
|
clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLuint>, srcOffset?: GLuint): void;
|
||||||
|
drawBuffers(buffers: Iterable<GLenum>): void;
|
||||||
|
getActiveUniforms(program: WebGLProgram, uniformIndices: Iterable<GLuint>, pname: GLenum): any;
|
||||||
|
getUniformIndices(program: WebGLProgram, uniformNames: Iterable<string>): Iterable<GLuint> | null;
|
||||||
invalidateFramebuffer(target: GLenum, attachments: Iterable<GLenum>): void;
|
invalidateFramebuffer(target: GLenum, attachments: Iterable<GLenum>): void;
|
||||||
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;
|
||||||
|
transformFeedbackVaryings(program: WebGLProgram, varyings: Iterable<string>, bufferMode: GLenum): void;
|
||||||
uniform1uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
uniform1uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
uniform2uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
uniform2uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
uniform3uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
uniform3uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
uniform4uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
uniform4uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
uniformMatrix3x2fv(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;
|
|
||||||
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;
|
||||||
uniformMatrix4x3fv(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;
|
uniformMatrix2x4fv(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;
|
||||||
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;
|
||||||
|
uniformMatrix4x2fv(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;
|
||||||
vertexAttribI4iv(index: GLuint, values: Iterable<GLint>): void;
|
vertexAttribI4iv(index: GLuint, values: Iterable<GLint>): void;
|
||||||
vertexAttribI4uiv(index: GLuint, values: Iterable<GLuint>): void;
|
vertexAttribI4uiv(index: GLuint, values: Iterable<GLuint>): void;
|
||||||
drawBuffers(buffers: Iterable<GLenum>): void;
|
|
||||||
clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLfloat>, srcOffset?: GLuint): void;
|
|
||||||
clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLint>, srcOffset?: GLuint): void;
|
|
||||||
clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLuint>, srcOffset?: GLuint): void;
|
|
||||||
transformFeedbackVaryings(program: WebGLProgram, varyings: Iterable<string>, bufferMode: GLenum): void;
|
|
||||||
getUniformIndices(program: WebGLProgram, uniformNames: Iterable<string>): Iterable<GLuint> | null;
|
|
||||||
getActiveUniforms(program: WebGLProgram, uniformIndices: Iterable<GLuint>, pname: GLenum): any;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
interface WebGL2RenderingContextOverloads {
|
interface WebGL2RenderingContextOverloads {
|
||||||
uniform1fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
uniform1fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
uniform2fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
|
||||||
uniform3fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
|
||||||
uniform4fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
|
||||||
uniform1iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
uniform1iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
|
uniform2fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
uniform2iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
uniform2iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
|
uniform3fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
uniform3iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
uniform3iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
|
uniform4fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
uniform4iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
uniform4iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: GLuint, srcLength?: GLuint): void;
|
||||||
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;
|
||||||
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;
|
||||||
@ -339,12 +331,12 @@ interface WebGLRenderingContextBase {
|
|||||||
|
|
||||||
interface WebGLRenderingContextOverloads {
|
interface WebGLRenderingContextOverloads {
|
||||||
uniform1fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
|
uniform1fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
|
||||||
uniform2fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
|
|
||||||
uniform3fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
|
|
||||||
uniform4fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
|
|
||||||
uniform1iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
|
uniform1iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
|
||||||
|
uniform2fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
|
||||||
uniform2iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
|
uniform2iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
|
||||||
|
uniform3fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
|
||||||
uniform3iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
|
uniform3iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
|
||||||
|
uniform4fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
|
||||||
uniform4iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
|
uniform4iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
|
||||||
uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;
|
uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;
|
||||||
uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;
|
uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;
|
||||||
|
8
node_modules/typescript/lib/lib.es2015.collection.d.ts
generated
vendored
8
node_modules/typescript/lib/lib.es2015.collection.d.ts
generated
vendored
@ -30,7 +30,7 @@ interface Map<K, V> {
|
|||||||
|
|
||||||
interface MapConstructor {
|
interface MapConstructor {
|
||||||
new(): Map<any, any>;
|
new(): Map<any, any>;
|
||||||
new<K, V>(entries?: ReadonlyArray<readonly [K, V]> | null): Map<K, V>;
|
new<K, V>(entries?: readonly (readonly [K, V])[] | null): Map<K, V>;
|
||||||
readonly prototype: Map<any, any>;
|
readonly prototype: Map<any, any>;
|
||||||
}
|
}
|
||||||
declare var Map: MapConstructor;
|
declare var Map: MapConstructor;
|
||||||
@ -50,7 +50,7 @@ interface WeakMap<K extends object, V> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
interface WeakMapConstructor {
|
interface WeakMapConstructor {
|
||||||
new <K extends object = object, V = any>(entries?: ReadonlyArray<[K, V]> | null): WeakMap<K, V>;
|
new <K extends object = object, V = any>(entries?: readonly [K, V][] | null): WeakMap<K, V>;
|
||||||
readonly prototype: WeakMap<object, any>;
|
readonly prototype: WeakMap<object, any>;
|
||||||
}
|
}
|
||||||
declare var WeakMap: WeakMapConstructor;
|
declare var WeakMap: WeakMapConstructor;
|
||||||
@ -65,7 +65,7 @@ interface Set<T> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
interface SetConstructor {
|
interface SetConstructor {
|
||||||
new <T = any>(values?: ReadonlyArray<T> | null): Set<T>;
|
new <T = any>(values?: readonly T[] | null): Set<T>;
|
||||||
readonly prototype: Set<any>;
|
readonly prototype: Set<any>;
|
||||||
}
|
}
|
||||||
declare var Set: SetConstructor;
|
declare var Set: SetConstructor;
|
||||||
@ -83,7 +83,7 @@ interface WeakSet<T extends object> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
interface WeakSetConstructor {
|
interface WeakSetConstructor {
|
||||||
new <T extends object = object>(values?: ReadonlyArray<T> | null): WeakSet<T>;
|
new <T extends object = object>(values?: readonly T[] | null): WeakSet<T>;
|
||||||
readonly prototype: WeakSet<object>;
|
readonly prototype: WeakSet<object>;
|
||||||
}
|
}
|
||||||
declare var WeakSet: WeakSetConstructor;
|
declare var WeakSet: WeakSetConstructor;
|
||||||
|
14
node_modules/typescript/lib/lib.es2015.core.d.ts
generated
vendored
14
node_modules/typescript/lib/lib.es2015.core.d.ts
generated
vendored
@ -224,13 +224,13 @@ interface NumberConstructor {
|
|||||||
* number. Only finite values of the type number, result in true.
|
* number. Only finite values of the type number, result in true.
|
||||||
* @param number A numeric value.
|
* @param number A numeric value.
|
||||||
*/
|
*/
|
||||||
isFinite(number: number): boolean;
|
isFinite(number: unknown): boolean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns true if the value passed is an integer, false otherwise.
|
* Returns true if the value passed is an integer, false otherwise.
|
||||||
* @param number A numeric value.
|
* @param number A numeric value.
|
||||||
*/
|
*/
|
||||||
isInteger(number: number): boolean;
|
isInteger(number: unknown): boolean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a Boolean value that indicates whether a value is the reserved value NaN (not a
|
* Returns a Boolean value that indicates whether a value is the reserved value NaN (not a
|
||||||
@ -238,13 +238,13 @@ interface NumberConstructor {
|
|||||||
* to a number. Only values of the type number, that are also NaN, result in true.
|
* to a number. Only values of the type number, that are also NaN, result in true.
|
||||||
* @param number A numeric value.
|
* @param number A numeric value.
|
||||||
*/
|
*/
|
||||||
isNaN(number: number): boolean;
|
isNaN(number: unknown): boolean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns true if the value passed is a safe integer.
|
* Returns true if the value passed is a safe integer.
|
||||||
* @param number A numeric value.
|
* @param number A numeric value.
|
||||||
*/
|
*/
|
||||||
isSafeInteger(number: number): boolean;
|
isSafeInteger(number: unknown): boolean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The value of the largest integer n such that n and n + 1 are both exactly representable as
|
* The value of the largest integer n such that n and n + 1 are both exactly representable as
|
||||||
@ -349,8 +349,8 @@ interface ReadonlyArray<T> {
|
|||||||
* @param thisArg If provided, it will be used as the this value for each invocation of
|
* @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.
|
* predicate. If it is not provided, undefined is used instead.
|
||||||
*/
|
*/
|
||||||
find<S extends T>(predicate: (this: void, value: T, index: number, obj: ReadonlyArray<T>) => value is S, thisArg?: any): S | undefined;
|
find<S extends T>(predicate: (this: void, value: T, index: number, obj: readonly T[]) => value is S, thisArg?: any): S | undefined;
|
||||||
find(predicate: (value: T, index: number, obj: ReadonlyArray<T>) => unknown, thisArg?: any): T | undefined;
|
find(predicate: (value: T, index: number, obj: readonly T[]) => unknown, thisArg?: any): T | undefined;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the index of the first element in the array where predicate is true, and -1
|
* Returns the index of the first element in the array where predicate is true, and -1
|
||||||
@ -361,7 +361,7 @@ interface ReadonlyArray<T> {
|
|||||||
* @param thisArg If provided, it will be used as the this value for each invocation of
|
* @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.
|
* predicate. If it is not provided, undefined is used instead.
|
||||||
*/
|
*/
|
||||||
findIndex(predicate: (value: T, index: number, obj: ReadonlyArray<T>) => unknown, thisArg?: any): number;
|
findIndex(predicate: (value: T, index: number, obj: readonly T[]) => unknown, thisArg?: any): number;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface RegExp {
|
interface RegExp {
|
||||||
|
2
node_modules/typescript/lib/lib.es2015.d.ts
generated
vendored
2
node_modules/typescript/lib/lib.es2015.d.ts
generated
vendored
@ -21,9 +21,9 @@ and limitations under the License.
|
|||||||
/// <reference lib="es5" />
|
/// <reference lib="es5" />
|
||||||
/// <reference lib="es2015.core" />
|
/// <reference lib="es2015.core" />
|
||||||
/// <reference lib="es2015.collection" />
|
/// <reference lib="es2015.collection" />
|
||||||
|
/// <reference lib="es2015.iterable" />
|
||||||
/// <reference lib="es2015.generator" />
|
/// <reference lib="es2015.generator" />
|
||||||
/// <reference lib="es2015.promise" />
|
/// <reference lib="es2015.promise" />
|
||||||
/// <reference lib="es2015.iterable" />
|
|
||||||
/// <reference lib="es2015.proxy" />
|
/// <reference lib="es2015.proxy" />
|
||||||
/// <reference lib="es2015.reflect" />
|
/// <reference lib="es2015.reflect" />
|
||||||
/// <reference lib="es2015.symbol" />
|
/// <reference lib="es2015.symbol" />
|
||||||
|
14
node_modules/typescript/lib/lib.es2015.iterable.d.ts
generated
vendored
14
node_modules/typescript/lib/lib.es2015.iterable.d.ts
generated
vendored
@ -220,15 +220,23 @@ interface PromiseConstructor {
|
|||||||
/**
|
/**
|
||||||
* Creates a Promise that is resolved with an array of results when all of the provided Promises
|
* 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.
|
* resolve, or rejected when any Promise is rejected.
|
||||||
* @param values An array of Promises.
|
* @param values An iterable of Promises.
|
||||||
* @returns A new Promise.
|
* @returns A new Promise.
|
||||||
*/
|
*/
|
||||||
all<TAll>(values: Iterable<TAll | PromiseLike<TAll>>): Promise<TAll[]>;
|
all<T>(values: Iterable<T | PromiseLike<T>>): Promise<T[]>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a Promise that is resolved or rejected when any of the provided Promises are resolved
|
* Creates a Promise that is resolved or rejected when any of the provided Promises are resolved
|
||||||
* or rejected.
|
* or rejected.
|
||||||
* @param values An array of Promises.
|
* @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 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.
|
* @returns A new Promise.
|
||||||
*/
|
*/
|
||||||
race<T>(values: Iterable<T | PromiseLike<T>>): Promise<T>;
|
race<T>(values: Iterable<T | PromiseLike<T>>): Promise<T>;
|
||||||
|
34
node_modules/typescript/lib/lib.es2015.promise.d.ts
generated
vendored
34
node_modules/typescript/lib/lib.es2015.promise.d.ts
generated
vendored
@ -38,7 +38,7 @@ interface PromiseConstructor {
|
|||||||
* @param values An array of Promises.
|
* @param values An array of Promises.
|
||||||
* @returns A new Promise.
|
* @returns A new Promise.
|
||||||
*/
|
*/
|
||||||
all<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(values: [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]>;
|
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]>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a Promise that is resolved with an array of results when all of the provided Promises
|
* Creates a Promise that is resolved with an array of results when all of the provided Promises
|
||||||
@ -46,7 +46,7 @@ interface PromiseConstructor {
|
|||||||
* @param values An array of Promises.
|
* @param values An array of Promises.
|
||||||
* @returns A new Promise.
|
* @returns A new Promise.
|
||||||
*/
|
*/
|
||||||
all<T1, T2, T3, T4, T5, T6, T7, T8, T9>(values: [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]>;
|
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 Promise that is resolved with an array of results when all of the provided Promises
|
* Creates a Promise that is resolved with an array of results when all of the provided Promises
|
||||||
@ -54,7 +54,7 @@ interface PromiseConstructor {
|
|||||||
* @param values An array of Promises.
|
* @param values An array of Promises.
|
||||||
* @returns A new Promise.
|
* @returns A new Promise.
|
||||||
*/
|
*/
|
||||||
all<T1, T2, T3, T4, T5, T6, T7, T8>(values: [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]>;
|
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]>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a Promise that is resolved with an array of results when all of the provided Promises
|
* Creates a Promise that is resolved with an array of results when all of the provided Promises
|
||||||
@ -62,7 +62,7 @@ interface PromiseConstructor {
|
|||||||
* @param values An array of Promises.
|
* @param values An array of Promises.
|
||||||
* @returns A new Promise.
|
* @returns A new Promise.
|
||||||
*/
|
*/
|
||||||
all<T1, T2, T3, T4, T5, T6, T7>(values: [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]>;
|
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]>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a Promise that is resolved with an array of results when all of the provided Promises
|
* Creates a Promise that is resolved with an array of results when all of the provided Promises
|
||||||
@ -70,7 +70,7 @@ interface PromiseConstructor {
|
|||||||
* @param values An array of Promises.
|
* @param values An array of Promises.
|
||||||
* @returns A new Promise.
|
* @returns A new Promise.
|
||||||
*/
|
*/
|
||||||
all<T1, T2, T3, T4, T5, T6>(values: [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]>;
|
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
|
* Creates a Promise that is resolved with an array of results when all of the provided Promises
|
||||||
@ -78,7 +78,7 @@ interface PromiseConstructor {
|
|||||||
* @param values An array of Promises.
|
* @param values An array of Promises.
|
||||||
* @returns A new Promise.
|
* @returns A new Promise.
|
||||||
*/
|
*/
|
||||||
all<T1, T2, T3, T4, T5>(values: [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike <T4>, T5 | PromiseLike<T5>]): Promise<[T1, T2, T3, T4, T5]>;
|
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
|
* Creates a Promise that is resolved with an array of results when all of the provided Promises
|
||||||
@ -86,7 +86,7 @@ interface PromiseConstructor {
|
|||||||
* @param values An array of Promises.
|
* @param values An array of Promises.
|
||||||
* @returns A new Promise.
|
* @returns A new Promise.
|
||||||
*/
|
*/
|
||||||
all<T1, T2, T3, T4>(values: [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike <T4>]): Promise<[T1, T2, T3, T4]>;
|
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
|
* Creates a Promise that is resolved with an array of results when all of the provided Promises
|
||||||
@ -94,7 +94,7 @@ interface PromiseConstructor {
|
|||||||
* @param values An array of Promises.
|
* @param values An array of Promises.
|
||||||
* @returns A new Promise.
|
* @returns A new Promise.
|
||||||
*/
|
*/
|
||||||
all<T1, T2, T3>(values: [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>]): Promise<[T1, T2, T3]>;
|
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
|
* Creates a Promise that is resolved with an array of results when all of the provided Promises
|
||||||
@ -102,7 +102,7 @@ interface PromiseConstructor {
|
|||||||
* @param values An array of Promises.
|
* @param values An array of Promises.
|
||||||
* @returns A new Promise.
|
* @returns A new Promise.
|
||||||
*/
|
*/
|
||||||
all<T1, T2>(values: [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>]): Promise<[T1, T2]>;
|
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
|
* Creates a Promise that is resolved with an array of results when all of the provided Promises
|
||||||
@ -110,7 +110,10 @@ interface PromiseConstructor {
|
|||||||
* @param values An array of Promises.
|
* @param values An array of Promises.
|
||||||
* @returns A new Promise.
|
* @returns A new Promise.
|
||||||
*/
|
*/
|
||||||
all<T>(values: (T | PromiseLike<T>)[]): Promise<T[]>;
|
all<T>(values: readonly (T | PromiseLike<T>)[]): Promise<T[]>;
|
||||||
|
|
||||||
|
// see: lib.es2015.iterable.d.ts
|
||||||
|
// all<T>(values: Iterable<T | PromiseLike<T>>): Promise<T[]>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a Promise that is resolved or rejected when any of the provided Promises are resolved
|
* Creates a Promise that is resolved or rejected when any of the provided Promises are resolved
|
||||||
@ -118,15 +121,10 @@ interface PromiseConstructor {
|
|||||||
* @param values An array of Promises.
|
* @param values An array of Promises.
|
||||||
* @returns A new Promise.
|
* @returns A new Promise.
|
||||||
*/
|
*/
|
||||||
race<T>(values: T[]): Promise<T extends PromiseLike<infer U> ? U : T>;
|
race<T>(values: readonly T[]): Promise<T extends PromiseLike<infer U> ? U : T>;
|
||||||
|
|
||||||
/**
|
// see: lib.es2015.iterable.d.ts
|
||||||
* Creates a Promise that is resolved or rejected when any of the provided Promises are resolved
|
// race<T>(values: Iterable<T>): Promise<T extends PromiseLike<infer U> ? U : T>;
|
||||||
* 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.
|
* Creates a new rejected promise for the provided reason.
|
||||||
|
5
node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts
generated
vendored
5
node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts
generated
vendored
@ -227,7 +227,8 @@ interface 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
|
||||||
|
* containing the results of that search, or null if no matches are found.
|
||||||
* @param matcher An object that supports being matched against.
|
* @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;
|
||||||
@ -273,7 +274,7 @@ interface Int8Array {
|
|||||||
}
|
}
|
||||||
|
|
||||||
interface Uint8Array {
|
interface Uint8Array {
|
||||||
readonly [Symbol.toStringTag]: "UInt8Array";
|
readonly [Symbol.toStringTag]: "Uint8Array";
|
||||||
}
|
}
|
||||||
|
|
||||||
interface Uint8ClampedArray {
|
interface Uint8ClampedArray {
|
||||||
|
2
node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts
generated
vendored
2
node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts
generated
vendored
@ -22,7 +22,7 @@ and limitations under the License.
|
|||||||
|
|
||||||
interface AsyncGenerator<T = unknown, TReturn = any, TNext = unknown> extends AsyncIterator<T, TReturn, TNext> {
|
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.
|
// NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places.
|
||||||
next(...args: [] | [TNext | PromiseLike<TNext>]): Promise<IteratorResult<T, TReturn>>;
|
next(...args: [] | [TNext]): Promise<IteratorResult<T, TReturn>>;
|
||||||
return(value: TReturn | PromiseLike<TReturn>): Promise<IteratorResult<T, TReturn>>;
|
return(value: TReturn | PromiseLike<TReturn>): Promise<IteratorResult<T, TReturn>>;
|
||||||
throw(e: any): Promise<IteratorResult<T, TReturn>>;
|
throw(e: any): Promise<IteratorResult<T, TReturn>>;
|
||||||
[Symbol.asyncIterator](): AsyncGenerator<T, TReturn, TNext>;
|
[Symbol.asyncIterator](): AsyncGenerator<T, TReturn, TNext>;
|
||||||
|
2
node_modules/typescript/lib/lib.es2018.asynciterable.d.ts
generated
vendored
2
node_modules/typescript/lib/lib.es2018.asynciterable.d.ts
generated
vendored
@ -31,7 +31,7 @@ interface SymbolConstructor {
|
|||||||
|
|
||||||
interface AsyncIterator<T, TReturn = any, TNext = undefined> {
|
interface AsyncIterator<T, TReturn = any, TNext = undefined> {
|
||||||
// NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places.
|
// NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places.
|
||||||
next(...args: [] | [TNext | PromiseLike<TNext>]): Promise<IteratorResult<T, TReturn>>;
|
next(...args: [] | [TNext]): Promise<IteratorResult<T, TReturn>>;
|
||||||
return?(value?: TReturn | PromiseLike<TReturn>): Promise<IteratorResult<T, TReturn>>;
|
return?(value?: TReturn | PromiseLike<TReturn>): Promise<IteratorResult<T, TReturn>>;
|
||||||
throw?(e?: any): Promise<IteratorResult<T, TReturn>>;
|
throw?(e?: any): Promise<IteratorResult<T, TReturn>>;
|
||||||
}
|
}
|
||||||
|
2
node_modules/typescript/lib/lib.es2018.d.ts
generated
vendored
2
node_modules/typescript/lib/lib.es2018.d.ts
generated
vendored
@ -19,8 +19,8 @@ and limitations under the License.
|
|||||||
|
|
||||||
|
|
||||||
/// <reference lib="es2017" />
|
/// <reference lib="es2017" />
|
||||||
/// <reference lib="es2018.asyncgenerator" />
|
|
||||||
/// <reference lib="es2018.asynciterable" />
|
/// <reference lib="es2018.asynciterable" />
|
||||||
|
/// <reference lib="es2018.asyncgenerator" />
|
||||||
/// <reference lib="es2018.promise" />
|
/// <reference lib="es2018.promise" />
|
||||||
/// <reference lib="es2018.regexp" />
|
/// <reference lib="es2018.regexp" />
|
||||||
/// <reference lib="es2018.intl" />
|
/// <reference lib="es2018.intl" />
|
||||||
|
24
node_modules/typescript/lib/lib.es2018.intl.d.ts
generated
vendored
24
node_modules/typescript/lib/lib.es2018.intl.d.ts
generated
vendored
@ -19,25 +19,35 @@ and limitations under the License.
|
|||||||
|
|
||||||
|
|
||||||
declare namespace Intl {
|
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 {
|
interface PluralRulesOptions {
|
||||||
localeMatcher?: 'lookup' | 'best fit';
|
localeMatcher?: "lookup" | "best fit";
|
||||||
type?: 'cardinal' | 'ordinal';
|
type?: PluralRuleType;
|
||||||
|
minimumIntegerDigits?: number;
|
||||||
|
minimumFractionDigits?: number;
|
||||||
|
maximumFractionDigits?: number;
|
||||||
|
minimumSignificantDigits?: number;
|
||||||
|
maximumSignificantDigits?: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface ResolvedPluralRulesOptions {
|
interface ResolvedPluralRulesOptions {
|
||||||
locale: string;
|
locale: string;
|
||||||
pluralCategories: string[];
|
pluralCategories: LDMLPluralRule[];
|
||||||
type: 'cardinal' | 'ordinal';
|
type: PluralRuleType;
|
||||||
minimumIntegerDigits: number;
|
minimumIntegerDigits: number;
|
||||||
minimumFractionDigits: number;
|
minimumFractionDigits: number;
|
||||||
maximumFractionDigits: number;
|
maximumFractionDigits: number;
|
||||||
minimumSignificantDigits: number;
|
minimumSignificantDigits?: number;
|
||||||
maximumSignificantDigits: number;
|
maximumSignificantDigits?: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface PluralRules {
|
interface PluralRules {
|
||||||
resolvedOptions(): ResolvedPluralRulesOptions;
|
resolvedOptions(): ResolvedPluralRulesOptions;
|
||||||
select(n: number): string;
|
select(n: number): LDMLPluralRule;
|
||||||
}
|
}
|
||||||
|
|
||||||
const PluralRules: {
|
const PluralRules: {
|
||||||
|
168
node_modules/typescript/lib/lib.es2019.array.d.ts
generated
vendored
168
node_modules/typescript/lib/lib.es2019.array.d.ts
generated
vendored
@ -18,6 +18,13 @@ 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> {
|
interface ReadonlyArray<T> {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -42,94 +49,10 @@ interface ReadonlyArray<T> {
|
|||||||
*
|
*
|
||||||
* @param depth The maximum recursion depth
|
* @param depth The maximum recursion depth
|
||||||
*/
|
*/
|
||||||
flat<U>(this:
|
flat<A, D extends number = 1>(
|
||||||
ReadonlyArray<U[][][][]> |
|
this: A,
|
||||||
|
depth?: D
|
||||||
ReadonlyArray<ReadonlyArray<U[][][]>> |
|
): FlatArray<A, D>[]
|
||||||
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> {
|
interface Array<T> {
|
||||||
@ -155,69 +78,8 @@ interface Array<T> {
|
|||||||
*
|
*
|
||||||
* @param depth The maximum recursion depth
|
* @param depth The maximum recursion depth
|
||||||
*/
|
*/
|
||||||
flat<U>(this: U[][][][][][][][], depth: 7): U[];
|
flat<A, D extends number = 1>(
|
||||||
|
this: A,
|
||||||
/**
|
depth?: D
|
||||||
* Returns a new array with all sub-array elements concatenated into it recursively up to the
|
): FlatArray<A, D>[]
|
||||||
* 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[];
|
|
||||||
}
|
}
|
||||||
|
2
node_modules/typescript/lib/lib.es2019.object.d.ts
generated
vendored
2
node_modules/typescript/lib/lib.es2019.object.d.ts
generated
vendored
@ -25,7 +25,7 @@ interface ObjectConstructor {
|
|||||||
* Returns an object created by key-value entries for properties and methods
|
* 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.
|
* @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 };
|
fromEntries<T = any>(entries: Iterable<readonly [PropertyKey, T]>): { [k: string]: T };
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns an object created by key-value entries for properties and methods
|
* Returns an object created by key-value entries for properties and methods
|
||||||
|
4
node_modules/typescript/lib/lib.es2019.symbol.d.ts
generated
vendored
4
node_modules/typescript/lib/lib.es2019.symbol.d.ts
generated
vendored
@ -20,7 +20,7 @@ and limitations under the License.
|
|||||||
|
|
||||||
interface Symbol {
|
interface Symbol {
|
||||||
/**
|
/**
|
||||||
* expose the [[Description]] internal slot of a symbol directly
|
* Expose the [[Description]] internal slot of a symbol directly.
|
||||||
*/
|
*/
|
||||||
readonly description: string;
|
readonly description: string | undefined;
|
||||||
}
|
}
|
||||||
|
2
node_modules/typescript/lib/lib.es2020.d.ts
generated
vendored
2
node_modules/typescript/lib/lib.es2020.d.ts
generated
vendored
@ -19,5 +19,7 @@ and limitations under the License.
|
|||||||
|
|
||||||
|
|
||||||
/// <reference lib="es2019" />
|
/// <reference lib="es2019" />
|
||||||
|
/// <reference lib="es2020.bigint" />
|
||||||
|
/// <reference lib="es2020.promise" />
|
||||||
/// <reference lib="es2020.string" />
|
/// <reference lib="es2020.string" />
|
||||||
/// <reference lib="es2020.symbol.wellknown" />
|
/// <reference lib="es2020.symbol.wellknown" />
|
||||||
|
375
node_modules/typescript/lib/lib.es5.d.ts
generated
vendored
375
node_modules/typescript/lib/lib.es5.d.ts
generated
vendored
@ -216,7 +216,7 @@ interface ObjectConstructor {
|
|||||||
* Prevents the modification of existing property attributes and values, and prevents the addition of new properties.
|
* Prevents the modification of existing property attributes and values, and prevents the addition of new properties.
|
||||||
* @param o Object on which to lock the attributes.
|
* @param o Object on which to lock the attributes.
|
||||||
*/
|
*/
|
||||||
freeze<T>(a: T[]): ReadonlyArray<T>;
|
freeze<T>(a: T[]): readonly T[];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Prevents the modification of existing property attributes and values, and prevents the addition of new properties.
|
* Prevents the modification of existing property attributes and values, and prevents the addition of new properties.
|
||||||
@ -318,7 +318,7 @@ declare var Function: FunctionConstructor;
|
|||||||
/**
|
/**
|
||||||
* Extracts the type of the 'this' parameter of a function type, or 'unknown' if the function type has no 'this' parameter.
|
* Extracts the type of the 'this' parameter of a function type, or 'unknown' if the function type has no 'this' parameter.
|
||||||
*/
|
*/
|
||||||
type ThisParameterType<T> = T extends (this: unknown, ...args: any[]) => any ? unknown : T extends (this: infer U, ...args: any[]) => any ? U : unknown;
|
type ThisParameterType<T> = T extends (this: infer U, ...args: any[]) => any ? U : unknown;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Removes the 'this' parameter from a function type.
|
* Removes the 'this' parameter from a function type.
|
||||||
@ -486,13 +486,13 @@ interface String {
|
|||||||
toLowerCase(): string;
|
toLowerCase(): string;
|
||||||
|
|
||||||
/** Converts all alphabetic characters to lowercase, taking into account the host environment's current locale. */
|
/** Converts all alphabetic characters to lowercase, taking into account the host environment's current locale. */
|
||||||
toLocaleLowerCase(): string;
|
toLocaleLowerCase(locales?: string | string[]): string;
|
||||||
|
|
||||||
/** Converts all the alphabetic characters in a string to uppercase. */
|
/** Converts all the alphabetic characters in a string to uppercase. */
|
||||||
toUpperCase(): string;
|
toUpperCase(): string;
|
||||||
|
|
||||||
/** Returns a string where all alphabetic characters have been converted to uppercase, taking into account the host environment's current locale. */
|
/** Returns a string where all alphabetic characters have been converted to uppercase, taking into account the host environment's current locale. */
|
||||||
toLocaleUpperCase(): string;
|
toLocaleUpperCase(locales?: string | string[]): string;
|
||||||
|
|
||||||
/** Removes the leading and trailing white space and line terminator characters from a string. */
|
/** Removes the leading and trailing white space and line terminator characters from a string. */
|
||||||
trim(): string;
|
trim(): string;
|
||||||
@ -602,7 +602,7 @@ interface NumberConstructor {
|
|||||||
declare var Number: NumberConstructor;
|
declare var Number: NumberConstructor;
|
||||||
|
|
||||||
interface TemplateStringsArray extends ReadonlyArray<string> {
|
interface TemplateStringsArray extends ReadonlyArray<string> {
|
||||||
readonly raw: ReadonlyArray<string>;
|
readonly raw: readonly string[];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -702,8 +702,8 @@ interface Math {
|
|||||||
/** Returns a pseudorandom number between 0 and 1. */
|
/** Returns a pseudorandom number between 0 and 1. */
|
||||||
random(): number;
|
random(): number;
|
||||||
/**
|
/**
|
||||||
* Returns a supplied numeric expression rounded to the nearest number.
|
* Returns a supplied numeric expression rounded to the nearest integer.
|
||||||
* @param x The value to be rounded to the nearest number.
|
* @param x The value to be rounded to the nearest integer.
|
||||||
*/
|
*/
|
||||||
round(x: number): number;
|
round(x: number): number;
|
||||||
/**
|
/**
|
||||||
@ -893,12 +893,12 @@ interface DateConstructor {
|
|||||||
/**
|
/**
|
||||||
* Returns the number of milliseconds between midnight, January 1, 1970 Universal Coordinated Time (UTC) (or GMT) and the specified date.
|
* 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 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 month The month as an number between 0 and 11 (January to December).
|
* @param month The month as a number between 0 and 11 (January to December).
|
||||||
* @param date The date as an number between 1 and 31.
|
* @param date The date as a number between 1 and 31.
|
||||||
* @param hours Must be supplied if minutes is supplied. An number from 0 to 23 (midnight to 11pm) that specifies the hour.
|
* @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. An number from 0 to 59 that specifies the minutes.
|
* @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. An number from 0 to 59 that specifies the seconds.
|
* @param seconds Must be supplied if milliseconds is supplied. A number from 0 to 59 that specifies the seconds.
|
||||||
* @param ms An number from 0 to 999 that specifies the milliseconds.
|
* @param ms A number from 0 to 999 that specifies the milliseconds.
|
||||||
*/
|
*/
|
||||||
UTC(year: number, month: number, date?: number, hours?: number, minutes?: number, seconds?: number, ms?: number): number;
|
UTC(year: number, month: number, date?: number, hours?: number, minutes?: number, seconds?: number, ms?: number): number;
|
||||||
now(): number;
|
now(): number;
|
||||||
@ -986,7 +986,7 @@ declare var Error: ErrorConstructor;
|
|||||||
interface EvalError extends Error {
|
interface EvalError extends Error {
|
||||||
}
|
}
|
||||||
|
|
||||||
interface EvalErrorConstructor {
|
interface EvalErrorConstructor extends ErrorConstructor {
|
||||||
new(message?: string): EvalError;
|
new(message?: string): EvalError;
|
||||||
(message?: string): EvalError;
|
(message?: string): EvalError;
|
||||||
readonly prototype: EvalError;
|
readonly prototype: EvalError;
|
||||||
@ -997,7 +997,7 @@ declare var EvalError: EvalErrorConstructor;
|
|||||||
interface RangeError extends Error {
|
interface RangeError extends Error {
|
||||||
}
|
}
|
||||||
|
|
||||||
interface RangeErrorConstructor {
|
interface RangeErrorConstructor extends ErrorConstructor {
|
||||||
new(message?: string): RangeError;
|
new(message?: string): RangeError;
|
||||||
(message?: string): RangeError;
|
(message?: string): RangeError;
|
||||||
readonly prototype: RangeError;
|
readonly prototype: RangeError;
|
||||||
@ -1008,7 +1008,7 @@ declare var RangeError: RangeErrorConstructor;
|
|||||||
interface ReferenceError extends Error {
|
interface ReferenceError extends Error {
|
||||||
}
|
}
|
||||||
|
|
||||||
interface ReferenceErrorConstructor {
|
interface ReferenceErrorConstructor extends ErrorConstructor {
|
||||||
new(message?: string): ReferenceError;
|
new(message?: string): ReferenceError;
|
||||||
(message?: string): ReferenceError;
|
(message?: string): ReferenceError;
|
||||||
readonly prototype: ReferenceError;
|
readonly prototype: ReferenceError;
|
||||||
@ -1019,7 +1019,7 @@ declare var ReferenceError: ReferenceErrorConstructor;
|
|||||||
interface SyntaxError extends Error {
|
interface SyntaxError extends Error {
|
||||||
}
|
}
|
||||||
|
|
||||||
interface SyntaxErrorConstructor {
|
interface SyntaxErrorConstructor extends ErrorConstructor {
|
||||||
new(message?: string): SyntaxError;
|
new(message?: string): SyntaxError;
|
||||||
(message?: string): SyntaxError;
|
(message?: string): SyntaxError;
|
||||||
readonly prototype: SyntaxError;
|
readonly prototype: SyntaxError;
|
||||||
@ -1030,7 +1030,7 @@ declare var SyntaxError: SyntaxErrorConstructor;
|
|||||||
interface TypeError extends Error {
|
interface TypeError extends Error {
|
||||||
}
|
}
|
||||||
|
|
||||||
interface TypeErrorConstructor {
|
interface TypeErrorConstructor extends ErrorConstructor {
|
||||||
new(message?: string): TypeError;
|
new(message?: string): TypeError;
|
||||||
(message?: string): TypeError;
|
(message?: string): TypeError;
|
||||||
readonly prototype: TypeError;
|
readonly prototype: TypeError;
|
||||||
@ -1041,7 +1041,7 @@ declare var TypeError: TypeErrorConstructor;
|
|||||||
interface URIError extends Error {
|
interface URIError extends Error {
|
||||||
}
|
}
|
||||||
|
|
||||||
interface URIErrorConstructor {
|
interface URIErrorConstructor extends ErrorConstructor {
|
||||||
new(message?: string): URIError;
|
new(message?: string): URIError;
|
||||||
(message?: string): URIError;
|
(message?: string): URIError;
|
||||||
readonly prototype: URIError;
|
readonly prototype: URIError;
|
||||||
@ -1114,7 +1114,7 @@ interface ReadonlyArray<T> {
|
|||||||
/**
|
/**
|
||||||
* Returns a section of an array.
|
* Returns a section of an array.
|
||||||
* @param start The beginning of the specified portion of the array.
|
* @param start The beginning of the specified portion of the array.
|
||||||
* @param end The end of the specified portion of the array.
|
* @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.
|
||||||
*/
|
*/
|
||||||
slice(start?: number, end?: number): T[];
|
slice(start?: number, end?: number): T[];
|
||||||
/**
|
/**
|
||||||
@ -1131,66 +1131,72 @@ interface ReadonlyArray<T> {
|
|||||||
lastIndexOf(searchElement: T, fromIndex?: number): number;
|
lastIndexOf(searchElement: T, fromIndex?: number): number;
|
||||||
/**
|
/**
|
||||||
* Determines whether all the members of an array satisfy the specified test.
|
* Determines whether all the members of an array satisfy the specified test.
|
||||||
* @param callbackfn A function that accepts up to three arguments. The every method calls the callbackfn function for each element in array1 until the callbackfn returns false, or until the end of the array.
|
* @param callbackfn A function that accepts up to three arguments. The every method calls
|
||||||
* @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.
|
* the callbackfn function for each element in the array until the callbackfn returns a value
|
||||||
|
* which is coercible to the Boolean value false, or until the end of the array.
|
||||||
|
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
|
||||||
|
* If thisArg is omitted, undefined is used as the this value.
|
||||||
*/
|
*/
|
||||||
every(callbackfn: (value: T, index: number, array: ReadonlyArray<T>) => unknown, thisArg?: any): boolean;
|
every(callbackfn: (value: T, index: number, array: readonly T[]) => unknown, thisArg?: any): boolean;
|
||||||
/**
|
/**
|
||||||
* Determines whether the specified callback function returns true for any element of an array.
|
* Determines whether the specified callback function returns true for any element of an array.
|
||||||
* @param callbackfn A function that accepts up to three arguments. The some method calls the callbackfn function for each element in array1 until the callbackfn returns true, or until the end of the array.
|
* @param callbackfn A function that accepts up to three arguments. The some method calls
|
||||||
* @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.
|
* the callbackfn function for each element in the array until the callbackfn returns a value
|
||||||
|
* which is coercible to the Boolean value true, or until the end of the array.
|
||||||
|
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
|
||||||
|
* If thisArg is omitted, undefined is used as the this value.
|
||||||
*/
|
*/
|
||||||
some(callbackfn: (value: T, index: number, array: ReadonlyArray<T>) => unknown, thisArg?: any): boolean;
|
some(callbackfn: (value: T, index: number, array: readonly T[]) => unknown, thisArg?: any): boolean;
|
||||||
/**
|
/**
|
||||||
* Performs the specified action for each element in an array.
|
* Performs the specified action for each element in an array.
|
||||||
* @param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.
|
* @param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.
|
||||||
* @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.
|
* @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.
|
||||||
*/
|
*/
|
||||||
forEach(callbackfn: (value: T, index: number, array: ReadonlyArray<T>) => void, thisArg?: any): void;
|
forEach(callbackfn: (value: T, index: number, array: readonly T[]) => void, thisArg?: any): void;
|
||||||
/**
|
/**
|
||||||
* Calls a defined callback function on each element of an array, and returns an array that contains the results.
|
* Calls a defined callback function on each element of an array, and returns an array that contains the results.
|
||||||
* @param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.
|
* @param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.
|
||||||
* @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.
|
* @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.
|
||||||
*/
|
*/
|
||||||
map<U>(callbackfn: (value: T, index: number, array: ReadonlyArray<T>) => U, thisArg?: any): U[];
|
map<U>(callbackfn: (value: T, index: number, array: readonly T[]) => U, thisArg?: any): U[];
|
||||||
/**
|
/**
|
||||||
* Returns the elements of an array that meet the condition specified in a callback function.
|
* Returns the elements of an array that meet the condition specified in a callback function.
|
||||||
* @param callbackfn A function that accepts up to three arguments. The filter method calls the callbackfn function one time for each element in the array.
|
* @param callbackfn A function that accepts up to three arguments. The filter method calls the callbackfn function one time for each element in the array.
|
||||||
* @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.
|
* @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.
|
||||||
*/
|
*/
|
||||||
filter<S extends T>(callbackfn: (value: T, index: number, array: ReadonlyArray<T>) => value is S, thisArg?: any): S[];
|
filter<S extends T>(callbackfn: (value: T, index: number, array: readonly T[]) => value is S, thisArg?: any): S[];
|
||||||
/**
|
/**
|
||||||
* Returns the elements of an array that meet the condition specified in a callback function.
|
* Returns the elements of an array that meet the condition specified in a callback function.
|
||||||
* @param callbackfn A function that accepts up to three arguments. The filter method calls the callbackfn function one time for each element in the array.
|
* @param callbackfn A function that accepts up to three arguments. The filter method calls the callbackfn function one time for each element in the array.
|
||||||
* @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.
|
* @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.
|
||||||
*/
|
*/
|
||||||
filter(callbackfn: (value: T, index: number, array: ReadonlyArray<T>) => unknown, thisArg?: any): T[];
|
filter(callbackfn: (value: T, index: number, array: readonly T[]) => unknown, thisArg?: any): T[];
|
||||||
/**
|
/**
|
||||||
* Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
* Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
||||||
* @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
|
* @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
|
||||||
* @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
* @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
||||||
*/
|
*/
|
||||||
reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: ReadonlyArray<T>) => T): T;
|
reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: readonly T[]) => T): T;
|
||||||
reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: ReadonlyArray<T>) => T, initialValue: T): T;
|
reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: readonly T[]) => T, initialValue: T): T;
|
||||||
/**
|
/**
|
||||||
* Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
* Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
||||||
* @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
|
* @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
|
||||||
* @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
* @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
||||||
*/
|
*/
|
||||||
reduce<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: ReadonlyArray<T>) => U, initialValue: U): U;
|
reduce<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: readonly T[]) => U, initialValue: U): U;
|
||||||
/**
|
/**
|
||||||
* Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
* Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
||||||
* @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
|
* @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
|
||||||
* @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
* @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
||||||
*/
|
*/
|
||||||
reduceRight(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: ReadonlyArray<T>) => T): T;
|
reduceRight(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: readonly T[]) => T): T;
|
||||||
reduceRight(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: ReadonlyArray<T>) => T, initialValue: T): T;
|
reduceRight(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: readonly T[]) => T, initialValue: T): T;
|
||||||
/**
|
/**
|
||||||
* Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
* Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
||||||
* @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
|
* @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
|
||||||
* @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
* @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
||||||
*/
|
*/
|
||||||
reduceRight<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: ReadonlyArray<T>) => U, initialValue: U): U;
|
reduceRight<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: readonly T[]) => U, initialValue: U): U;
|
||||||
|
|
||||||
readonly [n: number]: T;
|
readonly [n: number]: T;
|
||||||
}
|
}
|
||||||
@ -1250,12 +1256,17 @@ interface Array<T> {
|
|||||||
/**
|
/**
|
||||||
* Returns a section of an array.
|
* Returns a section of an array.
|
||||||
* @param start The beginning of the specified portion of the array.
|
* @param start The beginning of the specified portion of the array.
|
||||||
* @param end The end of the specified portion of the array.
|
* @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.
|
||||||
*/
|
*/
|
||||||
slice(start?: number, end?: number): T[];
|
slice(start?: number, end?: number): T[];
|
||||||
/**
|
/**
|
||||||
* Sorts an array.
|
* Sorts an array.
|
||||||
* @param compareFn The name of the function used to determine the order of the elements. If omitted, the elements are sorted in ascending, ASCII character order.
|
* @param compareFn Function used to determine the order of the elements. It is expected to return
|
||||||
|
* a negative value if first argument is less than 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].sort((a, b) => a - b)
|
||||||
|
* ```
|
||||||
*/
|
*/
|
||||||
sort(compareFn?: (a: T, b: T) => number): this;
|
sort(compareFn?: (a: T, b: T) => number): this;
|
||||||
/**
|
/**
|
||||||
@ -1290,14 +1301,20 @@ interface Array<T> {
|
|||||||
lastIndexOf(searchElement: T, fromIndex?: number): number;
|
lastIndexOf(searchElement: T, fromIndex?: number): number;
|
||||||
/**
|
/**
|
||||||
* Determines whether all the members of an array satisfy the specified test.
|
* Determines whether all the members of an array satisfy the specified test.
|
||||||
* @param callbackfn A function that accepts up to three arguments. The every method calls the callbackfn function for each element in array1 until the callbackfn returns false, or until the end of the array.
|
* @param callbackfn A function that accepts up to three arguments. The every method calls
|
||||||
* @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.
|
* the callbackfn function for each element in the array until the callbackfn returns a value
|
||||||
|
* which is coercible to the Boolean value false, or until the end of the array.
|
||||||
|
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
|
||||||
|
* If thisArg is omitted, undefined is used as the this value.
|
||||||
*/
|
*/
|
||||||
every(callbackfn: (value: T, index: number, array: T[]) => unknown, thisArg?: any): boolean;
|
every(callbackfn: (value: T, index: number, array: T[]) => unknown, thisArg?: any): boolean;
|
||||||
/**
|
/**
|
||||||
* Determines whether the specified callback function returns true for any element of an array.
|
* Determines whether the specified callback function returns true for any element of an array.
|
||||||
* @param callbackfn A function that accepts up to three arguments. The some method calls the callbackfn function for each element in array1 until the callbackfn returns true, or until the end of the array.
|
* @param callbackfn A function that accepts up to three arguments. The some method calls
|
||||||
* @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.
|
* the callbackfn function for each element in the array until the callbackfn returns a value
|
||||||
|
* which is coercible to the Boolean value true, or until the end of the array.
|
||||||
|
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
|
||||||
|
* If thisArg is omitted, undefined is used as the this value.
|
||||||
*/
|
*/
|
||||||
some(callbackfn: (value: T, index: number, array: T[]) => unknown, thisArg?: any): boolean;
|
some(callbackfn: (value: T, index: number, array: T[]) => unknown, thisArg?: any): boolean;
|
||||||
/**
|
/**
|
||||||
@ -1361,8 +1378,8 @@ interface ArrayConstructor {
|
|||||||
(arrayLength?: number): any[];
|
(arrayLength?: number): any[];
|
||||||
<T>(arrayLength: number): T[];
|
<T>(arrayLength: number): T[];
|
||||||
<T>(...items: T[]): T[];
|
<T>(...items: T[]): T[];
|
||||||
isArray(arg: any): arg is Array<any>;
|
isArray(arg: any): arg is any[];
|
||||||
readonly prototype: Array<any>;
|
readonly prototype: any[];
|
||||||
}
|
}
|
||||||
|
|
||||||
declare var Array: ArrayConstructor;
|
declare var Array: ArrayConstructor;
|
||||||
@ -1720,12 +1737,12 @@ interface Int8Array {
|
|||||||
/**
|
/**
|
||||||
* Determines whether all the members of an array satisfy the specified test.
|
* Determines whether all the members of an array satisfy the specified test.
|
||||||
* @param callbackfn A function that accepts up to three arguments. The every method calls
|
* @param callbackfn A function that accepts up to three arguments. The every method calls
|
||||||
* the callbackfn function for each element in array1 until the callbackfn returns false,
|
* the callbackfn function for each element in the array until the callbackfn returns a value
|
||||||
* or until the end of the array.
|
* which is coercible to the Boolean value false, or until the end of the array.
|
||||||
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
|
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
|
||||||
* If thisArg is omitted, undefined is used as the this value.
|
* If thisArg is omitted, undefined is used as the this value.
|
||||||
*/
|
*/
|
||||||
every(callbackfn: (value: number, index: number, array: Int8Array) => boolean, thisArg?: any): boolean;
|
every(callbackfn: (value: number, index: number, array: Int8Array) => unknown, thisArg?: any): boolean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the this object after filling the section identified by start and end with value
|
* Returns the this object after filling the section identified by start and end with value
|
||||||
@ -1880,24 +1897,28 @@ interface Int8Array {
|
|||||||
/**
|
/**
|
||||||
* Returns a section of an array.
|
* Returns a section of an array.
|
||||||
* @param start The beginning of the specified portion of the array.
|
* @param start The beginning of the specified portion of the array.
|
||||||
* @param end The end of the specified portion of the array.
|
* @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.
|
||||||
*/
|
*/
|
||||||
slice(start?: number, end?: number): Int8Array;
|
slice(start?: number, end?: number): Int8Array;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Determines whether the specified callback function returns true for any element of an array.
|
* Determines whether the specified callback function returns true for any element of an array.
|
||||||
* @param callbackfn A function that accepts up to three arguments. The some method calls the
|
* @param callbackfn A function that accepts up to three arguments. The some method calls
|
||||||
* callbackfn function for each element in array1 until the callbackfn returns true, or until
|
* the callbackfn function for each element in the array until the callbackfn returns a value
|
||||||
* the end of the array.
|
* which is coercible to the Boolean value true, or until the end of the array.
|
||||||
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
|
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
|
||||||
* If thisArg is omitted, undefined is used as the this value.
|
* If thisArg is omitted, undefined is used as the this value.
|
||||||
*/
|
*/
|
||||||
some(callbackfn: (value: number, index: number, array: Int8Array) => boolean, thisArg?: any): boolean;
|
some(callbackfn: (value: number, index: number, array: Int8Array) => unknown, thisArg?: any): boolean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sorts an array.
|
* Sorts an array.
|
||||||
* @param compareFn The name of the function used to determine the order of the elements. If
|
* @param compareFn Function used to determine the order of the elements. It is expected to return
|
||||||
* omitted, the elements are sorted in ascending, ASCII character order.
|
* a negative value if first argument is less than 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].sort((a, b) => a - b)
|
||||||
|
* ```
|
||||||
*/
|
*/
|
||||||
sort(compareFn?: (a: number, b: number) => number): this;
|
sort(compareFn?: (a: number, b: number) => number): this;
|
||||||
|
|
||||||
@ -1907,7 +1928,7 @@ interface Int8Array {
|
|||||||
* @param begin The index of the beginning of the array.
|
* @param begin The index of the beginning of the array.
|
||||||
* @param end The index of the end of the array.
|
* @param end The index of the end of the array.
|
||||||
*/
|
*/
|
||||||
subarray(begin: number, end?: number): Int8Array;
|
subarray(begin?: number, end?: number): Int8Array;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Converts a number to a string by using the current locale.
|
* Converts a number to a string by using the current locale.
|
||||||
@ -1919,6 +1940,9 @@ interface Int8Array {
|
|||||||
*/
|
*/
|
||||||
toString(): string;
|
toString(): string;
|
||||||
|
|
||||||
|
/** Returns the primitive value of the specified object. */
|
||||||
|
valueOf(): Int8Array;
|
||||||
|
|
||||||
[index: number]: number;
|
[index: number]: number;
|
||||||
}
|
}
|
||||||
interface Int8ArrayConstructor {
|
interface Int8ArrayConstructor {
|
||||||
@ -1995,12 +2019,12 @@ interface Uint8Array {
|
|||||||
/**
|
/**
|
||||||
* Determines whether all the members of an array satisfy the specified test.
|
* Determines whether all the members of an array satisfy the specified test.
|
||||||
* @param callbackfn A function that accepts up to three arguments. The every method calls
|
* @param callbackfn A function that accepts up to three arguments. The every method calls
|
||||||
* the callbackfn function for each element in array1 until the callbackfn returns false,
|
* the callbackfn function for each element in the array until the callbackfn returns a value
|
||||||
* or until the end of the array.
|
* which is coercible to the Boolean value false, or until the end of the array.
|
||||||
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
|
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
|
||||||
* If thisArg is omitted, undefined is used as the this value.
|
* If thisArg is omitted, undefined is used as the this value.
|
||||||
*/
|
*/
|
||||||
every(callbackfn: (value: number, index: number, array: Uint8Array) => boolean, thisArg?: any): boolean;
|
every(callbackfn: (value: number, index: number, array: Uint8Array) => unknown, thisArg?: any): boolean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the this object after filling the section identified by start and end with value
|
* Returns the this object after filling the section identified by start and end with value
|
||||||
@ -2155,24 +2179,28 @@ interface Uint8Array {
|
|||||||
/**
|
/**
|
||||||
* Returns a section of an array.
|
* Returns a section of an array.
|
||||||
* @param start The beginning of the specified portion of the array.
|
* @param start The beginning of the specified portion of the array.
|
||||||
* @param end The end of the specified portion of the array.
|
* @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.
|
||||||
*/
|
*/
|
||||||
slice(start?: number, end?: number): Uint8Array;
|
slice(start?: number, end?: number): Uint8Array;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Determines whether the specified callback function returns true for any element of an array.
|
* Determines whether the specified callback function returns true for any element of an array.
|
||||||
* @param callbackfn A function that accepts up to three arguments. The some method calls the
|
* @param callbackfn A function that accepts up to three arguments. The some method calls
|
||||||
* callbackfn function for each element in array1 until the callbackfn returns true, or until
|
* the callbackfn function for each element in the array until the callbackfn returns a value
|
||||||
* the end of the array.
|
* which is coercible to the Boolean value true, or until the end of the array.
|
||||||
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
|
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
|
||||||
* If thisArg is omitted, undefined is used as the this value.
|
* If thisArg is omitted, undefined is used as the this value.
|
||||||
*/
|
*/
|
||||||
some(callbackfn: (value: number, index: number, array: Uint8Array) => boolean, thisArg?: any): boolean;
|
some(callbackfn: (value: number, index: number, array: Uint8Array) => unknown, thisArg?: any): boolean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sorts an array.
|
* Sorts an array.
|
||||||
* @param compareFn The name of the function used to determine the order of the elements. If
|
* @param compareFn Function used to determine the order of the elements. It is expected to return
|
||||||
* omitted, the elements are sorted in ascending, ASCII character order.
|
* a negative value if first argument is less than 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].sort((a, b) => a - b)
|
||||||
|
* ```
|
||||||
*/
|
*/
|
||||||
sort(compareFn?: (a: number, b: number) => number): this;
|
sort(compareFn?: (a: number, b: number) => number): this;
|
||||||
|
|
||||||
@ -2182,7 +2210,7 @@ interface Uint8Array {
|
|||||||
* @param begin The index of the beginning of the array.
|
* @param begin The index of the beginning of the array.
|
||||||
* @param end The index of the end of the array.
|
* @param end The index of the end of the array.
|
||||||
*/
|
*/
|
||||||
subarray(begin: number, end?: number): Uint8Array;
|
subarray(begin?: number, end?: number): Uint8Array;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Converts a number to a string by using the current locale.
|
* Converts a number to a string by using the current locale.
|
||||||
@ -2194,6 +2222,9 @@ interface Uint8Array {
|
|||||||
*/
|
*/
|
||||||
toString(): string;
|
toString(): string;
|
||||||
|
|
||||||
|
/** Returns the primitive value of the specified object. */
|
||||||
|
valueOf(): Uint8Array;
|
||||||
|
|
||||||
[index: number]: number;
|
[index: number]: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2270,12 +2301,12 @@ interface Uint8ClampedArray {
|
|||||||
/**
|
/**
|
||||||
* Determines whether all the members of an array satisfy the specified test.
|
* Determines whether all the members of an array satisfy the specified test.
|
||||||
* @param callbackfn A function that accepts up to three arguments. The every method calls
|
* @param callbackfn A function that accepts up to three arguments. The every method calls
|
||||||
* the callbackfn function for each element in array1 until the callbackfn returns false,
|
* the callbackfn function for each element in the array until the callbackfn returns a value
|
||||||
* or until the end of the array.
|
* which is coercible to the Boolean value false, or until the end of the array.
|
||||||
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
|
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
|
||||||
* If thisArg is omitted, undefined is used as the this value.
|
* If thisArg is omitted, undefined is used as the this value.
|
||||||
*/
|
*/
|
||||||
every(callbackfn: (value: number, index: number, array: Uint8ClampedArray) => boolean, thisArg?: any): boolean;
|
every(callbackfn: (value: number, index: number, array: Uint8ClampedArray) => unknown, thisArg?: any): boolean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the this object after filling the section identified by start and end with value
|
* Returns the this object after filling the section identified by start and end with value
|
||||||
@ -2430,24 +2461,28 @@ interface Uint8ClampedArray {
|
|||||||
/**
|
/**
|
||||||
* Returns a section of an array.
|
* Returns a section of an array.
|
||||||
* @param start The beginning of the specified portion of the array.
|
* @param start The beginning of the specified portion of the array.
|
||||||
* @param end The end of the specified portion of the array.
|
* @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.
|
||||||
*/
|
*/
|
||||||
slice(start?: number, end?: number): Uint8ClampedArray;
|
slice(start?: number, end?: number): Uint8ClampedArray;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Determines whether the specified callback function returns true for any element of an array.
|
* Determines whether the specified callback function returns true for any element of an array.
|
||||||
* @param callbackfn A function that accepts up to three arguments. The some method calls the
|
* @param callbackfn A function that accepts up to three arguments. The some method calls
|
||||||
* callbackfn function for each element in array1 until the callbackfn returns true, or until
|
* the callbackfn function for each element in the array until the callbackfn returns a value
|
||||||
* the end of the array.
|
* which is coercible to the Boolean value true, or until the end of the array.
|
||||||
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
|
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
|
||||||
* If thisArg is omitted, undefined is used as the this value.
|
* If thisArg is omitted, undefined is used as the this value.
|
||||||
*/
|
*/
|
||||||
some(callbackfn: (value: number, index: number, array: Uint8ClampedArray) => boolean, thisArg?: any): boolean;
|
some(callbackfn: (value: number, index: number, array: Uint8ClampedArray) => unknown, thisArg?: any): boolean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sorts an array.
|
* Sorts an array.
|
||||||
* @param compareFn The name of the function used to determine the order of the elements. If
|
* @param compareFn Function used to determine the order of the elements. It is expected to return
|
||||||
* omitted, the elements are sorted in ascending, ASCII character order.
|
* a negative value if first argument is less than 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].sort((a, b) => a - b)
|
||||||
|
* ```
|
||||||
*/
|
*/
|
||||||
sort(compareFn?: (a: number, b: number) => number): this;
|
sort(compareFn?: (a: number, b: number) => number): this;
|
||||||
|
|
||||||
@ -2457,7 +2492,7 @@ interface Uint8ClampedArray {
|
|||||||
* @param begin The index of the beginning of the array.
|
* @param begin The index of the beginning of the array.
|
||||||
* @param end The index of the end of the array.
|
* @param end The index of the end of the array.
|
||||||
*/
|
*/
|
||||||
subarray(begin: number, end?: number): Uint8ClampedArray;
|
subarray(begin?: number, end?: number): Uint8ClampedArray;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Converts a number to a string by using the current locale.
|
* Converts a number to a string by using the current locale.
|
||||||
@ -2469,6 +2504,9 @@ interface Uint8ClampedArray {
|
|||||||
*/
|
*/
|
||||||
toString(): string;
|
toString(): string;
|
||||||
|
|
||||||
|
/** Returns the primitive value of the specified object. */
|
||||||
|
valueOf(): Uint8ClampedArray;
|
||||||
|
|
||||||
[index: number]: number;
|
[index: number]: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2544,12 +2582,12 @@ interface Int16Array {
|
|||||||
/**
|
/**
|
||||||
* Determines whether all the members of an array satisfy the specified test.
|
* Determines whether all the members of an array satisfy the specified test.
|
||||||
* @param callbackfn A function that accepts up to three arguments. The every method calls
|
* @param callbackfn A function that accepts up to three arguments. The every method calls
|
||||||
* the callbackfn function for each element in array1 until the callbackfn returns false,
|
* the callbackfn function for each element in the array until the callbackfn returns a value
|
||||||
* or until the end of the array.
|
* which is coercible to the Boolean value false, or until the end of the array.
|
||||||
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
|
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
|
||||||
* If thisArg is omitted, undefined is used as the this value.
|
* If thisArg is omitted, undefined is used as the this value.
|
||||||
*/
|
*/
|
||||||
every(callbackfn: (value: number, index: number, array: Int16Array) => boolean, thisArg?: any): boolean;
|
every(callbackfn: (value: number, index: number, array: Int16Array) => unknown, thisArg?: any): boolean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the this object after filling the section identified by start and end with value
|
* Returns the this object after filling the section identified by start and end with value
|
||||||
@ -2703,24 +2741,28 @@ interface Int16Array {
|
|||||||
/**
|
/**
|
||||||
* Returns a section of an array.
|
* Returns a section of an array.
|
||||||
* @param start The beginning of the specified portion of the array.
|
* @param start The beginning of the specified portion of the array.
|
||||||
* @param end The end of the specified portion of the array.
|
* @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.
|
||||||
*/
|
*/
|
||||||
slice(start?: number, end?: number): Int16Array;
|
slice(start?: number, end?: number): Int16Array;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Determines whether the specified callback function returns true for any element of an array.
|
* Determines whether the specified callback function returns true for any element of an array.
|
||||||
* @param callbackfn A function that accepts up to three arguments. The some method calls the
|
* @param callbackfn A function that accepts up to three arguments. The some method calls
|
||||||
* callbackfn function for each element in array1 until the callbackfn returns true, or until
|
* the callbackfn function for each element in the array until the callbackfn returns a value
|
||||||
* the end of the array.
|
* which is coercible to the Boolean value true, or until the end of the array.
|
||||||
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
|
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
|
||||||
* If thisArg is omitted, undefined is used as the this value.
|
* If thisArg is omitted, undefined is used as the this value.
|
||||||
*/
|
*/
|
||||||
some(callbackfn: (value: number, index: number, array: Int16Array) => boolean, thisArg?: any): boolean;
|
some(callbackfn: (value: number, index: number, array: Int16Array) => unknown, thisArg?: any): boolean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sorts an array.
|
* Sorts an array.
|
||||||
* @param compareFn The name of the function used to determine the order of the elements. If
|
* @param compareFn Function used to determine the order of the elements. It is expected to return
|
||||||
* omitted, the elements are sorted in ascending, ASCII character order.
|
* a negative value if first argument is less than 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].sort((a, b) => a - b)
|
||||||
|
* ```
|
||||||
*/
|
*/
|
||||||
sort(compareFn?: (a: number, b: number) => number): this;
|
sort(compareFn?: (a: number, b: number) => number): this;
|
||||||
|
|
||||||
@ -2730,7 +2772,7 @@ interface Int16Array {
|
|||||||
* @param begin The index of the beginning of the array.
|
* @param begin The index of the beginning of the array.
|
||||||
* @param end The index of the end of the array.
|
* @param end The index of the end of the array.
|
||||||
*/
|
*/
|
||||||
subarray(begin: number, end?: number): Int16Array;
|
subarray(begin?: number, end?: number): Int16Array;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Converts a number to a string by using the current locale.
|
* Converts a number to a string by using the current locale.
|
||||||
@ -2742,6 +2784,9 @@ interface Int16Array {
|
|||||||
*/
|
*/
|
||||||
toString(): string;
|
toString(): string;
|
||||||
|
|
||||||
|
/** Returns the primitive value of the specified object. */
|
||||||
|
valueOf(): Int16Array;
|
||||||
|
|
||||||
[index: number]: number;
|
[index: number]: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2819,12 +2864,12 @@ interface Uint16Array {
|
|||||||
/**
|
/**
|
||||||
* Determines whether all the members of an array satisfy the specified test.
|
* Determines whether all the members of an array satisfy the specified test.
|
||||||
* @param callbackfn A function that accepts up to three arguments. The every method calls
|
* @param callbackfn A function that accepts up to three arguments. The every method calls
|
||||||
* the callbackfn function for each element in array1 until the callbackfn returns false,
|
* the callbackfn function for each element in the array until the callbackfn returns a value
|
||||||
* or until the end of the array.
|
* which is coercible to the Boolean value false, or until the end of the array.
|
||||||
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
|
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
|
||||||
* If thisArg is omitted, undefined is used as the this value.
|
* If thisArg is omitted, undefined is used as the this value.
|
||||||
*/
|
*/
|
||||||
every(callbackfn: (value: number, index: number, array: Uint16Array) => boolean, thisArg?: any): boolean;
|
every(callbackfn: (value: number, index: number, array: Uint16Array) => unknown, thisArg?: any): boolean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the this object after filling the section identified by start and end with value
|
* Returns the this object after filling the section identified by start and end with value
|
||||||
@ -2979,24 +3024,28 @@ interface Uint16Array {
|
|||||||
/**
|
/**
|
||||||
* Returns a section of an array.
|
* Returns a section of an array.
|
||||||
* @param start The beginning of the specified portion of the array.
|
* @param start The beginning of the specified portion of the array.
|
||||||
* @param end The end of the specified portion of the array.
|
* @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.
|
||||||
*/
|
*/
|
||||||
slice(start?: number, end?: number): Uint16Array;
|
slice(start?: number, end?: number): Uint16Array;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Determines whether the specified callback function returns true for any element of an array.
|
* Determines whether the specified callback function returns true for any element of an array.
|
||||||
* @param callbackfn A function that accepts up to three arguments. The some method calls the
|
* @param callbackfn A function that accepts up to three arguments. The some method calls
|
||||||
* callbackfn function for each element in array1 until the callbackfn returns true, or until
|
* the callbackfn function for each element in the array until the callbackfn returns a value
|
||||||
* the end of the array.
|
* which is coercible to the Boolean value true, or until the end of the array.
|
||||||
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
|
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
|
||||||
* If thisArg is omitted, undefined is used as the this value.
|
* If thisArg is omitted, undefined is used as the this value.
|
||||||
*/
|
*/
|
||||||
some(callbackfn: (value: number, index: number, array: Uint16Array) => boolean, thisArg?: any): boolean;
|
some(callbackfn: (value: number, index: number, array: Uint16Array) => unknown, thisArg?: any): boolean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sorts an array.
|
* Sorts an array.
|
||||||
* @param compareFn The name of the function used to determine the order of the elements. If
|
* @param compareFn Function used to determine the order of the elements. It is expected to return
|
||||||
* omitted, the elements are sorted in ascending, ASCII character order.
|
* a negative value if first argument is less than 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].sort((a, b) => a - b)
|
||||||
|
* ```
|
||||||
*/
|
*/
|
||||||
sort(compareFn?: (a: number, b: number) => number): this;
|
sort(compareFn?: (a: number, b: number) => number): this;
|
||||||
|
|
||||||
@ -3006,7 +3055,7 @@ interface Uint16Array {
|
|||||||
* @param begin The index of the beginning of the array.
|
* @param begin The index of the beginning of the array.
|
||||||
* @param end The index of the end of the array.
|
* @param end The index of the end of the array.
|
||||||
*/
|
*/
|
||||||
subarray(begin: number, end?: number): Uint16Array;
|
subarray(begin?: number, end?: number): Uint16Array;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Converts a number to a string by using the current locale.
|
* Converts a number to a string by using the current locale.
|
||||||
@ -3018,6 +3067,9 @@ interface Uint16Array {
|
|||||||
*/
|
*/
|
||||||
toString(): string;
|
toString(): string;
|
||||||
|
|
||||||
|
/** Returns the primitive value of the specified object. */
|
||||||
|
valueOf(): Uint16Array;
|
||||||
|
|
||||||
[index: number]: number;
|
[index: number]: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3094,12 +3146,12 @@ interface Int32Array {
|
|||||||
/**
|
/**
|
||||||
* Determines whether all the members of an array satisfy the specified test.
|
* Determines whether all the members of an array satisfy the specified test.
|
||||||
* @param callbackfn A function that accepts up to three arguments. The every method calls
|
* @param callbackfn A function that accepts up to three arguments. The every method calls
|
||||||
* the callbackfn function for each element in array1 until the callbackfn returns false,
|
* the callbackfn function for each element in the array until the callbackfn returns a value
|
||||||
* or until the end of the array.
|
* which is coercible to the Boolean value false, or until the end of the array.
|
||||||
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
|
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
|
||||||
* If thisArg is omitted, undefined is used as the this value.
|
* If thisArg is omitted, undefined is used as the this value.
|
||||||
*/
|
*/
|
||||||
every(callbackfn: (value: number, index: number, array: Int32Array) => boolean, thisArg?: any): boolean;
|
every(callbackfn: (value: number, index: number, array: Int32Array) => unknown, thisArg?: any): boolean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the this object after filling the section identified by start and end with value
|
* Returns the this object after filling the section identified by start and end with value
|
||||||
@ -3254,24 +3306,28 @@ interface Int32Array {
|
|||||||
/**
|
/**
|
||||||
* Returns a section of an array.
|
* Returns a section of an array.
|
||||||
* @param start The beginning of the specified portion of the array.
|
* @param start The beginning of the specified portion of the array.
|
||||||
* @param end The end of the specified portion of the array.
|
* @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.
|
||||||
*/
|
*/
|
||||||
slice(start?: number, end?: number): Int32Array;
|
slice(start?: number, end?: number): Int32Array;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Determines whether the specified callback function returns true for any element of an array.
|
* Determines whether the specified callback function returns true for any element of an array.
|
||||||
* @param callbackfn A function that accepts up to three arguments. The some method calls the
|
* @param callbackfn A function that accepts up to three arguments. The some method calls
|
||||||
* callbackfn function for each element in array1 until the callbackfn returns true, or until
|
* the callbackfn function for each element in the array until the callbackfn returns a value
|
||||||
* the end of the array.
|
* which is coercible to the Boolean value true, or until the end of the array.
|
||||||
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
|
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
|
||||||
* If thisArg is omitted, undefined is used as the this value.
|
* If thisArg is omitted, undefined is used as the this value.
|
||||||
*/
|
*/
|
||||||
some(callbackfn: (value: number, index: number, array: Int32Array) => boolean, thisArg?: any): boolean;
|
some(callbackfn: (value: number, index: number, array: Int32Array) => unknown, thisArg?: any): boolean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sorts an array.
|
* Sorts an array.
|
||||||
* @param compareFn The name of the function used to determine the order of the elements. If
|
* @param compareFn Function used to determine the order of the elements. It is expected to return
|
||||||
* omitted, the elements are sorted in ascending, ASCII character order.
|
* a negative value if first argument is less than 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].sort((a, b) => a - b)
|
||||||
|
* ```
|
||||||
*/
|
*/
|
||||||
sort(compareFn?: (a: number, b: number) => number): this;
|
sort(compareFn?: (a: number, b: number) => number): this;
|
||||||
|
|
||||||
@ -3281,7 +3337,7 @@ interface Int32Array {
|
|||||||
* @param begin The index of the beginning of the array.
|
* @param begin The index of the beginning of the array.
|
||||||
* @param end The index of the end of the array.
|
* @param end The index of the end of the array.
|
||||||
*/
|
*/
|
||||||
subarray(begin: number, end?: number): Int32Array;
|
subarray(begin?: number, end?: number): Int32Array;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Converts a number to a string by using the current locale.
|
* Converts a number to a string by using the current locale.
|
||||||
@ -3293,6 +3349,9 @@ interface Int32Array {
|
|||||||
*/
|
*/
|
||||||
toString(): string;
|
toString(): string;
|
||||||
|
|
||||||
|
/** Returns the primitive value of the specified object. */
|
||||||
|
valueOf(): Int32Array;
|
||||||
|
|
||||||
[index: number]: number;
|
[index: number]: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3369,12 +3428,12 @@ interface Uint32Array {
|
|||||||
/**
|
/**
|
||||||
* Determines whether all the members of an array satisfy the specified test.
|
* Determines whether all the members of an array satisfy the specified test.
|
||||||
* @param callbackfn A function that accepts up to three arguments. The every method calls
|
* @param callbackfn A function that accepts up to three arguments. The every method calls
|
||||||
* the callbackfn function for each element in array1 until the callbackfn returns false,
|
* the callbackfn function for each element in the array until the callbackfn returns a value
|
||||||
* or until the end of the array.
|
* which is coercible to the Boolean value false, or until the end of the array.
|
||||||
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
|
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
|
||||||
* If thisArg is omitted, undefined is used as the this value.
|
* If thisArg is omitted, undefined is used as the this value.
|
||||||
*/
|
*/
|
||||||
every(callbackfn: (value: number, index: number, array: Uint32Array) => boolean, thisArg?: any): boolean;
|
every(callbackfn: (value: number, index: number, array: Uint32Array) => unknown, thisArg?: any): boolean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the this object after filling the section identified by start and end with value
|
* Returns the this object after filling the section identified by start and end with value
|
||||||
@ -3528,24 +3587,28 @@ interface Uint32Array {
|
|||||||
/**
|
/**
|
||||||
* Returns a section of an array.
|
* Returns a section of an array.
|
||||||
* @param start The beginning of the specified portion of the array.
|
* @param start The beginning of the specified portion of the array.
|
||||||
* @param end The end of the specified portion of the array.
|
* @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.
|
||||||
*/
|
*/
|
||||||
slice(start?: number, end?: number): Uint32Array;
|
slice(start?: number, end?: number): Uint32Array;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Determines whether the specified callback function returns true for any element of an array.
|
* Determines whether the specified callback function returns true for any element of an array.
|
||||||
* @param callbackfn A function that accepts up to three arguments. The some method calls the
|
* @param callbackfn A function that accepts up to three arguments. The some method calls
|
||||||
* callbackfn function for each element in array1 until the callbackfn returns true, or until
|
* the callbackfn function for each element in the array until the callbackfn returns a value
|
||||||
* the end of the array.
|
* which is coercible to the Boolean value true, or until the end of the array.
|
||||||
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
|
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
|
||||||
* If thisArg is omitted, undefined is used as the this value.
|
* If thisArg is omitted, undefined is used as the this value.
|
||||||
*/
|
*/
|
||||||
some(callbackfn: (value: number, index: number, array: Uint32Array) => boolean, thisArg?: any): boolean;
|
some(callbackfn: (value: number, index: number, array: Uint32Array) => unknown, thisArg?: any): boolean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sorts an array.
|
* Sorts an array.
|
||||||
* @param compareFn The name of the function used to determine the order of the elements. If
|
* @param compareFn Function used to determine the order of the elements. It is expected to return
|
||||||
* omitted, the elements are sorted in ascending, ASCII character order.
|
* a negative value if first argument is less than 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].sort((a, b) => a - b)
|
||||||
|
* ```
|
||||||
*/
|
*/
|
||||||
sort(compareFn?: (a: number, b: number) => number): this;
|
sort(compareFn?: (a: number, b: number) => number): this;
|
||||||
|
|
||||||
@ -3555,7 +3618,7 @@ interface Uint32Array {
|
|||||||
* @param begin The index of the beginning of the array.
|
* @param begin The index of the beginning of the array.
|
||||||
* @param end The index of the end of the array.
|
* @param end The index of the end of the array.
|
||||||
*/
|
*/
|
||||||
subarray(begin: number, end?: number): Uint32Array;
|
subarray(begin?: number, end?: number): Uint32Array;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Converts a number to a string by using the current locale.
|
* Converts a number to a string by using the current locale.
|
||||||
@ -3567,6 +3630,9 @@ interface Uint32Array {
|
|||||||
*/
|
*/
|
||||||
toString(): string;
|
toString(): string;
|
||||||
|
|
||||||
|
/** Returns the primitive value of the specified object. */
|
||||||
|
valueOf(): Uint32Array;
|
||||||
|
|
||||||
[index: number]: number;
|
[index: number]: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3643,12 +3709,12 @@ interface Float32Array {
|
|||||||
/**
|
/**
|
||||||
* Determines whether all the members of an array satisfy the specified test.
|
* Determines whether all the members of an array satisfy the specified test.
|
||||||
* @param callbackfn A function that accepts up to three arguments. The every method calls
|
* @param callbackfn A function that accepts up to three arguments. The every method calls
|
||||||
* the callbackfn function for each element in array1 until the callbackfn returns false,
|
* the callbackfn function for each element in the array until the callbackfn returns a value
|
||||||
* or until the end of the array.
|
* which is coercible to the Boolean value false, or until the end of the array.
|
||||||
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
|
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
|
||||||
* If thisArg is omitted, undefined is used as the this value.
|
* If thisArg is omitted, undefined is used as the this value.
|
||||||
*/
|
*/
|
||||||
every(callbackfn: (value: number, index: number, array: Float32Array) => boolean, thisArg?: any): boolean;
|
every(callbackfn: (value: number, index: number, array: Float32Array) => unknown, thisArg?: any): boolean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the this object after filling the section identified by start and end with value
|
* Returns the this object after filling the section identified by start and end with value
|
||||||
@ -3803,24 +3869,28 @@ interface Float32Array {
|
|||||||
/**
|
/**
|
||||||
* Returns a section of an array.
|
* Returns a section of an array.
|
||||||
* @param start The beginning of the specified portion of the array.
|
* @param start The beginning of the specified portion of the array.
|
||||||
* @param end The end of the specified portion of the array.
|
* @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.
|
||||||
*/
|
*/
|
||||||
slice(start?: number, end?: number): Float32Array;
|
slice(start?: number, end?: number): Float32Array;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Determines whether the specified callback function returns true for any element of an array.
|
* Determines whether the specified callback function returns true for any element of an array.
|
||||||
* @param callbackfn A function that accepts up to three arguments. The some method calls the
|
* @param callbackfn A function that accepts up to three arguments. The some method calls
|
||||||
* callbackfn function for each element in array1 until the callbackfn returns true, or until
|
* the callbackfn function for each element in the array until the callbackfn returns a value
|
||||||
* the end of the array.
|
* which is coercible to the Boolean value true, or until the end of the array.
|
||||||
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
|
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
|
||||||
* If thisArg is omitted, undefined is used as the this value.
|
* If thisArg is omitted, undefined is used as the this value.
|
||||||
*/
|
*/
|
||||||
some(callbackfn: (value: number, index: number, array: Float32Array) => boolean, thisArg?: any): boolean;
|
some(callbackfn: (value: number, index: number, array: Float32Array) => unknown, thisArg?: any): boolean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sorts an array.
|
* Sorts an array.
|
||||||
* @param compareFn The name of the function used to determine the order of the elements. If
|
* @param compareFn Function used to determine the order of the elements. It is expected to return
|
||||||
* omitted, the elements are sorted in ascending, ASCII character order.
|
* a negative value if first argument is less than 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].sort((a, b) => a - b)
|
||||||
|
* ```
|
||||||
*/
|
*/
|
||||||
sort(compareFn?: (a: number, b: number) => number): this;
|
sort(compareFn?: (a: number, b: number) => number): this;
|
||||||
|
|
||||||
@ -3830,7 +3900,7 @@ interface Float32Array {
|
|||||||
* @param begin The index of the beginning of the array.
|
* @param begin The index of the beginning of the array.
|
||||||
* @param end The index of the end of the array.
|
* @param end The index of the end of the array.
|
||||||
*/
|
*/
|
||||||
subarray(begin: number, end?: number): Float32Array;
|
subarray(begin?: number, end?: number): Float32Array;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Converts a number to a string by using the current locale.
|
* Converts a number to a string by using the current locale.
|
||||||
@ -3842,6 +3912,9 @@ interface Float32Array {
|
|||||||
*/
|
*/
|
||||||
toString(): string;
|
toString(): string;
|
||||||
|
|
||||||
|
/** Returns the primitive value of the specified object. */
|
||||||
|
valueOf(): Float32Array;
|
||||||
|
|
||||||
[index: number]: number;
|
[index: number]: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3919,12 +3992,12 @@ interface Float64Array {
|
|||||||
/**
|
/**
|
||||||
* Determines whether all the members of an array satisfy the specified test.
|
* Determines whether all the members of an array satisfy the specified test.
|
||||||
* @param callbackfn A function that accepts up to three arguments. The every method calls
|
* @param callbackfn A function that accepts up to three arguments. The every method calls
|
||||||
* the callbackfn function for each element in array1 until the callbackfn returns false,
|
* the callbackfn function for each element in the array until the callbackfn returns a value
|
||||||
* or until the end of the array.
|
* which is coercible to the Boolean value false, or until the end of the array.
|
||||||
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
|
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
|
||||||
* If thisArg is omitted, undefined is used as the this value.
|
* If thisArg is omitted, undefined is used as the this value.
|
||||||
*/
|
*/
|
||||||
every(callbackfn: (value: number, index: number, array: Float64Array) => boolean, thisArg?: any): boolean;
|
every(callbackfn: (value: number, index: number, array: Float64Array) => unknown, thisArg?: any): boolean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the this object after filling the section identified by start and end with value
|
* Returns the this object after filling the section identified by start and end with value
|
||||||
@ -4079,45 +4152,43 @@ interface Float64Array {
|
|||||||
/**
|
/**
|
||||||
* Returns a section of an array.
|
* Returns a section of an array.
|
||||||
* @param start The beginning of the specified portion of the array.
|
* @param start The beginning of the specified portion of the array.
|
||||||
* @param end The end of the specified portion of the array.
|
* @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.
|
||||||
*/
|
*/
|
||||||
slice(start?: number, end?: number): Float64Array;
|
slice(start?: number, end?: number): Float64Array;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Determines whether the specified callback function returns true for any element of an array.
|
* Determines whether the specified callback function returns true for any element of an array.
|
||||||
* @param callbackfn A function that accepts up to three arguments. The some method calls the
|
* @param callbackfn A function that accepts up to three arguments. The some method calls
|
||||||
* callbackfn function for each element in array1 until the callbackfn returns true, or until
|
* the callbackfn function for each element in the array until the callbackfn returns a value
|
||||||
* the end of the array.
|
* which is coercible to the Boolean value true, or until the end of the array.
|
||||||
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
|
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
|
||||||
* If thisArg is omitted, undefined is used as the this value.
|
* If thisArg is omitted, undefined is used as the this value.
|
||||||
*/
|
*/
|
||||||
some(callbackfn: (value: number, index: number, array: Float64Array) => boolean, thisArg?: any): boolean;
|
some(callbackfn: (value: number, index: number, array: Float64Array) => unknown, thisArg?: any): boolean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sorts an array.
|
* Sorts an array.
|
||||||
* @param compareFn The name of the function used to determine the order of the elements. If
|
* @param compareFn Function used to determine the order of the elements. It is expected to return
|
||||||
* omitted, the elements are sorted in ascending, ASCII character order.
|
* a negative value if first argument is less than 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].sort((a, b) => a - b)
|
||||||
|
* ```
|
||||||
*/
|
*/
|
||||||
sort(compareFn?: (a: number, b: number) => number): this;
|
sort(compareFn?: (a: number, b: number) => number): this;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets a new Float64Array view of the ArrayBuffer store for this array, referencing the elements
|
|
||||||
* at begin, inclusive, up to end, exclusive.
|
* at begin, inclusive, up to end, exclusive.
|
||||||
* @param begin The index of the beginning of the array.
|
* @param begin The index of the beginning of the array.
|
||||||
* @param end The index of the end of the array.
|
* @param end The index of the end of the array.
|
||||||
*/
|
*/
|
||||||
subarray(begin: number, end?: number): Float64Array;
|
subarray(begin?: number, end?: number): Float64Array;
|
||||||
|
|
||||||
/**
|
|
||||||
* Converts a number to a string by using the current locale.
|
|
||||||
*/
|
|
||||||
toLocaleString(): string;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns a string representation of an array.
|
|
||||||
*/
|
|
||||||
toString(): string;
|
toString(): string;
|
||||||
|
|
||||||
|
/** Returns the primitive value of the specified object. */
|
||||||
|
valueOf(): Float64Array;
|
||||||
|
|
||||||
[index: number]: number;
|
[index: number]: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
5
node_modules/typescript/lib/lib.esnext.d.ts
generated
vendored
5
node_modules/typescript/lib/lib.esnext.d.ts
generated
vendored
@ -18,6 +18,7 @@ and limitations under the License.
|
|||||||
/// <reference no-default-lib="true"/>
|
/// <reference no-default-lib="true"/>
|
||||||
|
|
||||||
|
|
||||||
/// <reference lib="es2019" />
|
/// <reference lib="es2020" />
|
||||||
/// <reference lib="esnext.bigint" />
|
|
||||||
/// <reference lib="esnext.intl" />
|
/// <reference lib="esnext.intl" />
|
||||||
|
/// <reference lib="esnext.string" />
|
||||||
|
/// <reference lib="esnext.promise" />
|
||||||
|
466
node_modules/typescript/lib/lib.webworker.d.ts
generated
vendored
466
node_modules/typescript/lib/lib.webworker.d.ts
generated
vendored
@ -239,6 +239,15 @@ interface IDBVersionChangeEventInit extends EventInit {
|
|||||||
oldVersion?: number;
|
oldVersion?: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
interface ImageBitmapOptions {
|
||||||
|
colorSpaceConversion?: ColorSpaceConversion;
|
||||||
|
imageOrientation?: ImageOrientation;
|
||||||
|
premultiplyAlpha?: PremultiplyAlpha;
|
||||||
|
resizeHeight?: number;
|
||||||
|
resizeQuality?: ResizeQuality;
|
||||||
|
resizeWidth?: number;
|
||||||
|
}
|
||||||
|
|
||||||
interface ImageBitmapRenderingContextSettings {
|
interface ImageBitmapRenderingContextSettings {
|
||||||
alpha?: boolean;
|
alpha?: boolean;
|
||||||
}
|
}
|
||||||
@ -370,7 +379,7 @@ interface PushPermissionDescriptor extends PermissionDescriptor {
|
|||||||
userVisibleOnly?: boolean;
|
userVisibleOnly?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface PushSubscriptionChangeInit extends ExtendableEventInit {
|
interface PushSubscriptionChangeEventInit extends ExtendableEventInit {
|
||||||
newSubscription?: PushSubscription;
|
newSubscription?: PushSubscription;
|
||||||
oldSubscription?: PushSubscription;
|
oldSubscription?: PushSubscription;
|
||||||
}
|
}
|
||||||
@ -391,6 +400,16 @@ interface QueuingStrategy<T = any> {
|
|||||||
size?: QueuingStrategySizeCallback<T>;
|
size?: QueuingStrategySizeCallback<T>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
interface ReadableStreamReadDoneResult<T> {
|
||||||
|
done: true;
|
||||||
|
value?: T;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface ReadableStreamReadValueResult<T> {
|
||||||
|
done: false;
|
||||||
|
value: T;
|
||||||
|
}
|
||||||
|
|
||||||
interface RegistrationOptions {
|
interface RegistrationOptions {
|
||||||
scope?: string;
|
scope?: string;
|
||||||
type?: WorkerType;
|
type?: WorkerType;
|
||||||
@ -642,7 +661,10 @@ interface AnimationFrameProvider {
|
|||||||
interface Blob {
|
interface Blob {
|
||||||
readonly size: number;
|
readonly size: number;
|
||||||
readonly type: string;
|
readonly type: string;
|
||||||
|
arrayBuffer(): Promise<ArrayBuffer>;
|
||||||
slice(start?: number, end?: number, contentType?: string): Blob;
|
slice(start?: number, end?: number, contentType?: string): Blob;
|
||||||
|
stream(): ReadableStream;
|
||||||
|
text(): Promise<string>;
|
||||||
}
|
}
|
||||||
|
|
||||||
declare var Blob: {
|
declare var Blob: {
|
||||||
@ -723,7 +745,7 @@ interface CacheStorage {
|
|||||||
delete(cacheName: string): Promise<boolean>;
|
delete(cacheName: string): Promise<boolean>;
|
||||||
has(cacheName: string): Promise<boolean>;
|
has(cacheName: string): Promise<boolean>;
|
||||||
keys(): Promise<string[]>;
|
keys(): Promise<string[]>;
|
||||||
match(request: RequestInfo, options?: CacheQueryOptions): Promise<Response | undefined>;
|
match(request: RequestInfo, options?: MultiCacheQueryOptions): Promise<Response | undefined>;
|
||||||
open(cacheName: string): Promise<Cache>;
|
open(cacheName: string): Promise<Cache>;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -761,7 +783,7 @@ interface CanvasFillStrokeStyles {
|
|||||||
fillStyle: string | CanvasGradient | CanvasPattern;
|
fillStyle: string | CanvasGradient | CanvasPattern;
|
||||||
strokeStyle: string | CanvasGradient | CanvasPattern;
|
strokeStyle: string | CanvasGradient | CanvasPattern;
|
||||||
createLinearGradient(x0: number, y0: number, x1: number, y1: number): CanvasGradient;
|
createLinearGradient(x0: number, y0: number, x1: number, y1: number): CanvasGradient;
|
||||||
createPattern(image: CanvasImageSource, repetition: string): CanvasPattern | null;
|
createPattern(image: CanvasImageSource, repetition: string | null): CanvasPattern | null;
|
||||||
createRadialGradient(x0: number, y0: number, r0: number, x1: number, y1: number, r1: number): CanvasGradient;
|
createRadialGradient(x0: number, y0: number, r0: number, x1: number, y1: number, r1: number): CanvasGradient;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -903,11 +925,18 @@ declare var Clients: {
|
|||||||
|
|
||||||
/** A CloseEvent is sent to clients using WebSockets when the connection is closed. This is delivered to the listener indicated by the WebSocket object's onclose attribute. */
|
/** A CloseEvent is sent to clients using WebSockets when the connection is closed. This is delivered to the listener indicated by the WebSocket object's onclose attribute. */
|
||||||
interface CloseEvent extends Event {
|
interface CloseEvent extends Event {
|
||||||
|
/**
|
||||||
|
* Returns the WebSocket connection close code provided by the server.
|
||||||
|
*/
|
||||||
readonly code: number;
|
readonly code: number;
|
||||||
|
/**
|
||||||
|
* Returns the WebSocket connection close reason provided by the server.
|
||||||
|
*/
|
||||||
readonly reason: string;
|
readonly reason: string;
|
||||||
|
/**
|
||||||
|
* Returns true if the connection closed cleanly; false otherwise.
|
||||||
|
*/
|
||||||
readonly wasClean: boolean;
|
readonly wasClean: boolean;
|
||||||
/** @deprecated */
|
|
||||||
initCloseEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, wasCleanArg: boolean, codeArg: number, reasonArg: string): void;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
declare var CloseEvent: {
|
declare var CloseEvent: {
|
||||||
@ -924,40 +953,6 @@ interface ConcatParams extends Algorithm {
|
|||||||
publicInfo?: Uint8Array;
|
publicInfo?: Uint8Array;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Provides access to the browser's debugging console (e.g. the Web Console in Firefox). The specifics of how it works varies from browser to browser, but there is a de facto set of features that are typically provided. */
|
|
||||||
interface Console {
|
|
||||||
memory: any;
|
|
||||||
assert(condition?: boolean, message?: string, ...data: any[]): void;
|
|
||||||
clear(): void;
|
|
||||||
count(label?: string): void;
|
|
||||||
debug(message?: any, ...optionalParams: any[]): void;
|
|
||||||
dir(value?: any, ...optionalParams: any[]): void;
|
|
||||||
dirxml(value: any): void;
|
|
||||||
error(message?: any, ...optionalParams: any[]): void;
|
|
||||||
exception(message?: string, ...optionalParams: any[]): void;
|
|
||||||
group(groupTitle?: string, ...optionalParams: any[]): void;
|
|
||||||
groupCollapsed(groupTitle?: string, ...optionalParams: any[]): void;
|
|
||||||
groupEnd(): void;
|
|
||||||
info(message?: any, ...optionalParams: any[]): void;
|
|
||||||
log(message?: any, ...optionalParams: any[]): void;
|
|
||||||
markTimeline(label?: string): void;
|
|
||||||
profile(reportName?: string): void;
|
|
||||||
profileEnd(reportName?: string): void;
|
|
||||||
table(...tabularData: any[]): void;
|
|
||||||
time(label?: string): void;
|
|
||||||
timeEnd(label?: string): void;
|
|
||||||
timeStamp(label?: string): void;
|
|
||||||
timeline(label?: string): void;
|
|
||||||
timelineEnd(label?: string): void;
|
|
||||||
trace(message?: any, ...optionalParams: any[]): void;
|
|
||||||
warn(message?: any, ...optionalParams: any[]): void;
|
|
||||||
}
|
|
||||||
|
|
||||||
declare var Console: {
|
|
||||||
prototype: Console;
|
|
||||||
new(): Console;
|
|
||||||
};
|
|
||||||
|
|
||||||
/** This Streams API interface provides a built-in byte length queuing strategy that can be used when constructing streams. */
|
/** This Streams API interface provides a built-in byte length queuing strategy that can be used when constructing streams. */
|
||||||
interface CountQueuingStrategy extends QueuingStrategy {
|
interface CountQueuingStrategy extends QueuingStrategy {
|
||||||
highWaterMark: number;
|
highWaterMark: number;
|
||||||
@ -1264,12 +1259,24 @@ declare var DOMStringList: {
|
|||||||
|
|
||||||
interface DedicatedWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap {
|
interface DedicatedWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap {
|
||||||
"message": MessageEvent;
|
"message": MessageEvent;
|
||||||
|
"messageerror": MessageEvent;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** (the Worker global scope) is accessible through the self keyword. Some additional global functions, namespaces objects, and constructors, not typically associated with the worker global scope, but available on it, are listed in the JavaScript Reference. See also: Functions available to workers. */
|
/** (the Worker global scope) is accessible through the self keyword. Some additional global functions, namespaces objects, and constructors, not typically associated with the worker global scope, but available on it, are listed in the JavaScript Reference. See also: Functions available to workers. */
|
||||||
interface DedicatedWorkerGlobalScope extends WorkerGlobalScope, AnimationFrameProvider {
|
interface DedicatedWorkerGlobalScope extends WorkerGlobalScope, AnimationFrameProvider {
|
||||||
|
/**
|
||||||
|
* Returns dedicatedWorkerGlobal's name, i.e. the value given to the Worker constructor. Primarily useful for debugging.
|
||||||
|
*/
|
||||||
|
readonly name: string;
|
||||||
onmessage: ((this: DedicatedWorkerGlobalScope, ev: MessageEvent) => any) | null;
|
onmessage: ((this: DedicatedWorkerGlobalScope, ev: MessageEvent) => any) | null;
|
||||||
|
onmessageerror: ((this: DedicatedWorkerGlobalScope, ev: MessageEvent) => any) | null;
|
||||||
|
/**
|
||||||
|
* Aborts dedicatedWorkerGlobal.
|
||||||
|
*/
|
||||||
close(): void;
|
close(): void;
|
||||||
|
/**
|
||||||
|
* Clones message and transmits it to the Worker object associated with dedicatedWorkerGlobal. transfer can be passed as a list of objects that are to be transferred rather than cloned.
|
||||||
|
*/
|
||||||
postMessage(message: any, transfer: Transferable[]): void;
|
postMessage(message: any, transfer: Transferable[]): void;
|
||||||
postMessage(message: any, options?: PostMessageOptions): void;
|
postMessage(message: any, options?: PostMessageOptions): void;
|
||||||
addEventListener<K extends keyof DedicatedWorkerGlobalScopeEventMap>(type: K, listener: (this: DedicatedWorkerGlobalScope, ev: DedicatedWorkerGlobalScopeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
addEventListener<K extends keyof DedicatedWorkerGlobalScopeEventMap>(type: K, listener: (this: DedicatedWorkerGlobalScope, ev: DedicatedWorkerGlobalScopeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
||||||
@ -1636,7 +1643,7 @@ interface GenericTransformStream {
|
|||||||
*/
|
*/
|
||||||
readonly readable: ReadableStream;
|
readonly readable: ReadableStream;
|
||||||
/**
|
/**
|
||||||
* Returns a writable stream which accepts BufferSource chunks and runs them through encoding's decoder before making them available to readable.
|
* Returns a writable stream which accepts [AllowShared] BufferSource chunks and runs them through encoding's decoder before making them available to readable.
|
||||||
*
|
*
|
||||||
* Typically this will be used via the pipeThrough() method on a ReadableStream source.
|
* Typically this will be used via the pipeThrough() method on a ReadableStream source.
|
||||||
*
|
*
|
||||||
@ -2178,15 +2185,6 @@ declare var ImageBitmap: {
|
|||||||
new(): ImageBitmap;
|
new(): ImageBitmap;
|
||||||
};
|
};
|
||||||
|
|
||||||
interface ImageBitmapOptions {
|
|
||||||
colorSpaceConversion?: "none" | "default";
|
|
||||||
imageOrientation?: "none" | "flipY";
|
|
||||||
premultiplyAlpha?: "none" | "premultiply" | "default";
|
|
||||||
resizeHeight?: number;
|
|
||||||
resizeQuality?: "pixelated" | "low" | "medium" | "high";
|
|
||||||
resizeWidth?: number;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface ImageBitmapRenderingContext {
|
interface ImageBitmapRenderingContext {
|
||||||
/**
|
/**
|
||||||
* Returns the canvas element that the context is bound to.
|
* Returns the canvas element that the context is bound to.
|
||||||
@ -2222,7 +2220,7 @@ interface ImageData {
|
|||||||
declare var ImageData: {
|
declare var ImageData: {
|
||||||
prototype: ImageData;
|
prototype: ImageData;
|
||||||
new(width: number, height: number): ImageData;
|
new(width: number, height: number): ImageData;
|
||||||
new(array: Uint8ClampedArray, width: number, height: number): ImageData;
|
new(array: Uint8ClampedArray, width: number, height?: number): ImageData;
|
||||||
};
|
};
|
||||||
|
|
||||||
/** This Channel Messaging API interface allows us to create a new message channel and send data through it via its two MessagePort properties. */
|
/** This Channel Messaging API interface allows us to create a new message channel and send data through it via its two MessagePort properties. */
|
||||||
@ -2318,10 +2316,6 @@ declare var NavigationPreloadManager: {
|
|||||||
new(): NavigationPreloadManager;
|
new(): NavigationPreloadManager;
|
||||||
};
|
};
|
||||||
|
|
||||||
interface NavigatorBeacon {
|
|
||||||
sendBeacon(url: string, data?: Blob | Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | FormData | string | null): boolean;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface NavigatorConcurrentHardware {
|
interface NavigatorConcurrentHardware {
|
||||||
readonly hardwareConcurrency: number;
|
readonly hardwareConcurrency: number;
|
||||||
}
|
}
|
||||||
@ -2335,6 +2329,11 @@ interface NavigatorID {
|
|||||||
readonly userAgent: string;
|
readonly userAgent: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
interface NavigatorLanguage {
|
||||||
|
readonly language: string;
|
||||||
|
readonly languages: ReadonlyArray<string>;
|
||||||
|
}
|
||||||
|
|
||||||
interface NavigatorOnLine {
|
interface NavigatorOnLine {
|
||||||
readonly onLine: boolean;
|
readonly onLine: boolean;
|
||||||
}
|
}
|
||||||
@ -2472,7 +2471,7 @@ declare var OffscreenCanvas: {
|
|||||||
new(width: number, height: number): OffscreenCanvas;
|
new(width: number, height: number): OffscreenCanvas;
|
||||||
};
|
};
|
||||||
|
|
||||||
interface OffscreenCanvasRenderingContext2D extends CanvasState, CanvasTransform, CanvasCompositing, CanvasImageSmoothing, CanvasFillStrokeStyles, CanvasShadowStyles, CanvasFilters, CanvasRect, CanvasDrawPath, CanvasText, CanvasDrawImage, CanvasImageData, CanvasPathDrawingStyles, CanvasTextDrawingStyles, CanvasPath {
|
interface OffscreenCanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform {
|
||||||
readonly canvas: OffscreenCanvas;
|
readonly canvas: OffscreenCanvas;
|
||||||
commit(): void;
|
commit(): void;
|
||||||
}
|
}
|
||||||
@ -2715,7 +2714,7 @@ interface PushSubscriptionChangeEvent extends ExtendableEvent {
|
|||||||
|
|
||||||
declare var PushSubscriptionChangeEvent: {
|
declare var PushSubscriptionChangeEvent: {
|
||||||
prototype: PushSubscriptionChangeEvent;
|
prototype: PushSubscriptionChangeEvent;
|
||||||
new(type: string, eventInitDict?: PushSubscriptionChangeInit): PushSubscriptionChangeEvent;
|
new(type: string, eventInitDict?: PushSubscriptionChangeEventInit): PushSubscriptionChangeEvent;
|
||||||
};
|
};
|
||||||
|
|
||||||
interface PushSubscriptionOptions {
|
interface PushSubscriptionOptions {
|
||||||
@ -2780,11 +2779,6 @@ interface ReadableStreamDefaultReader<R = any> {
|
|||||||
releaseLock(): void;
|
releaseLock(): void;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface ReadableStreamReadResult<T> {
|
|
||||||
done: boolean;
|
|
||||||
value: T;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface ReadableStreamReader<R = any> {
|
interface ReadableStreamReader<R = any> {
|
||||||
cancel(): Promise<void>;
|
cancel(): Promise<void>;
|
||||||
read(): Promise<ReadableStreamReadResult<R>>;
|
read(): Promise<ReadableStreamReadResult<R>>;
|
||||||
@ -2963,6 +2957,7 @@ interface ServiceWorkerGlobalScope extends WorkerGlobalScope {
|
|||||||
onpushsubscriptionchange: ((this: ServiceWorkerGlobalScope, ev: PushSubscriptionChangeEvent) => any) | null;
|
onpushsubscriptionchange: ((this: ServiceWorkerGlobalScope, ev: PushSubscriptionChangeEvent) => any) | null;
|
||||||
onsync: ((this: ServiceWorkerGlobalScope, ev: SyncEvent) => any) | null;
|
onsync: ((this: ServiceWorkerGlobalScope, ev: SyncEvent) => any) | null;
|
||||||
readonly registration: ServiceWorkerRegistration;
|
readonly registration: ServiceWorkerRegistration;
|
||||||
|
readonly serviceWorker: ServiceWorker;
|
||||||
skipWaiting(): Promise<void>;
|
skipWaiting(): Promise<void>;
|
||||||
addEventListener<K extends keyof ServiceWorkerGlobalScopeEventMap>(type: K, listener: (this: ServiceWorkerGlobalScope, ev: ServiceWorkerGlobalScopeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
addEventListener<K extends keyof ServiceWorkerGlobalScopeEventMap>(type: K, listener: (this: ServiceWorkerGlobalScope, ev: ServiceWorkerGlobalScopeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
||||||
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
||||||
@ -3005,6 +3000,47 @@ declare var ServiceWorkerRegistration: {
|
|||||||
new(): ServiceWorkerRegistration;
|
new(): ServiceWorkerRegistration;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
interface SharedWorker extends EventTarget, AbstractWorker {
|
||||||
|
/**
|
||||||
|
* Returns sharedWorker's MessagePort object which can be used to communicate with the global environment.
|
||||||
|
*/
|
||||||
|
readonly port: MessagePort;
|
||||||
|
addEventListener<K extends keyof AbstractWorkerEventMap>(type: K, listener: (this: SharedWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
||||||
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
||||||
|
removeEventListener<K extends keyof AbstractWorkerEventMap>(type: K, listener: (this: SharedWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
||||||
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
||||||
|
}
|
||||||
|
|
||||||
|
declare var SharedWorker: {
|
||||||
|
prototype: SharedWorker;
|
||||||
|
new(scriptURL: string, options?: string | WorkerOptions): SharedWorker;
|
||||||
|
};
|
||||||
|
|
||||||
|
interface SharedWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap {
|
||||||
|
"connect": MessageEvent;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface SharedWorkerGlobalScope extends WorkerGlobalScope {
|
||||||
|
/**
|
||||||
|
* Returns sharedWorkerGlobal's name, i.e. the value given to the SharedWorker constructor. Multiple SharedWorker objects can correspond to the same shared worker (and SharedWorkerGlobalScope), by reusing the same name.
|
||||||
|
*/
|
||||||
|
readonly name: string;
|
||||||
|
onconnect: ((this: SharedWorkerGlobalScope, ev: MessageEvent) => any) | null;
|
||||||
|
/**
|
||||||
|
* Aborts sharedWorkerGlobal.
|
||||||
|
*/
|
||||||
|
close(): void;
|
||||||
|
addEventListener<K extends keyof SharedWorkerGlobalScopeEventMap>(type: K, listener: (this: SharedWorkerGlobalScope, ev: SharedWorkerGlobalScopeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
||||||
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
||||||
|
removeEventListener<K extends keyof SharedWorkerGlobalScopeEventMap>(type: K, listener: (this: SharedWorkerGlobalScope, ev: SharedWorkerGlobalScopeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
||||||
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
||||||
|
}
|
||||||
|
|
||||||
|
declare var SharedWorkerGlobalScope: {
|
||||||
|
prototype: SharedWorkerGlobalScope;
|
||||||
|
new(): SharedWorkerGlobalScope;
|
||||||
|
};
|
||||||
|
|
||||||
interface StorageManager {
|
interface StorageManager {
|
||||||
estimate(): Promise<StorageEstimate>;
|
estimate(): Promise<StorageEstimate>;
|
||||||
persisted(): Promise<boolean>;
|
persisted(): Promise<boolean>;
|
||||||
@ -3017,24 +3053,24 @@ declare var StorageManager: {
|
|||||||
|
|
||||||
/** This Web Crypto API interface provides a number of low-level cryptographic functions. It is accessed via the Crypto.subtle properties available in a window context (via Window.crypto). */
|
/** This Web Crypto API interface provides a number of low-level cryptographic functions. It is accessed via the Crypto.subtle properties available in a window context (via Window.crypto). */
|
||||||
interface SubtleCrypto {
|
interface SubtleCrypto {
|
||||||
decrypt(algorithm: string | RsaOaepParams | AesCtrParams | AesCbcParams | AesCmacParams | AesGcmParams | AesCfbParams, key: CryptoKey, data: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer): PromiseLike<ArrayBuffer>;
|
decrypt(algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesCmacParams | AesGcmParams | AesCfbParams, key: CryptoKey, data: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer): PromiseLike<ArrayBuffer>;
|
||||||
deriveBits(algorithm: string | EcdhKeyDeriveParams | DhKeyDeriveParams | ConcatParams | HkdfCtrParams | Pbkdf2Params, baseKey: CryptoKey, length: number): PromiseLike<ArrayBuffer>;
|
deriveBits(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | DhKeyDeriveParams | ConcatParams | HkdfCtrParams | Pbkdf2Params, baseKey: CryptoKey, length: number): PromiseLike<ArrayBuffer>;
|
||||||
deriveKey(algorithm: string | EcdhKeyDeriveParams | DhKeyDeriveParams | ConcatParams | HkdfCtrParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: string | AesDerivedKeyParams | HmacImportParams | ConcatParams | HkdfCtrParams | Pbkdf2Params, extractable: boolean, keyUsages: string[]): PromiseLike<CryptoKey>;
|
deriveKey(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | DhKeyDeriveParams | ConcatParams | HkdfCtrParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: string | AesDerivedKeyParams | HmacImportParams | ConcatParams | HkdfCtrParams | Pbkdf2Params, extractable: boolean, keyUsages: KeyUsage[]): PromiseLike<CryptoKey>;
|
||||||
digest(algorithm: string | Algorithm, data: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer): PromiseLike<ArrayBuffer>;
|
digest(algorithm: AlgorithmIdentifier, data: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer): PromiseLike<ArrayBuffer>;
|
||||||
encrypt(algorithm: string | RsaOaepParams | AesCtrParams | AesCbcParams | AesCmacParams | AesGcmParams | AesCfbParams, key: CryptoKey, data: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer): PromiseLike<ArrayBuffer>;
|
encrypt(algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesCmacParams | AesGcmParams | AesCfbParams, key: CryptoKey, data: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer): PromiseLike<ArrayBuffer>;
|
||||||
exportKey(format: "jwk", key: CryptoKey): PromiseLike<JsonWebKey>;
|
exportKey(format: "jwk", key: CryptoKey): PromiseLike<JsonWebKey>;
|
||||||
exportKey(format: "raw" | "pkcs8" | "spki", key: CryptoKey): PromiseLike<ArrayBuffer>;
|
exportKey(format: "raw" | "pkcs8" | "spki", key: CryptoKey): PromiseLike<ArrayBuffer>;
|
||||||
exportKey(format: string, key: CryptoKey): PromiseLike<JsonWebKey | ArrayBuffer>;
|
exportKey(format: string, key: CryptoKey): PromiseLike<JsonWebKey | ArrayBuffer>;
|
||||||
generateKey(algorithm: string, extractable: boolean, keyUsages: string[]): PromiseLike<CryptoKeyPair | CryptoKey>;
|
generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: KeyUsage[]): PromiseLike<CryptoKeyPair | CryptoKey>;
|
||||||
generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams | DhKeyGenParams, extractable: boolean, keyUsages: string[]): PromiseLike<CryptoKeyPair>;
|
generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams | DhKeyGenParams, extractable: boolean, keyUsages: KeyUsage[]): PromiseLike<CryptoKeyPair>;
|
||||||
generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: string[]): PromiseLike<CryptoKey>;
|
generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: KeyUsage[]): PromiseLike<CryptoKey>;
|
||||||
importKey(format: "jwk", keyData: JsonWebKey, algorithm: string | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams | AesKeyAlgorithm, extractable: boolean, keyUsages: string[]): PromiseLike<CryptoKey>;
|
importKey(format: "jwk", keyData: JsonWebKey, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams | AesKeyAlgorithm, extractable: boolean, keyUsages: KeyUsage[]): PromiseLike<CryptoKey>;
|
||||||
importKey(format: "raw" | "pkcs8" | "spki", keyData: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer, algorithm: string | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams | AesKeyAlgorithm, extractable: boolean, keyUsages: string[]): PromiseLike<CryptoKey>;
|
importKey(format: "raw" | "pkcs8" | "spki", keyData: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams | AesKeyAlgorithm, extractable: boolean, keyUsages: KeyUsage[]): PromiseLike<CryptoKey>;
|
||||||
importKey(format: string, keyData: JsonWebKey | Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer, algorithm: string | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams | AesKeyAlgorithm, extractable: boolean, keyUsages: string[]): PromiseLike<CryptoKey>;
|
importKey(format: string, keyData: JsonWebKey | Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams | AesKeyAlgorithm, extractable: boolean, keyUsages: KeyUsage[]): PromiseLike<CryptoKey>;
|
||||||
sign(algorithm: string | RsaPssParams | EcdsaParams | AesCmacParams, key: CryptoKey, data: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer): PromiseLike<ArrayBuffer>;
|
sign(algorithm: AlgorithmIdentifier | RsaPssParams | EcdsaParams | AesCmacParams, key: CryptoKey, data: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer): PromiseLike<ArrayBuffer>;
|
||||||
unwrapKey(format: string, wrappedKey: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer, unwrappingKey: CryptoKey, unwrapAlgorithm: string | Algorithm, unwrappedKeyAlgorithm: string | Algorithm, extractable: boolean, keyUsages: string[]): PromiseLike<CryptoKey>;
|
unwrapKey(format: "raw" | "pkcs8" | "spki" | "jwk" | string, wrappedKey: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer, unwrappingKey: CryptoKey, unwrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesCmacParams | AesGcmParams | AesCfbParams, unwrappedKeyAlgorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams | AesKeyAlgorithm, extractable: boolean, keyUsages: KeyUsage[]): PromiseLike<CryptoKey>;
|
||||||
verify(algorithm: string | RsaPssParams | EcdsaParams | AesCmacParams, key: CryptoKey, signature: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer, data: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer): PromiseLike<boolean>;
|
verify(algorithm: AlgorithmIdentifier | RsaPssParams | EcdsaParams | AesCmacParams, key: CryptoKey, signature: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer, data: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer): PromiseLike<boolean>;
|
||||||
wrapKey(format: string, key: CryptoKey, wrappingKey: CryptoKey, wrapAlgorithm: string | Algorithm): PromiseLike<ArrayBuffer>;
|
wrapKey(format: "raw" | "pkcs8" | "spki" | "jwk" | string, key: CryptoKey, wrappingKey: CryptoKey, wrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesCmacParams | AesGcmParams | AesCfbParams): PromiseLike<ArrayBuffer>;
|
||||||
}
|
}
|
||||||
|
|
||||||
declare var SubtleCrypto: {
|
declare var SubtleCrypto: {
|
||||||
@ -3102,7 +3138,9 @@ interface TextDecoderCommon {
|
|||||||
readonly ignoreBOM: boolean;
|
readonly ignoreBOM: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface TextDecoderStream extends TextDecoderCommon, GenericTransformStream {
|
interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
|
||||||
|
readonly readable: ReadableStream<string>;
|
||||||
|
readonly writable: WritableStream<BufferSource>;
|
||||||
}
|
}
|
||||||
|
|
||||||
declare var TextDecoderStream: {
|
declare var TextDecoderStream: {
|
||||||
@ -3134,7 +3172,9 @@ interface TextEncoderCommon {
|
|||||||
readonly encoding: string;
|
readonly encoding: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface TextEncoderStream extends TextEncoderCommon, GenericTransformStream {
|
interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
|
||||||
|
readonly readable: ReadableStream<Uint8Array>;
|
||||||
|
readonly writable: WritableStream<string>;
|
||||||
}
|
}
|
||||||
|
|
||||||
declare var TextEncoderStream: {
|
declare var TextEncoderStream: {
|
||||||
@ -3222,6 +3262,7 @@ interface URL {
|
|||||||
host: string;
|
host: string;
|
||||||
hostname: string;
|
hostname: string;
|
||||||
href: string;
|
href: string;
|
||||||
|
toString(): string;
|
||||||
readonly origin: string;
|
readonly origin: string;
|
||||||
password: string;
|
password: string;
|
||||||
pathname: string;
|
pathname: string;
|
||||||
@ -3266,12 +3307,17 @@ interface URLSearchParams {
|
|||||||
*/
|
*/
|
||||||
set(name: string, value: string): void;
|
set(name: string, value: string): void;
|
||||||
sort(): void;
|
sort(): void;
|
||||||
|
/**
|
||||||
|
* Returns a string containing a query string suitable for use in a URL. Does not include the question mark.
|
||||||
|
*/
|
||||||
|
toString(): string;
|
||||||
forEach(callbackfn: (value: string, key: string, parent: URLSearchParams) => void, thisArg?: any): void;
|
forEach(callbackfn: (value: string, key: string, parent: URLSearchParams) => void, thisArg?: any): void;
|
||||||
}
|
}
|
||||||
|
|
||||||
declare var URLSearchParams: {
|
declare var URLSearchParams: {
|
||||||
prototype: URLSearchParams;
|
prototype: URLSearchParams;
|
||||||
new(init?: string[][] | Record<string, string> | string | URLSearchParams): URLSearchParams;
|
new(init?: string[][] | Record<string, string> | string | URLSearchParams): URLSearchParams;
|
||||||
|
toString(): string;
|
||||||
};
|
};
|
||||||
|
|
||||||
interface WEBGL_color_buffer_float {
|
interface WEBGL_color_buffer_float {
|
||||||
@ -3385,7 +3431,7 @@ interface WEBGL_lose_context {
|
|||||||
restoreContext(): void;
|
restoreContext(): void;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface WebGL2RenderingContext extends WebGLRenderingContextBase, WebGL2RenderingContextBase, WebGL2RenderingContextOverloads {
|
interface WebGL2RenderingContext extends WebGL2RenderingContextBase, WebGL2RenderingContextOverloads, WebGLRenderingContextBase {
|
||||||
}
|
}
|
||||||
|
|
||||||
declare var WebGL2RenderingContext: {
|
declare var WebGL2RenderingContext: {
|
||||||
@ -5277,17 +5323,45 @@ interface WebSocketEventMap {
|
|||||||
|
|
||||||
/** Provides the API for creating and managing a WebSocket connection to a server, as well as for sending and receiving data on the connection. */
|
/** Provides the API for creating and managing a WebSocket connection to a server, as well as for sending and receiving data on the connection. */
|
||||||
interface WebSocket extends EventTarget {
|
interface WebSocket extends EventTarget {
|
||||||
|
/**
|
||||||
|
* Returns a string that indicates how binary data from the WebSocket object is exposed to scripts:
|
||||||
|
*
|
||||||
|
* Can be set, to change how binary data is returned. The default is "blob".
|
||||||
|
*/
|
||||||
binaryType: BinaryType;
|
binaryType: BinaryType;
|
||||||
|
/**
|
||||||
|
* Returns the number of bytes of application data (UTF-8 text and binary data) that have been queued using send() but not yet been transmitted to the network.
|
||||||
|
*
|
||||||
|
* If the WebSocket connection is closed, this attribute's value will only increase with each call to the send() method. (The number does not reset to zero once the connection closes.)
|
||||||
|
*/
|
||||||
readonly bufferedAmount: number;
|
readonly bufferedAmount: number;
|
||||||
|
/**
|
||||||
|
* Returns the extensions selected by the server, if any.
|
||||||
|
*/
|
||||||
readonly extensions: string;
|
readonly extensions: string;
|
||||||
onclose: ((this: WebSocket, ev: CloseEvent) => any) | null;
|
onclose: ((this: WebSocket, ev: CloseEvent) => any) | null;
|
||||||
onerror: ((this: WebSocket, ev: Event) => any) | null;
|
onerror: ((this: WebSocket, ev: Event) => any) | null;
|
||||||
onmessage: ((this: WebSocket, ev: MessageEvent) => any) | null;
|
onmessage: ((this: WebSocket, ev: MessageEvent) => any) | null;
|
||||||
onopen: ((this: WebSocket, ev: Event) => any) | null;
|
onopen: ((this: WebSocket, ev: Event) => any) | null;
|
||||||
|
/**
|
||||||
|
* Returns the subprotocol selected by the server, if any. It can be used in conjunction with the array form of the constructor's second argument to perform subprotocol negotiation.
|
||||||
|
*/
|
||||||
readonly protocol: string;
|
readonly protocol: string;
|
||||||
|
/**
|
||||||
|
* Returns the state of the WebSocket object's connection. It can have the values described below.
|
||||||
|
*/
|
||||||
readonly readyState: number;
|
readonly readyState: number;
|
||||||
|
/**
|
||||||
|
* Returns the URL that was used to establish the WebSocket connection.
|
||||||
|
*/
|
||||||
readonly url: string;
|
readonly url: string;
|
||||||
|
/**
|
||||||
|
* Closes the WebSocket connection, optionally using code as the the WebSocket connection close code and reason as the the WebSocket connection close reason.
|
||||||
|
*/
|
||||||
close(code?: number, reason?: string): void;
|
close(code?: number, reason?: string): void;
|
||||||
|
/**
|
||||||
|
* Transmits data using the WebSocket connection. data can be a string, a Blob, an ArrayBuffer, or an ArrayBufferView.
|
||||||
|
*/
|
||||||
send(data: string | ArrayBufferLike | Blob | ArrayBufferView): void;
|
send(data: string | ArrayBufferLike | Blob | ArrayBufferView): void;
|
||||||
readonly CLOSED: number;
|
readonly CLOSED: number;
|
||||||
readonly CLOSING: number;
|
readonly CLOSING: number;
|
||||||
@ -5308,11 +5382,6 @@ declare var WebSocket: {
|
|||||||
readonly OPEN: number;
|
readonly OPEN: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
interface WindowBase64 {
|
|
||||||
atob(encodedString: string): string;
|
|
||||||
btoa(rawString: string): string;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** This ServiceWorker API interface represents the scope of a service worker client that is a document in a browser context, controlled by an active worker. The service worker client independently selects and uses a service worker for its own loading and sub-resources. */
|
/** This ServiceWorker API interface represents the scope of a service worker client that is a document in a browser context, controlled by an active worker. The service worker client independently selects and uses a service worker for its own loading and sub-resources. */
|
||||||
interface WindowClient extends Client {
|
interface WindowClient extends Client {
|
||||||
readonly ancestorOrigins: ReadonlyArray<string>;
|
readonly ancestorOrigins: ReadonlyArray<string>;
|
||||||
@ -5327,37 +5396,42 @@ declare var WindowClient: {
|
|||||||
new(): WindowClient;
|
new(): WindowClient;
|
||||||
};
|
};
|
||||||
|
|
||||||
interface WindowConsole {
|
|
||||||
readonly console: Console;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface WindowOrWorkerGlobalScope {
|
interface WindowOrWorkerGlobalScope {
|
||||||
readonly caches: CacheStorage;
|
readonly caches: CacheStorage;
|
||||||
readonly crypto: Crypto;
|
readonly crypto: Crypto;
|
||||||
readonly indexedDB: IDBFactory;
|
readonly indexedDB: IDBFactory;
|
||||||
|
readonly isSecureContext: boolean;
|
||||||
readonly origin: string;
|
readonly origin: string;
|
||||||
readonly performance: Performance;
|
readonly performance: Performance;
|
||||||
atob(data: string): string;
|
atob(data: string): string;
|
||||||
btoa(data: string): string;
|
btoa(data: string): string;
|
||||||
clearInterval(handle?: number): void;
|
clearInterval(handle?: number): void;
|
||||||
clearTimeout(handle?: number): void;
|
clearTimeout(handle?: number): void;
|
||||||
createImageBitmap(image: ImageBitmapSource): Promise<ImageBitmap>;
|
createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
||||||
createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number): Promise<ImageBitmap>;
|
createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
||||||
fetch(input: RequestInfo, init?: RequestInit): Promise<Response>;
|
fetch(input: RequestInfo, init?: RequestInit): Promise<Response>;
|
||||||
queueMicrotask(callback: Function): void;
|
queueMicrotask(callback: VoidFunction): void;
|
||||||
setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
||||||
setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface WorkerEventMap extends AbstractWorkerEventMap {
|
interface WorkerEventMap extends AbstractWorkerEventMap {
|
||||||
"message": MessageEvent;
|
"message": MessageEvent;
|
||||||
|
"messageerror": MessageEvent;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** This Web Workers API interface represents a background task that can be easily created and can send messages back to its creator. Creating a worker is as simple as calling the Worker() constructor and specifying a script to be run in the worker thread. */
|
/** This Web Workers API interface represents a background task that can be easily created and can send messages back to its creator. Creating a worker is as simple as calling the Worker() constructor and specifying a script to be run in the worker thread. */
|
||||||
interface Worker extends EventTarget, AbstractWorker {
|
interface Worker extends EventTarget, AbstractWorker {
|
||||||
onmessage: ((this: Worker, ev: MessageEvent) => any) | null;
|
onmessage: ((this: Worker, ev: MessageEvent) => any) | null;
|
||||||
|
onmessageerror: ((this: Worker, ev: MessageEvent) => any) | null;
|
||||||
|
/**
|
||||||
|
* Clones message and transmits it to worker's global environment. transfer can be passed as a list of objects that are to be transferred rather than cloned.
|
||||||
|
*/
|
||||||
postMessage(message: any, transfer: Transferable[]): void;
|
postMessage(message: any, transfer: Transferable[]): void;
|
||||||
postMessage(message: any, options?: PostMessageOptions): void;
|
postMessage(message: any, options?: PostMessageOptions): void;
|
||||||
|
/**
|
||||||
|
* Aborts worker's associated global environment.
|
||||||
|
*/
|
||||||
terminate(): void;
|
terminate(): void;
|
||||||
addEventListener<K extends keyof WorkerEventMap>(type: K, listener: (this: Worker, ev: WorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
addEventListener<K extends keyof WorkerEventMap>(type: K, listener: (this: Worker, ev: WorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
||||||
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
||||||
@ -5372,17 +5446,34 @@ declare var Worker: {
|
|||||||
|
|
||||||
interface WorkerGlobalScopeEventMap {
|
interface WorkerGlobalScopeEventMap {
|
||||||
"error": ErrorEvent;
|
"error": ErrorEvent;
|
||||||
|
"languagechange": Event;
|
||||||
|
"offline": Event;
|
||||||
|
"online": Event;
|
||||||
|
"rejectionhandled": PromiseRejectionEvent;
|
||||||
|
"unhandledrejection": PromiseRejectionEvent;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** This Web Workers API interface is an interface representing the scope of any worker. Workers have no browsing context; this scope contains the information usually conveyed by Window objects — in this case event handlers, the console or the associated WorkerNavigator object. Each WorkerGlobalScope has its own event loop. */
|
/** This Web Workers API interface is an interface representing the scope of any worker. Workers have no browsing context; this scope contains the information usually conveyed by Window objects — in this case event handlers, the console or the associated WorkerNavigator object. Each WorkerGlobalScope has its own event loop. */
|
||||||
interface WorkerGlobalScope extends EventTarget, WorkerUtils, WindowConsole, WindowOrWorkerGlobalScope {
|
interface WorkerGlobalScope extends EventTarget, WindowOrWorkerGlobalScope {
|
||||||
readonly caches: CacheStorage;
|
/**
|
||||||
readonly isSecureContext: boolean;
|
* Returns workerGlobal's WorkerLocation object.
|
||||||
|
*/
|
||||||
readonly location: WorkerLocation;
|
readonly location: WorkerLocation;
|
||||||
|
readonly navigator: WorkerNavigator;
|
||||||
onerror: ((this: WorkerGlobalScope, ev: ErrorEvent) => any) | null;
|
onerror: ((this: WorkerGlobalScope, ev: ErrorEvent) => any) | null;
|
||||||
readonly performance: Performance;
|
onlanguagechange: ((this: WorkerGlobalScope, ev: Event) => any) | null;
|
||||||
|
onoffline: ((this: WorkerGlobalScope, ev: Event) => any) | null;
|
||||||
|
ononline: ((this: WorkerGlobalScope, ev: Event) => any) | null;
|
||||||
|
onrejectionhandled: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
|
||||||
|
onunhandledrejection: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
|
||||||
|
/**
|
||||||
|
* Returns workerGlobal.
|
||||||
|
*/
|
||||||
readonly self: WorkerGlobalScope & typeof globalThis;
|
readonly self: WorkerGlobalScope & typeof globalThis;
|
||||||
msWriteProfilerMark(profilerMarkName: string): void;
|
/**
|
||||||
|
* Fetches each URL in urls, executes them one-by-one in the order they are passed, and then returns (or throws if something went amiss).
|
||||||
|
*/
|
||||||
|
importScripts(...urls: string[]): void;
|
||||||
addEventListener<K extends keyof WorkerGlobalScopeEventMap>(type: K, listener: (this: WorkerGlobalScope, ev: WorkerGlobalScopeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
addEventListener<K extends keyof WorkerGlobalScopeEventMap>(type: K, listener: (this: WorkerGlobalScope, ev: WorkerGlobalScopeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
||||||
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
||||||
removeEventListener<K extends keyof WorkerGlobalScopeEventMap>(type: K, listener: (this: WorkerGlobalScope, ev: WorkerGlobalScopeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
removeEventListener<K extends keyof WorkerGlobalScopeEventMap>(type: K, listener: (this: WorkerGlobalScope, ev: WorkerGlobalScopeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
||||||
@ -5400,12 +5491,12 @@ interface WorkerLocation {
|
|||||||
readonly host: string;
|
readonly host: string;
|
||||||
readonly hostname: string;
|
readonly hostname: string;
|
||||||
readonly href: string;
|
readonly href: string;
|
||||||
|
toString(): string;
|
||||||
readonly origin: string;
|
readonly origin: string;
|
||||||
readonly pathname: string;
|
readonly pathname: string;
|
||||||
readonly port: string;
|
readonly port: string;
|
||||||
readonly protocol: string;
|
readonly protocol: string;
|
||||||
readonly search: string;
|
readonly search: string;
|
||||||
toString(): string;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
declare var WorkerLocation: {
|
declare var WorkerLocation: {
|
||||||
@ -5414,7 +5505,7 @@ declare var WorkerLocation: {
|
|||||||
};
|
};
|
||||||
|
|
||||||
/** A subset of the Navigator interface allowed to be accessed from a Worker. Such an object is initialized for each worker and is available via the WorkerGlobalScope.navigator property obtained by calling window.self.navigator. */
|
/** A subset of the Navigator interface allowed to be accessed from a Worker. Such an object is initialized for each worker and is available via the WorkerGlobalScope.navigator property obtained by calling window.self.navigator. */
|
||||||
interface WorkerNavigator extends NavigatorID, NavigatorOnLine, NavigatorBeacon, NavigatorConcurrentHardware, NavigatorStorage {
|
interface WorkerNavigator extends NavigatorConcurrentHardware, NavigatorID, NavigatorLanguage, NavigatorOnLine, NavigatorStorage {
|
||||||
readonly permissions: Permissions;
|
readonly permissions: Permissions;
|
||||||
readonly serviceWorker: ServiceWorkerContainer;
|
readonly serviceWorker: ServiceWorkerContainer;
|
||||||
}
|
}
|
||||||
@ -5424,13 +5515,6 @@ declare var WorkerNavigator: {
|
|||||||
new(): WorkerNavigator;
|
new(): WorkerNavigator;
|
||||||
};
|
};
|
||||||
|
|
||||||
interface WorkerUtils extends WindowBase64 {
|
|
||||||
readonly indexedDB: IDBFactory;
|
|
||||||
readonly msIndexedDB: IDBFactory;
|
|
||||||
readonly navigator: WorkerNavigator;
|
|
||||||
importScripts(...urls: string[]): void;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** This Streams API interface provides a standard abstraction for writing streaming data to a destination, known as a sink. This object comes with built-in backpressure and queuing. */
|
/** This Streams API interface provides a standard abstraction for writing streaming data to a destination, known as a sink. This object comes with built-in backpressure and queuing. */
|
||||||
interface WritableStream<W = any> {
|
interface WritableStream<W = any> {
|
||||||
readonly locked: boolean;
|
readonly locked: boolean;
|
||||||
@ -5612,6 +5696,33 @@ declare var XMLHttpRequestUpload: {
|
|||||||
|
|
||||||
declare type EventListenerOrEventListenerObject = EventListener | EventListenerObject;
|
declare type EventListenerOrEventListenerObject = EventListener | EventListenerObject;
|
||||||
|
|
||||||
|
interface Console {
|
||||||
|
memory: any;
|
||||||
|
assert(condition?: boolean, ...data: any[]): void;
|
||||||
|
clear(): void;
|
||||||
|
count(label?: string): void;
|
||||||
|
countReset(label?: string): void;
|
||||||
|
debug(...data: any[]): void;
|
||||||
|
dir(item?: any, options?: any): void;
|
||||||
|
dirxml(...data: any[]): void;
|
||||||
|
error(...data: any[]): void;
|
||||||
|
exception(message?: string, ...optionalParams: any[]): void;
|
||||||
|
group(...data: any[]): void;
|
||||||
|
groupCollapsed(...data: any[]): void;
|
||||||
|
groupEnd(): void;
|
||||||
|
info(...data: any[]): void;
|
||||||
|
log(...data: any[]): void;
|
||||||
|
table(tabularData?: any, properties?: string[]): void;
|
||||||
|
time(label?: string): void;
|
||||||
|
timeEnd(label?: string): void;
|
||||||
|
timeLog(label?: string, ...data: any[]): void;
|
||||||
|
timeStamp(label?: string): void;
|
||||||
|
trace(...data: any[]): void;
|
||||||
|
warn(...data: any[]): void;
|
||||||
|
}
|
||||||
|
|
||||||
|
declare var console: Console;
|
||||||
|
|
||||||
declare namespace WebAssembly {
|
declare namespace WebAssembly {
|
||||||
interface Global {
|
interface Global {
|
||||||
value: any;
|
value: any;
|
||||||
@ -5620,16 +5731,16 @@ declare namespace WebAssembly {
|
|||||||
|
|
||||||
var Global: {
|
var Global: {
|
||||||
prototype: Global;
|
prototype: Global;
|
||||||
new(descriptor: GlobalDescriptor, value?: any): Global;
|
new(descriptor: GlobalDescriptor, v?: any): Global;
|
||||||
};
|
};
|
||||||
|
|
||||||
interface Instance {
|
interface Instance {
|
||||||
readonly exports: any;
|
readonly exports: Exports;
|
||||||
}
|
}
|
||||||
|
|
||||||
var Instance: {
|
var Instance: {
|
||||||
prototype: Instance;
|
prototype: Instance;
|
||||||
new(module: Module, importObject?: any): Instance;
|
new(module: Module, importObject?: Imports): Instance;
|
||||||
};
|
};
|
||||||
|
|
||||||
interface Memory {
|
interface Memory {
|
||||||
@ -5648,9 +5759,9 @@ declare namespace WebAssembly {
|
|||||||
var Module: {
|
var Module: {
|
||||||
prototype: Module;
|
prototype: Module;
|
||||||
new(bytes: BufferSource): Module;
|
new(bytes: BufferSource): Module;
|
||||||
customSections(module: Module, sectionName: string): ArrayBuffer[];
|
customSections(moduleObject: Module, sectionName: string): ArrayBuffer[];
|
||||||
exports(module: Module): ModuleExportDescriptor[];
|
exports(moduleObject: Module): ModuleExportDescriptor[];
|
||||||
imports(module: Module): ModuleImportDescriptor[];
|
imports(moduleObject: Module): ModuleImportDescriptor[];
|
||||||
};
|
};
|
||||||
|
|
||||||
interface Table {
|
interface Table {
|
||||||
@ -5667,7 +5778,7 @@ declare namespace WebAssembly {
|
|||||||
|
|
||||||
interface GlobalDescriptor {
|
interface GlobalDescriptor {
|
||||||
mutable?: boolean;
|
mutable?: boolean;
|
||||||
value: string;
|
value: ValueType;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface MemoryDescriptor {
|
interface MemoryDescriptor {
|
||||||
@ -5697,22 +5808,30 @@ declare namespace WebAssembly {
|
|||||||
module: Module;
|
module: Module;
|
||||||
}
|
}
|
||||||
|
|
||||||
type ImportExportKind = "function" | "table" | "memory" | "global";
|
type ImportExportKind = "function" | "global" | "memory" | "table";
|
||||||
type TableKind = "anyfunc";
|
type TableKind = "anyfunc";
|
||||||
|
type ValueType = "f32" | "f64" | "i32" | "i64";
|
||||||
|
type ExportValue = Function | Global | Memory | Table;
|
||||||
|
type Exports = Record<string, ExportValue>;
|
||||||
|
type ImportValue = ExportValue | number;
|
||||||
|
type ModuleImports = Record<string, ImportValue>;
|
||||||
|
type Imports = Record<string, ModuleImports>;
|
||||||
function compile(bytes: BufferSource): Promise<Module>;
|
function compile(bytes: BufferSource): Promise<Module>;
|
||||||
function instantiate(bytes: BufferSource, importObject?: any): Promise<WebAssemblyInstantiatedSource>;
|
function compileStreaming(source: Response | Promise<Response>): Promise<Module>;
|
||||||
function instantiate(moduleObject: Module, importObject?: any): Promise<Instance>;
|
function instantiate(bytes: BufferSource, importObject?: Imports): Promise<WebAssemblyInstantiatedSource>;
|
||||||
|
function instantiate(moduleObject: Module, importObject?: Imports): Promise<Instance>;
|
||||||
|
function instantiateStreaming(response: Response | PromiseLike<Response>, importObject?: Imports): Promise<WebAssemblyInstantiatedSource>;
|
||||||
function validate(bytes: BufferSource): boolean;
|
function validate(bytes: BufferSource): boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface EventHandlerNonNull {
|
|
||||||
(event: Event): any;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface FrameRequestCallback {
|
interface FrameRequestCallback {
|
||||||
(time: number): void;
|
(time: number): void;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
interface OnErrorEventHandlerNonNull {
|
||||||
|
(event: Event | string, source?: string, lineno?: number, colno?: number, error?: Error): any;
|
||||||
|
}
|
||||||
|
|
||||||
interface PerformanceObserverCallback {
|
interface PerformanceObserverCallback {
|
||||||
(entries: PerformanceObserverEntryList, observer: PerformanceObserver): void;
|
(entries: PerformanceObserverEntryList, observer: PerformanceObserver): void;
|
||||||
}
|
}
|
||||||
@ -5741,6 +5860,10 @@ interface TransformStreamDefaultControllerTransformCallback<I, O> {
|
|||||||
(chunk: I, controller: TransformStreamDefaultController<O>): void | PromiseLike<void>;
|
(chunk: I, controller: TransformStreamDefaultController<O>): void | PromiseLike<void>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
interface VoidFunction {
|
||||||
|
(): void;
|
||||||
|
}
|
||||||
|
|
||||||
interface WritableStreamDefaultControllerCloseCallback {
|
interface WritableStreamDefaultControllerCloseCallback {
|
||||||
(): void | PromiseLike<void>;
|
(): void | PromiseLike<void>;
|
||||||
}
|
}
|
||||||
@ -5757,45 +5880,62 @@ interface WritableStreamErrorCallback {
|
|||||||
(reason: any): void | PromiseLike<void>;
|
(reason: any): void | PromiseLike<void>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns dedicatedWorkerGlobal's name, i.e. the value given to the Worker constructor. Primarily useful for debugging.
|
||||||
|
*/
|
||||||
|
declare var name: string;
|
||||||
declare var onmessage: ((this: DedicatedWorkerGlobalScope, ev: MessageEvent) => any) | null;
|
declare var onmessage: ((this: DedicatedWorkerGlobalScope, ev: MessageEvent) => any) | null;
|
||||||
|
declare var onmessageerror: ((this: DedicatedWorkerGlobalScope, ev: MessageEvent) => any) | null;
|
||||||
|
/**
|
||||||
|
* Aborts dedicatedWorkerGlobal.
|
||||||
|
*/
|
||||||
declare function close(): void;
|
declare function close(): void;
|
||||||
|
/**
|
||||||
|
* Clones message and transmits it to the Worker object associated with dedicatedWorkerGlobal. transfer can be passed as a list of objects that are to be transferred rather than cloned.
|
||||||
|
*/
|
||||||
declare function postMessage(message: any, transfer: Transferable[]): void;
|
declare function postMessage(message: any, transfer: Transferable[]): void;
|
||||||
declare function postMessage(message: any, options?: PostMessageOptions): void;
|
declare function postMessage(message: any, options?: PostMessageOptions): void;
|
||||||
/**
|
/**
|
||||||
* Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.
|
* Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.
|
||||||
*/
|
*/
|
||||||
declare function dispatchEvent(event: Event): boolean;
|
declare function dispatchEvent(event: Event): boolean;
|
||||||
declare var caches: CacheStorage;
|
/**
|
||||||
declare var isSecureContext: boolean;
|
* Returns workerGlobal's WorkerLocation object.
|
||||||
|
*/
|
||||||
declare var location: WorkerLocation;
|
declare var location: WorkerLocation;
|
||||||
|
declare var navigator: WorkerNavigator;
|
||||||
declare var onerror: ((this: DedicatedWorkerGlobalScope, ev: ErrorEvent) => any) | null;
|
declare var onerror: ((this: DedicatedWorkerGlobalScope, ev: ErrorEvent) => any) | null;
|
||||||
declare var performance: Performance;
|
declare var onlanguagechange: ((this: DedicatedWorkerGlobalScope, ev: Event) => any) | null;
|
||||||
|
declare var onoffline: ((this: DedicatedWorkerGlobalScope, ev: Event) => any) | null;
|
||||||
|
declare var ononline: ((this: DedicatedWorkerGlobalScope, ev: Event) => any) | null;
|
||||||
|
declare var onrejectionhandled: ((this: DedicatedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
|
||||||
|
declare var onunhandledrejection: ((this: DedicatedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
|
||||||
|
/**
|
||||||
|
* Returns workerGlobal.
|
||||||
|
*/
|
||||||
declare var self: WorkerGlobalScope & typeof globalThis;
|
declare var self: WorkerGlobalScope & typeof globalThis;
|
||||||
declare function msWriteProfilerMark(profilerMarkName: string): void;
|
/**
|
||||||
|
* Fetches each URL in urls, executes them one-by-one in the order they are passed, and then returns (or throws if something went amiss).
|
||||||
|
*/
|
||||||
|
declare function importScripts(...urls: string[]): void;
|
||||||
/**
|
/**
|
||||||
* Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.
|
* Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.
|
||||||
*/
|
*/
|
||||||
declare function dispatchEvent(event: Event): boolean;
|
declare function dispatchEvent(event: Event): boolean;
|
||||||
declare var indexedDB: IDBFactory;
|
|
||||||
declare var msIndexedDB: IDBFactory;
|
|
||||||
declare var navigator: WorkerNavigator;
|
|
||||||
declare function importScripts(...urls: string[]): void;
|
|
||||||
declare function atob(encodedString: string): string;
|
|
||||||
declare function btoa(rawString: string): string;
|
|
||||||
declare var console: Console;
|
|
||||||
declare var caches: CacheStorage;
|
declare var caches: CacheStorage;
|
||||||
declare var crypto: Crypto;
|
declare var crypto: Crypto;
|
||||||
declare var indexedDB: IDBFactory;
|
declare var indexedDB: IDBFactory;
|
||||||
|
declare var isSecureContext: boolean;
|
||||||
declare var origin: string;
|
declare var origin: string;
|
||||||
declare var performance: Performance;
|
declare var performance: Performance;
|
||||||
declare function atob(data: string): string;
|
declare function atob(data: string): string;
|
||||||
declare function btoa(data: string): string;
|
declare function btoa(data: string): string;
|
||||||
declare function clearInterval(handle?: number): void;
|
declare function clearInterval(handle?: number): void;
|
||||||
declare function clearTimeout(handle?: number): void;
|
declare function clearTimeout(handle?: number): void;
|
||||||
declare function createImageBitmap(image: ImageBitmapSource): Promise<ImageBitmap>;
|
declare function createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
||||||
declare function createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number): Promise<ImageBitmap>;
|
declare function createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
||||||
declare function fetch(input: RequestInfo, init?: RequestInit): Promise<Response>;
|
declare function fetch(input: RequestInfo, init?: RequestInit): Promise<Response>;
|
||||||
declare function queueMicrotask(callback: Function): void;
|
declare function queueMicrotask(callback: VoidFunction): void;
|
||||||
declare function setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
declare function setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
||||||
declare function setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
declare function setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
||||||
declare function cancelAnimationFrame(handle: number): void;
|
declare function cancelAnimationFrame(handle: number): void;
|
||||||
@ -5813,9 +5953,11 @@ type CanvasImageSource = ImageBitmap | OffscreenCanvas;
|
|||||||
type OffscreenRenderingContext = OffscreenCanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext;
|
type OffscreenRenderingContext = OffscreenCanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext;
|
||||||
type MessageEventSource = MessagePort | ServiceWorker;
|
type MessageEventSource = MessagePort | ServiceWorker;
|
||||||
type ImageBitmapSource = CanvasImageSource | Blob | ImageData;
|
type ImageBitmapSource = CanvasImageSource | Blob | ImageData;
|
||||||
|
type OnErrorEventHandler = OnErrorEventHandlerNonNull | null;
|
||||||
type TimerHandler = string | Function;
|
type TimerHandler = string | Function;
|
||||||
type PerformanceEntryList = PerformanceEntry[];
|
type PerformanceEntryList = PerformanceEntry[];
|
||||||
type PushMessageDataInit = BufferSource | string;
|
type PushMessageDataInit = BufferSource | string;
|
||||||
|
type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;
|
||||||
type VibratePattern = number | number[];
|
type VibratePattern = number | number[];
|
||||||
type AlgorithmIdentifier = string | Algorithm;
|
type AlgorithmIdentifier = string | Algorithm;
|
||||||
type HashAlgorithmIdentifier = AlgorithmIdentifier;
|
type HashAlgorithmIdentifier = AlgorithmIdentifier;
|
||||||
@ -5841,41 +5983,45 @@ type BufferSource = ArrayBufferView | ArrayBuffer;
|
|||||||
type DOMTimeStamp = number;
|
type DOMTimeStamp = number;
|
||||||
type FormDataEntryValue = File | string;
|
type FormDataEntryValue = File | string;
|
||||||
type IDBValidKey = number | string | Date | BufferSource | IDBArrayKey;
|
type IDBValidKey = number | string | Date | BufferSource | IDBArrayKey;
|
||||||
type Transferable = ArrayBuffer | MessagePort | ImageBitmap;
|
type Transferable = ArrayBuffer | MessagePort | ImageBitmap | OffscreenCanvas;
|
||||||
type BinaryType = "blob" | "arraybuffer";
|
type BinaryType = "arraybuffer" | "blob";
|
||||||
type CanvasDirection = "ltr" | "rtl" | "inherit";
|
type CanvasDirection = "inherit" | "ltr" | "rtl";
|
||||||
type CanvasFillRule = "nonzero" | "evenodd";
|
type CanvasFillRule = "evenodd" | "nonzero";
|
||||||
type CanvasLineCap = "butt" | "round" | "square";
|
type CanvasLineCap = "butt" | "round" | "square";
|
||||||
type CanvasLineJoin = "round" | "bevel" | "miter";
|
type CanvasLineJoin = "bevel" | "miter" | "round";
|
||||||
type CanvasTextAlign = "start" | "end" | "left" | "right" | "center";
|
type CanvasTextAlign = "center" | "end" | "left" | "right" | "start";
|
||||||
type CanvasTextBaseline = "top" | "hanging" | "middle" | "alphabetic" | "ideographic" | "bottom";
|
type CanvasTextBaseline = "alphabetic" | "bottom" | "hanging" | "ideographic" | "middle" | "top";
|
||||||
type ClientTypes = "window" | "worker" | "sharedworker" | "all";
|
type ClientTypes = "all" | "sharedworker" | "window" | "worker";
|
||||||
type EndingType = "transparent" | "native";
|
type ColorSpaceConversion = "default" | "none";
|
||||||
type FrameType = "auxiliary" | "top-level" | "nested" | "none";
|
type EndingType = "native" | "transparent";
|
||||||
|
type FrameType = "auxiliary" | "nested" | "none" | "top-level";
|
||||||
type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
|
type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
|
||||||
type IDBRequestReadyState = "pending" | "done";
|
type IDBRequestReadyState = "done" | "pending";
|
||||||
type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
|
type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
|
||||||
type ImageSmoothingQuality = "low" | "medium" | "high";
|
type ImageOrientation = "flipY" | "none";
|
||||||
type KeyFormat = "raw" | "spki" | "pkcs8" | "jwk";
|
type ImageSmoothingQuality = "high" | "low" | "medium";
|
||||||
type KeyType = "public" | "private" | "secret";
|
type KeyFormat = "jwk" | "pkcs8" | "raw" | "spki";
|
||||||
type KeyUsage = "encrypt" | "decrypt" | "sign" | "verify" | "deriveKey" | "deriveBits" | "wrapKey" | "unwrapKey";
|
type KeyType = "private" | "public" | "secret";
|
||||||
|
type KeyUsage = "decrypt" | "deriveBits" | "deriveKey" | "encrypt" | "sign" | "unwrapKey" | "verify" | "wrapKey";
|
||||||
type NotificationDirection = "auto" | "ltr" | "rtl";
|
type NotificationDirection = "auto" | "ltr" | "rtl";
|
||||||
type NotificationPermission = "default" | "denied" | "granted";
|
type NotificationPermission = "default" | "denied" | "granted";
|
||||||
type OffscreenRenderingContextId = "2d" | "bitmaprenderer" | "webgl" | "webgl2";
|
type OffscreenRenderingContextId = "2d" | "bitmaprenderer" | "webgl" | "webgl2";
|
||||||
type PermissionName = "geolocation" | "notifications" | "push" | "midi" | "camera" | "microphone" | "speaker" | "device-info" | "background-sync" | "bluetooth" | "persistent-storage" | "ambient-light-sensor" | "accelerometer" | "gyroscope" | "magnetometer" | "clipboard";
|
type PermissionName = "accelerometer" | "ambient-light-sensor" | "background-sync" | "bluetooth" | "camera" | "clipboard" | "device-info" | "geolocation" | "gyroscope" | "magnetometer" | "microphone" | "midi" | "notifications" | "persistent-storage" | "push" | "speaker";
|
||||||
type PermissionState = "granted" | "denied" | "prompt";
|
type PermissionState = "denied" | "granted" | "prompt";
|
||||||
type PushEncryptionKeyName = "p256dh" | "auth";
|
type PremultiplyAlpha = "default" | "none" | "premultiply";
|
||||||
|
type PushEncryptionKeyName = "auth" | "p256dh";
|
||||||
type PushPermissionState = "denied" | "granted" | "prompt";
|
type PushPermissionState = "denied" | "granted" | "prompt";
|
||||||
type ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "same-origin" | "origin" | "strict-origin" | "origin-when-cross-origin" | "strict-origin-when-cross-origin" | "unsafe-url";
|
type ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url";
|
||||||
type RequestCache = "default" | "no-store" | "reload" | "no-cache" | "force-cache" | "only-if-cached";
|
type RequestCache = "default" | "force-cache" | "no-cache" | "no-store" | "only-if-cached" | "reload";
|
||||||
type RequestCredentials = "omit" | "same-origin" | "include";
|
type RequestCredentials = "include" | "omit" | "same-origin";
|
||||||
type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "image" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt";
|
type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "image" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt";
|
||||||
type RequestMode = "navigate" | "same-origin" | "no-cors" | "cors";
|
type RequestMode = "cors" | "navigate" | "no-cors" | "same-origin";
|
||||||
type RequestRedirect = "follow" | "error" | "manual";
|
type RequestRedirect = "error" | "follow" | "manual";
|
||||||
|
type ResizeQuality = "high" | "low" | "medium" | "pixelated";
|
||||||
type ResponseType = "basic" | "cors" | "default" | "error" | "opaque" | "opaqueredirect";
|
type ResponseType = "basic" | "cors" | "default" | "error" | "opaque" | "opaqueredirect";
|
||||||
type ServiceWorkerState = "installing" | "installed" | "activating" | "activated" | "redundant";
|
type ServiceWorkerState = "activated" | "activating" | "installed" | "installing" | "parsed" | "redundant";
|
||||||
type ServiceWorkerUpdateViaCache = "imports" | "all" | "none";
|
type ServiceWorkerUpdateViaCache = "all" | "imports" | "none";
|
||||||
type VisibilityState = "hidden" | "visible" | "prerender";
|
type VisibilityState = "hidden" | "visible";
|
||||||
type WebGLPowerPreference = "default" | "low-power" | "high-performance";
|
type WebGLPowerPreference = "default" | "high-performance" | "low-power";
|
||||||
type WorkerType = "classic" | "module";
|
type WorkerType = "classic" | "module";
|
||||||
type XMLHttpRequestResponseType = "" | "arraybuffer" | "blob" | "document" | "json" | "text";
|
type XMLHttpRequestResponseType = "" | "arraybuffer" | "blob" | "document" | "json" | "text";
|
||||||
|
480
node_modules/typescript/lib/pl/diagnosticMessages.generated.json
generated
vendored
480
node_modules/typescript/lib/pl/diagnosticMessages.generated.json
generated
vendored
File diff suppressed because it is too large
Load Diff
174
node_modules/typescript/lib/protocol.d.ts
generated
vendored
174
node_modules/typescript/lib/protocol.d.ts
generated
vendored
@ -64,7 +64,10 @@ declare namespace ts.server.protocol {
|
|||||||
OrganizeImports = "organizeImports",
|
OrganizeImports = "organizeImports",
|
||||||
GetEditsForFileRename = "getEditsForFileRename",
|
GetEditsForFileRename = "getEditsForFileRename",
|
||||||
ConfigurePlugin = "configurePlugin",
|
ConfigurePlugin = "configurePlugin",
|
||||||
SelectionRange = "selectionRange"
|
SelectionRange = "selectionRange",
|
||||||
|
PrepareCallHierarchy = "prepareCallHierarchy",
|
||||||
|
ProvideCallHierarchyIncomingCalls = "provideCallHierarchyIncomingCalls",
|
||||||
|
ProvideCallHierarchyOutgoingCalls = "provideCallHierarchyOutgoingCalls"
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* A TypeScript Server message
|
* A TypeScript Server message
|
||||||
@ -143,6 +146,16 @@ declare namespace ts.server.protocol {
|
|||||||
* Contains extra information that plugin can include to be passed on
|
* Contains extra information that plugin can include to be passed on
|
||||||
*/
|
*/
|
||||||
metadata?: unknown;
|
metadata?: unknown;
|
||||||
|
/**
|
||||||
|
* Exposes information about the performance of this request-response pair.
|
||||||
|
*/
|
||||||
|
performanceData?: PerformanceData;
|
||||||
|
}
|
||||||
|
interface PerformanceData {
|
||||||
|
/**
|
||||||
|
* Time spent updating the program graph, in milliseconds.
|
||||||
|
*/
|
||||||
|
updateGraphDurationMs?: number;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Arguments for FileRequest messages.
|
* Arguments for FileRequest messages.
|
||||||
@ -467,7 +480,7 @@ declare namespace ts.server.protocol {
|
|||||||
scope: OrganizeImportsScope;
|
scope: OrganizeImportsScope;
|
||||||
}
|
}
|
||||||
interface OrganizeImportsResponse extends Response {
|
interface OrganizeImportsResponse extends Response {
|
||||||
body: ReadonlyArray<FileCodeEdits>;
|
body: readonly FileCodeEdits[];
|
||||||
}
|
}
|
||||||
interface GetEditsForFileRenameRequest extends Request {
|
interface GetEditsForFileRenameRequest extends Request {
|
||||||
command: CommandTypes.GetEditsForFileRename;
|
command: CommandTypes.GetEditsForFileRename;
|
||||||
@ -479,7 +492,7 @@ declare namespace ts.server.protocol {
|
|||||||
readonly newFilePath: string;
|
readonly newFilePath: string;
|
||||||
}
|
}
|
||||||
interface GetEditsForFileRenameResponse extends Response {
|
interface GetEditsForFileRenameResponse extends Response {
|
||||||
body: ReadonlyArray<FileCodeEdits>;
|
body: readonly FileCodeEdits[];
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Request for the available codefixes at a specific position.
|
* Request for the available codefixes at a specific position.
|
||||||
@ -526,7 +539,7 @@ declare namespace ts.server.protocol {
|
|||||||
/**
|
/**
|
||||||
* Errorcodes we want to get the fixes for.
|
* Errorcodes we want to get the fixes for.
|
||||||
*/
|
*/
|
||||||
errorCodes: ReadonlyArray<number>;
|
errorCodes: readonly number[];
|
||||||
}
|
}
|
||||||
interface GetCombinedCodeFixRequestArgs {
|
interface GetCombinedCodeFixRequestArgs {
|
||||||
scope: GetCombinedCodeFixScope;
|
scope: GetCombinedCodeFixScope;
|
||||||
@ -643,7 +656,7 @@ declare namespace ts.server.protocol {
|
|||||||
interface FileSpanWithContext extends FileSpan, TextSpanWithContext {
|
interface FileSpanWithContext extends FileSpan, TextSpanWithContext {
|
||||||
}
|
}
|
||||||
interface DefinitionInfoAndBoundSpan {
|
interface DefinitionInfoAndBoundSpan {
|
||||||
definitions: ReadonlyArray<FileSpanWithContext>;
|
definitions: readonly FileSpanWithContext[];
|
||||||
textSpan: TextSpan;
|
textSpan: TextSpan;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
@ -652,9 +665,11 @@ declare namespace ts.server.protocol {
|
|||||||
interface DefinitionResponse extends Response {
|
interface DefinitionResponse extends Response {
|
||||||
body?: FileSpanWithContext[];
|
body?: FileSpanWithContext[];
|
||||||
}
|
}
|
||||||
interface DefinitionInfoAndBoundSpanReponse extends Response {
|
interface DefinitionInfoAndBoundSpanResponse extends Response {
|
||||||
body?: DefinitionInfoAndBoundSpan;
|
body?: DefinitionInfoAndBoundSpan;
|
||||||
}
|
}
|
||||||
|
/** @deprecated Use `DefinitionInfoAndBoundSpanResponse` instead. */
|
||||||
|
type DefinitionInfoAndBoundSpanReponse = DefinitionInfoAndBoundSpanResponse;
|
||||||
/**
|
/**
|
||||||
* Definition response message. Gives text range for definition.
|
* Definition response message. Gives text range for definition.
|
||||||
*/
|
*/
|
||||||
@ -781,7 +796,7 @@ declare namespace ts.server.protocol {
|
|||||||
/**
|
/**
|
||||||
* The file locations referencing the symbol.
|
* The file locations referencing the symbol.
|
||||||
*/
|
*/
|
||||||
refs: ReadonlyArray<ReferencesResponseItem>;
|
refs: readonly ReferencesResponseItem[];
|
||||||
/**
|
/**
|
||||||
* The name of the symbol.
|
* The name of the symbol.
|
||||||
*/
|
*/
|
||||||
@ -885,7 +900,7 @@ declare namespace ts.server.protocol {
|
|||||||
/**
|
/**
|
||||||
* An array of span groups (one per file) that refer to the item to be renamed.
|
* An array of span groups (one per file) that refer to the item to be renamed.
|
||||||
*/
|
*/
|
||||||
locs: ReadonlyArray<SpanGroup>;
|
locs: readonly SpanGroup[];
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Rename response message.
|
* Rename response message.
|
||||||
@ -955,7 +970,17 @@ declare namespace ts.server.protocol {
|
|||||||
* For external projects, some of the project settings are sent together with
|
* For external projects, some of the project settings are sent together with
|
||||||
* compiler settings.
|
* compiler settings.
|
||||||
*/
|
*/
|
||||||
type ExternalProjectCompilerOptions = CompilerOptions & CompileOnSaveMixin;
|
type ExternalProjectCompilerOptions = CompilerOptions & CompileOnSaveMixin & WatchOptions;
|
||||||
|
interface FileWithProjectReferenceRedirectInfo {
|
||||||
|
/**
|
||||||
|
* Name of file
|
||||||
|
*/
|
||||||
|
fileName: string;
|
||||||
|
/**
|
||||||
|
* True if the file is primarily included in a referenced project
|
||||||
|
*/
|
||||||
|
isSourceOfProjectReferenceRedirect: boolean;
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* Represents a set of changes that happen in project
|
* Represents a set of changes that happen in project
|
||||||
*/
|
*/
|
||||||
@ -963,15 +988,20 @@ declare namespace ts.server.protocol {
|
|||||||
/**
|
/**
|
||||||
* List of added files
|
* List of added files
|
||||||
*/
|
*/
|
||||||
added: string[];
|
added: string[] | FileWithProjectReferenceRedirectInfo[];
|
||||||
/**
|
/**
|
||||||
* List of removed files
|
* List of removed files
|
||||||
*/
|
*/
|
||||||
removed: string[];
|
removed: string[] | FileWithProjectReferenceRedirectInfo[];
|
||||||
/**
|
/**
|
||||||
* List of updated files
|
* List of updated files
|
||||||
*/
|
*/
|
||||||
updated: string[];
|
updated: string[] | FileWithProjectReferenceRedirectInfo[];
|
||||||
|
/**
|
||||||
|
* List of files that have had their project reference redirect status updated
|
||||||
|
* Only provided when the synchronizeProjectList request has includeProjectReferenceRedirectInfo set to true
|
||||||
|
*/
|
||||||
|
updatedRedirects?: FileWithProjectReferenceRedirectInfo[];
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Information found in a configure request.
|
* Information found in a configure request.
|
||||||
@ -995,6 +1025,31 @@ declare namespace ts.server.protocol {
|
|||||||
* The host's additional supported .js file extensions
|
* The host's additional supported .js file extensions
|
||||||
*/
|
*/
|
||||||
extraFileExtensions?: FileExtensionInfo[];
|
extraFileExtensions?: FileExtensionInfo[];
|
||||||
|
watchOptions?: WatchOptions;
|
||||||
|
}
|
||||||
|
const enum WatchFileKind {
|
||||||
|
FixedPollingInterval = "FixedPollingInterval",
|
||||||
|
PriorityPollingInterval = "PriorityPollingInterval",
|
||||||
|
DynamicPriorityPolling = "DynamicPriorityPolling",
|
||||||
|
UseFsEvents = "UseFsEvents",
|
||||||
|
UseFsEventsOnParentDirectory = "UseFsEventsOnParentDirectory"
|
||||||
|
}
|
||||||
|
const enum WatchDirectoryKind {
|
||||||
|
UseFsEvents = "UseFsEvents",
|
||||||
|
FixedPollingInterval = "FixedPollingInterval",
|
||||||
|
DynamicPriorityPolling = "DynamicPriorityPolling"
|
||||||
|
}
|
||||||
|
const enum PollingWatchKind {
|
||||||
|
FixedInterval = "FixedInterval",
|
||||||
|
PriorityInterval = "PriorityInterval",
|
||||||
|
DynamicPriority = "DynamicPriority"
|
||||||
|
}
|
||||||
|
interface WatchOptions {
|
||||||
|
watchFile?: WatchFileKind | ts.WatchFileKind;
|
||||||
|
watchDirectory?: WatchDirectoryKind | ts.WatchDirectoryKind;
|
||||||
|
fallbackPolling?: PollingWatchKind | ts.PollingWatchKind;
|
||||||
|
synchronousWatchDirectory?: boolean;
|
||||||
|
[option: string]: CompilerOptionsValue | undefined;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Configure request; value of command field is "configure". Specifies
|
* Configure request; value of command field is "configure". Specifies
|
||||||
@ -1248,6 +1303,16 @@ declare namespace ts.server.protocol {
|
|||||||
* if true - then file should be recompiled even if it does not have any changes.
|
* if true - then file should be recompiled even if it does not have any changes.
|
||||||
*/
|
*/
|
||||||
forced?: boolean;
|
forced?: boolean;
|
||||||
|
includeLinePosition?: boolean;
|
||||||
|
/** if true - return response as object with emitSkipped and diagnostics */
|
||||||
|
richResponse?: boolean;
|
||||||
|
}
|
||||||
|
interface CompileOnSaveEmitFileResponse extends Response {
|
||||||
|
body: boolean | EmitResult;
|
||||||
|
}
|
||||||
|
interface EmitResult {
|
||||||
|
emitSkipped: boolean;
|
||||||
|
diagnostics: Diagnostic[] | DiagnosticWithLinePosition[];
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Quickinfo request; value of command field is
|
* Quickinfo request; value of command field is
|
||||||
@ -1364,8 +1429,8 @@ declare namespace ts.server.protocol {
|
|||||||
commands?: {}[];
|
commands?: {}[];
|
||||||
}
|
}
|
||||||
interface CombinedCodeActions {
|
interface CombinedCodeActions {
|
||||||
changes: ReadonlyArray<FileCodeEdits>;
|
changes: readonly FileCodeEdits[];
|
||||||
commands?: ReadonlyArray<{}>;
|
commands?: readonly {}[];
|
||||||
}
|
}
|
||||||
interface CodeFixAction extends CodeAction {
|
interface CodeFixAction extends CodeAction {
|
||||||
/** Short name to identify the fix, for use by telemetry. */
|
/** Short name to identify the fix, for use by telemetry. */
|
||||||
@ -1406,7 +1471,7 @@ declare namespace ts.server.protocol {
|
|||||||
command: CommandTypes.Formatonkey;
|
command: CommandTypes.Formatonkey;
|
||||||
arguments: FormatOnKeyRequestArgs;
|
arguments: FormatOnKeyRequestArgs;
|
||||||
}
|
}
|
||||||
type CompletionsTriggerCharacter = "." | '"' | "'" | "`" | "/" | "@" | "<";
|
type CompletionsTriggerCharacter = "." | '"' | "'" | "`" | "/" | "@" | "<" | "#";
|
||||||
/**
|
/**
|
||||||
* Arguments for completions messages.
|
* Arguments for completions messages.
|
||||||
*/
|
*/
|
||||||
@ -1523,6 +1588,11 @@ declare namespace ts.server.protocol {
|
|||||||
* Then either that enum/class or a namespace containing it will be the recommended symbol.
|
* Then either that enum/class or a namespace containing it will be the recommended symbol.
|
||||||
*/
|
*/
|
||||||
isRecommended?: true;
|
isRecommended?: true;
|
||||||
|
/**
|
||||||
|
* If true, this completion was generated from traversing the name table of an unchecked JS file,
|
||||||
|
* and therefore may not be accurate.
|
||||||
|
*/
|
||||||
|
isFromUncheckedFile?: true;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Additional completion entry details, available on demand
|
* Additional completion entry details, available on demand
|
||||||
@ -1572,7 +1642,7 @@ declare namespace ts.server.protocol {
|
|||||||
readonly isGlobalCompletion: boolean;
|
readonly isGlobalCompletion: boolean;
|
||||||
readonly isMemberCompletion: boolean;
|
readonly isMemberCompletion: boolean;
|
||||||
readonly isNewIdentifierLocation: boolean;
|
readonly isNewIdentifierLocation: boolean;
|
||||||
readonly entries: ReadonlyArray<CompletionEntry>;
|
readonly entries: readonly CompletionEntry[];
|
||||||
}
|
}
|
||||||
interface CompletionDetailsResponse extends Response {
|
interface CompletionDetailsResponse extends Response {
|
||||||
body?: CompletionEntryDetails[];
|
body?: CompletionEntryDetails[];
|
||||||
@ -2047,7 +2117,7 @@ declare namespace ts.server.protocol {
|
|||||||
/**
|
/**
|
||||||
* Arguments for navto request message.
|
* Arguments for navto request message.
|
||||||
*/
|
*/
|
||||||
interface NavtoRequestArgs extends FileRequestArgs {
|
interface NavtoRequestArgs {
|
||||||
/**
|
/**
|
||||||
* Search term to navigate to from current location; term can
|
* Search term to navigate to from current location; term can
|
||||||
* be '.*' or an identifier prefix.
|
* be '.*' or an identifier prefix.
|
||||||
@ -2057,6 +2127,10 @@ declare namespace ts.server.protocol {
|
|||||||
* Optional limit on the number of items to return.
|
* Optional limit on the number of items to return.
|
||||||
*/
|
*/
|
||||||
maxResultCount?: number;
|
maxResultCount?: number;
|
||||||
|
/**
|
||||||
|
* The file for the request (absolute pathname required).
|
||||||
|
*/
|
||||||
|
file?: string;
|
||||||
/**
|
/**
|
||||||
* Optional flag to indicate we want results for just the current file
|
* Optional flag to indicate we want results for just the current file
|
||||||
* or the entire project.
|
* or the entire project.
|
||||||
@ -2070,7 +2144,7 @@ declare namespace ts.server.protocol {
|
|||||||
* match the search term given in argument 'searchTerm'. The
|
* match the search term given in argument 'searchTerm'. The
|
||||||
* context for the search is given by the named file.
|
* context for the search is given by the named file.
|
||||||
*/
|
*/
|
||||||
interface NavtoRequest extends FileRequest {
|
interface NavtoRequest extends Request {
|
||||||
command: CommandTypes.Navto;
|
command: CommandTypes.Navto;
|
||||||
arguments: NavtoRequestArgs;
|
arguments: NavtoRequestArgs;
|
||||||
}
|
}
|
||||||
@ -2251,7 +2325,7 @@ declare namespace ts.server.protocol {
|
|||||||
/**
|
/**
|
||||||
* list of packages to install
|
* list of packages to install
|
||||||
*/
|
*/
|
||||||
packages: ReadonlyArray<string>;
|
packages: readonly string[];
|
||||||
}
|
}
|
||||||
interface BeginInstallTypesEventBody extends InstallTypesEventBody {
|
interface BeginInstallTypesEventBody extends InstallTypesEventBody {
|
||||||
}
|
}
|
||||||
@ -2267,11 +2341,49 @@ declare namespace ts.server.protocol {
|
|||||||
interface NavTreeResponse extends Response {
|
interface NavTreeResponse extends Response {
|
||||||
body?: NavigationTree;
|
body?: NavigationTree;
|
||||||
}
|
}
|
||||||
|
interface CallHierarchyItem {
|
||||||
|
name: string;
|
||||||
|
kind: ScriptElementKind;
|
||||||
|
file: string;
|
||||||
|
span: TextSpan;
|
||||||
|
selectionSpan: TextSpan;
|
||||||
|
}
|
||||||
|
interface CallHierarchyIncomingCall {
|
||||||
|
from: CallHierarchyItem;
|
||||||
|
fromSpans: TextSpan[];
|
||||||
|
}
|
||||||
|
interface CallHierarchyOutgoingCall {
|
||||||
|
to: CallHierarchyItem;
|
||||||
|
fromSpans: TextSpan[];
|
||||||
|
}
|
||||||
|
interface PrepareCallHierarchyRequest extends FileLocationRequest {
|
||||||
|
command: CommandTypes.PrepareCallHierarchy;
|
||||||
|
}
|
||||||
|
interface PrepareCallHierarchyResponse extends Response {
|
||||||
|
readonly body: CallHierarchyItem | CallHierarchyItem[];
|
||||||
|
}
|
||||||
|
interface ProvideCallHierarchyIncomingCallsRequest extends FileLocationRequest {
|
||||||
|
command: CommandTypes.ProvideCallHierarchyIncomingCalls;
|
||||||
|
}
|
||||||
|
interface ProvideCallHierarchyIncomingCallsResponse extends Response {
|
||||||
|
readonly body: CallHierarchyIncomingCall[];
|
||||||
|
}
|
||||||
|
interface ProvideCallHierarchyOutgoingCallsRequest extends FileLocationRequest {
|
||||||
|
command: CommandTypes.ProvideCallHierarchyOutgoingCalls;
|
||||||
|
}
|
||||||
|
interface ProvideCallHierarchyOutgoingCallsResponse extends Response {
|
||||||
|
readonly body: CallHierarchyOutgoingCall[];
|
||||||
|
}
|
||||||
const enum IndentStyle {
|
const enum IndentStyle {
|
||||||
None = "None",
|
None = "None",
|
||||||
Block = "Block",
|
Block = "Block",
|
||||||
Smart = "Smart"
|
Smart = "Smart"
|
||||||
}
|
}
|
||||||
|
enum SemicolonPreference {
|
||||||
|
Ignore = "ignore",
|
||||||
|
Insert = "insert",
|
||||||
|
Remove = "remove"
|
||||||
|
}
|
||||||
interface EditorSettings {
|
interface EditorSettings {
|
||||||
baseIndentSize?: number;
|
baseIndentSize?: number;
|
||||||
indentSize?: number;
|
indentSize?: number;
|
||||||
@ -2279,6 +2391,7 @@ declare namespace ts.server.protocol {
|
|||||||
newLineCharacter?: string;
|
newLineCharacter?: string;
|
||||||
convertTabsToSpaces?: boolean;
|
convertTabsToSpaces?: boolean;
|
||||||
indentStyle?: IndentStyle | ts.IndentStyle;
|
indentStyle?: IndentStyle | ts.IndentStyle;
|
||||||
|
trimTrailingWhitespace?: boolean;
|
||||||
}
|
}
|
||||||
interface FormatCodeSettings extends EditorSettings {
|
interface FormatCodeSettings extends EditorSettings {
|
||||||
insertSpaceAfterCommaDelimiter?: boolean;
|
insertSpaceAfterCommaDelimiter?: boolean;
|
||||||
@ -2297,6 +2410,7 @@ declare namespace ts.server.protocol {
|
|||||||
placeOpenBraceOnNewLineForFunctions?: boolean;
|
placeOpenBraceOnNewLineForFunctions?: boolean;
|
||||||
placeOpenBraceOnNewLineForControlBlocks?: boolean;
|
placeOpenBraceOnNewLineForControlBlocks?: boolean;
|
||||||
insertSpaceBeforeTypeAnnotation?: boolean;
|
insertSpaceBeforeTypeAnnotation?: boolean;
|
||||||
|
semicolons?: SemicolonPreference;
|
||||||
}
|
}
|
||||||
interface UserPreferences {
|
interface UserPreferences {
|
||||||
readonly disableSuggestions?: boolean;
|
readonly disableSuggestions?: boolean;
|
||||||
@ -2311,7 +2425,15 @@ declare namespace ts.server.protocol {
|
|||||||
* For those entries, The `insertText` and `replacementSpan` properties will be set to change from `.x` property access to `["x"]`.
|
* For those entries, The `insertText` and `replacementSpan` properties will be set to change from `.x` property access to `["x"]`.
|
||||||
*/
|
*/
|
||||||
readonly includeCompletionsWithInsertText?: boolean;
|
readonly includeCompletionsWithInsertText?: boolean;
|
||||||
readonly importModuleSpecifierPreference?: "relative" | "non-relative";
|
/**
|
||||||
|
* Unless this option is `false`, or `includeCompletionsWithInsertText` is not enabled,
|
||||||
|
* member completion lists triggered with `.` will include entries on potentially-null and potentially-undefined
|
||||||
|
* values, with insertion text to replace preceding `.` tokens with `?.`.
|
||||||
|
*/
|
||||||
|
readonly includeAutomaticOptionalChainCompletions?: boolean;
|
||||||
|
readonly importModuleSpecifierPreference?: "auto" | "relative" | "non-relative";
|
||||||
|
/** Determines whether we import `foo/index.ts` as "foo", "foo/index", or "foo/index.js" */
|
||||||
|
readonly importModuleSpecifierEnding?: "auto" | "minimal" | "index" | "js";
|
||||||
readonly allowTextChangesInNewFiles?: boolean;
|
readonly allowTextChangesInNewFiles?: boolean;
|
||||||
readonly lazyConfiguredProjectsFromExternalProject?: boolean;
|
readonly lazyConfiguredProjectsFromExternalProject?: boolean;
|
||||||
readonly providePrefixAndSuffixTextForRename?: boolean;
|
readonly providePrefixAndSuffixTextForRename?: boolean;
|
||||||
@ -2380,6 +2502,7 @@ declare namespace ts.server.protocol {
|
|||||||
strictNullChecks?: boolean;
|
strictNullChecks?: boolean;
|
||||||
suppressExcessPropertyErrors?: boolean;
|
suppressExcessPropertyErrors?: boolean;
|
||||||
suppressImplicitAnyIndexErrors?: boolean;
|
suppressImplicitAnyIndexErrors?: boolean;
|
||||||
|
useDefineForClassFields?: boolean;
|
||||||
target?: ScriptTarget | ts.ScriptTarget;
|
target?: ScriptTarget | ts.ScriptTarget;
|
||||||
traceResolution?: boolean;
|
traceResolution?: boolean;
|
||||||
resolveJsonModule?: boolean;
|
resolveJsonModule?: boolean;
|
||||||
@ -2533,6 +2656,10 @@ declare namespace ts.server.protocol {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export interface TypeAcquisition {
|
export interface TypeAcquisition {
|
||||||
|
/**
|
||||||
|
* @deprecated typingOptions.enableAutoDiscovery
|
||||||
|
* Use typeAcquisition.enable instead.
|
||||||
|
*/
|
||||||
enableAutoDiscovery?: boolean;
|
enableAutoDiscovery?: boolean;
|
||||||
enable?: boolean;
|
enable?: boolean;
|
||||||
include?: string[];
|
include?: string[];
|
||||||
@ -2546,6 +2673,8 @@ declare namespace ts.server.protocol {
|
|||||||
scriptKind?: ScriptKind;
|
scriptKind?: ScriptKind;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export type CompilerOptionsValue = string | number | boolean | (string | number)[] | string[] | MapLike<string[]> | PluginImport[] | ProjectReference[] | null | undefined;
|
||||||
|
|
||||||
interface JSDocTagInfo {
|
interface JSDocTagInfo {
|
||||||
name: string;
|
name: string;
|
||||||
text?: string;
|
text?: string;
|
||||||
@ -2574,12 +2703,13 @@ declare namespace ts.server.protocol {
|
|||||||
/** True if it is intended that this reference form a circularity */
|
/** True if it is intended that this reference form a circularity */
|
||||||
circular?: boolean;
|
circular?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export type CompilerOptionsValue = string | number | boolean | (string | number)[] | string[] | MapLike<string[]> | PluginImport[] | ProjectReference[] | null | undefined;
|
|
||||||
}
|
}
|
||||||
declare namespace ts {
|
declare namespace ts {
|
||||||
// these types are empty stubs for types from services and should not be used directly
|
// these types are empty stubs for types from services and should not be used directly
|
||||||
export type ScriptKind = never;
|
export type ScriptKind = never;
|
||||||
|
export type WatchFileKind = never;
|
||||||
|
export type WatchDirectoryKind = never;
|
||||||
|
export type PollingWatchKind = never;
|
||||||
export type IndentStyle = never;
|
export type IndentStyle = never;
|
||||||
export type JsxEmit = never;
|
export type JsxEmit = never;
|
||||||
export type ModuleKind = never;
|
export type ModuleKind = never;
|
||||||
|
472
node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json
generated
vendored
472
node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json
generated
vendored
File diff suppressed because it is too large
Load Diff
500
node_modules/typescript/lib/ru/diagnosticMessages.generated.json
generated
vendored
500
node_modules/typescript/lib/ru/diagnosticMessages.generated.json
generated
vendored
File diff suppressed because it is too large
Load Diff
470
node_modules/typescript/lib/tr/diagnosticMessages.generated.json
generated
vendored
470
node_modules/typescript/lib/tr/diagnosticMessages.generated.json
generated
vendored
File diff suppressed because it is too large
Load Diff
33741
node_modules/typescript/lib/tsc.js
generated
vendored
33741
node_modules/typescript/lib/tsc.js
generated
vendored
File diff suppressed because one or more lines are too long
51863
node_modules/typescript/lib/tsserver.js
generated
vendored
51863
node_modules/typescript/lib/tsserver.js
generated
vendored
File diff suppressed because one or more lines are too long
1845
node_modules/typescript/lib/tsserverlibrary.d.ts
generated
vendored
1845
node_modules/typescript/lib/tsserverlibrary.d.ts
generated
vendored
File diff suppressed because it is too large
Load Diff
51763
node_modules/typescript/lib/tsserverlibrary.js
generated
vendored
51763
node_modules/typescript/lib/tsserverlibrary.js
generated
vendored
File diff suppressed because one or more lines are too long
1604
node_modules/typescript/lib/typescript.d.ts
generated
vendored
1604
node_modules/typescript/lib/typescript.d.ts
generated
vendored
File diff suppressed because it is too large
Load Diff
50189
node_modules/typescript/lib/typescript.js
generated
vendored
50189
node_modules/typescript/lib/typescript.js
generated
vendored
File diff suppressed because one or more lines are too long
1604
node_modules/typescript/lib/typescriptServices.d.ts
generated
vendored
1604
node_modules/typescript/lib/typescriptServices.d.ts
generated
vendored
File diff suppressed because it is too large
Load Diff
50189
node_modules/typescript/lib/typescriptServices.js
generated
vendored
50189
node_modules/typescript/lib/typescriptServices.js
generated
vendored
File diff suppressed because one or more lines are too long
37222
node_modules/typescript/lib/typingsInstaller.js
generated
vendored
37222
node_modules/typescript/lib/typingsInstaller.js
generated
vendored
File diff suppressed because one or more lines are too long
475
node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json
generated
vendored
475
node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json
generated
vendored
File diff suppressed because it is too large
Load Diff
534
node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json
generated
vendored
534
node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json
generated
vendored
File diff suppressed because it is too large
Load Diff
69
node_modules/typescript/package.json
generated
vendored
69
node_modules/typescript/package.json
generated
vendored
@ -1,57 +1,57 @@
|
|||||||
{
|
{
|
||||||
"_args": [
|
"_from": "typescript@^3.5.2",
|
||||||
[
|
"_id": "typescript@3.9.9",
|
||||||
"typescript@3.6.2",
|
|
||||||
"D:\\github-actions\\lala\\k8s-helm-test\\setup-helm"
|
|
||||||
]
|
|
||||||
],
|
|
||||||
"_development": true,
|
|
||||||
"_from": "typescript@3.6.2",
|
|
||||||
"_id": "typescript@3.6.2",
|
|
||||||
"_inBundle": false,
|
"_inBundle": false,
|
||||||
"_integrity": "sha512-lmQ4L+J6mnu3xweP8+rOrUwzmN+MRAj7TgtJtDaXE5PMyX2kCrklhg3rvOsOIfNeAWMQWO2F1GPc1kMD2vLAfw==",
|
"_integrity": "sha512-kdMjTiekY+z/ubJCATUPlRDl39vXYiMV9iyeMuEuXZh2we6zz80uovNN2WlAxmmdE/Z/YQe+EbOEXB5RHEED3w==",
|
||||||
"_location": "/typescript",
|
"_location": "/typescript",
|
||||||
"_phantomChildren": {},
|
"_phantomChildren": {},
|
||||||
"_requested": {
|
"_requested": {
|
||||||
"type": "version",
|
"type": "range",
|
||||||
"registry": true,
|
"registry": true,
|
||||||
"raw": "typescript@3.6.2",
|
"raw": "typescript@^3.5.2",
|
||||||
"name": "typescript",
|
"name": "typescript",
|
||||||
"escapedName": "typescript",
|
"escapedName": "typescript",
|
||||||
"rawSpec": "3.6.2",
|
"rawSpec": "^3.5.2",
|
||||||
"saveSpec": null,
|
"saveSpec": null,
|
||||||
"fetchSpec": "3.6.2"
|
"fetchSpec": "^3.5.2"
|
||||||
},
|
},
|
||||||
"_requiredBy": [
|
"_requiredBy": [
|
||||||
"#DEV:/"
|
"#DEV:/",
|
||||||
|
"#USER"
|
||||||
],
|
],
|
||||||
"_resolved": "https://registry.npmjs.org/typescript/-/typescript-3.6.2.tgz",
|
"_resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.9.tgz",
|
||||||
"_spec": "3.6.2",
|
"_shasum": "e69905c54bc0681d0518bd4d587cc6f2d0b1a674",
|
||||||
"_where": "D:\\github-actions\\lala\\k8s-helm-test\\setup-helm",
|
"_spec": "typescript@^3.5.2",
|
||||||
|
"_where": "D:\\Work\\Actions\\setup-helm",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Microsoft Corp."
|
"name": "Microsoft Corp."
|
||||||
},
|
},
|
||||||
"bin": {
|
"bin": {
|
||||||
"tsc": "./bin/tsc",
|
"tsc": "bin/tsc",
|
||||||
"tsserver": "./bin/tsserver"
|
"tsserver": "bin/tsserver"
|
||||||
},
|
},
|
||||||
"browser": {
|
"browser": {
|
||||||
"fs": false,
|
"fs": false,
|
||||||
"os": false,
|
"os": false,
|
||||||
"path": false,
|
"path": false,
|
||||||
"@microsoft/typescript-etw": false
|
"crypto": false,
|
||||||
|
"buffer": false,
|
||||||
|
"@microsoft/typescript-etw": false,
|
||||||
|
"source-map-support": false,
|
||||||
|
"inspector": false
|
||||||
},
|
},
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/Microsoft/TypeScript/issues"
|
"url": "https://github.com/Microsoft/TypeScript/issues"
|
||||||
},
|
},
|
||||||
|
"bundleDependencies": false,
|
||||||
"dependencies": {},
|
"dependencies": {},
|
||||||
|
"deprecated": false,
|
||||||
"description": "TypeScript is a language for application scale JavaScript development",
|
"description": "TypeScript is a language for application scale JavaScript development",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@octokit/rest": "latest",
|
"@octokit/rest": "latest",
|
||||||
"@types/browserify": "latest",
|
"@types/browserify": "latest",
|
||||||
"@types/chai": "latest",
|
"@types/chai": "latest",
|
||||||
"@types/convert-source-map": "latest",
|
"@types/convert-source-map": "latest",
|
||||||
"@types/del": "latest",
|
|
||||||
"@types/glob": "latest",
|
"@types/glob": "latest",
|
||||||
"@types/gulp": "^4.0.5",
|
"@types/gulp": "^4.0.5",
|
||||||
"@types/gulp-concat": "latest",
|
"@types/gulp-concat": "latest",
|
||||||
@ -73,15 +73,25 @@
|
|||||||
"@types/through2": "latest",
|
"@types/through2": "latest",
|
||||||
"@types/travis-fold": "latest",
|
"@types/travis-fold": "latest",
|
||||||
"@types/xml2js": "^0.4.0",
|
"@types/xml2js": "^0.4.0",
|
||||||
|
"@typescript-eslint/eslint-plugin": "2.18.0",
|
||||||
|
"@typescript-eslint/experimental-utils": "2.18.0",
|
||||||
|
"@typescript-eslint/parser": "2.18.0",
|
||||||
|
"async": "latest",
|
||||||
"azure-devops-node-api": "^8.0.0",
|
"azure-devops-node-api": "^8.0.0",
|
||||||
"browser-resolve": "^1.11.2",
|
"browser-resolve": "^1.11.2",
|
||||||
"browserify": "latest",
|
"browserify": "latest",
|
||||||
"chai": "latest",
|
"chai": "latest",
|
||||||
"chalk": "latest",
|
"chalk": "latest",
|
||||||
"convert-source-map": "latest",
|
"convert-source-map": "latest",
|
||||||
"del": "latest",
|
"del": "5.1.0",
|
||||||
|
"eslint": "6.8.0",
|
||||||
|
"eslint-formatter-autolinkable-stylish": "1.1.1",
|
||||||
|
"eslint-plugin-import": "2.20.0",
|
||||||
|
"eslint-plugin-jsdoc": "21.0.0",
|
||||||
|
"eslint-plugin-no-null": "1.0.2",
|
||||||
"fancy-log": "latest",
|
"fancy-log": "latest",
|
||||||
"fs-extra": "^6.0.1",
|
"fs-extra": "^6.0.1",
|
||||||
|
"glob": "latest",
|
||||||
"gulp": "^4.0.0",
|
"gulp": "^4.0.0",
|
||||||
"gulp-concat": "latest",
|
"gulp-concat": "latest",
|
||||||
"gulp-insert": "latest",
|
"gulp-insert": "latest",
|
||||||
@ -96,17 +106,16 @@
|
|||||||
"mocha-fivemat-progress-reporter": "latest",
|
"mocha-fivemat-progress-reporter": "latest",
|
||||||
"ms": "latest",
|
"ms": "latest",
|
||||||
"node-fetch": "^2.6.0",
|
"node-fetch": "^2.6.0",
|
||||||
|
"playwright": "0.12.1",
|
||||||
"plugin-error": "latest",
|
"plugin-error": "latest",
|
||||||
"pretty-hrtime": "^1.0.3",
|
"pretty-hrtime": "^1.0.3",
|
||||||
"prex": "^0.4.3",
|
"prex": "^0.4.3",
|
||||||
"q": "latest",
|
"q": "latest",
|
||||||
"remove-internal": "^2.9.2",
|
"remove-internal": "^2.9.2",
|
||||||
"simple-git": "^1.113.0",
|
|
||||||
"source-map-support": "latest",
|
"source-map-support": "latest",
|
||||||
"through2": "latest",
|
"through2": "latest",
|
||||||
"travis-fold": "latest",
|
"travis-fold": "latest",
|
||||||
"tslint": "latest",
|
"typescript": "^3.9.3",
|
||||||
"typescript": "next",
|
|
||||||
"vinyl": "latest",
|
"vinyl": "latest",
|
||||||
"vinyl-sourcemaps-apply": "latest",
|
"vinyl-sourcemaps-apply": "latest",
|
||||||
"xml2js": "^0.4.19"
|
"xml2js": "^0.4.19"
|
||||||
@ -137,12 +146,16 @@
|
|||||||
"gulp": "gulp",
|
"gulp": "gulp",
|
||||||
"jake": "gulp",
|
"jake": "gulp",
|
||||||
"lint": "gulp lint",
|
"lint": "gulp lint",
|
||||||
|
"lint:ci": "gulp lint --ci",
|
||||||
|
"lint:compiler": "gulp lint-compiler",
|
||||||
|
"lint:scripts": "gulp lint-scripts",
|
||||||
|
"prepare": "gulp build-eslint-rules",
|
||||||
"pretest": "gulp tests",
|
"pretest": "gulp tests",
|
||||||
"setup-hooks": "node scripts/link-hooks.js",
|
"setup-hooks": "node scripts/link-hooks.js",
|
||||||
"start": "node lib/tsc",
|
"start": "node lib/tsc",
|
||||||
"test": "gulp runtests-parallel --light=false",
|
"test": "gulp runtests-parallel --light=false",
|
||||||
"update-costly-tests": "node scripts/costly-tests.js"
|
"test:eslint-rules": "gulp run-eslint-rules-tests"
|
||||||
},
|
},
|
||||||
"typings": "./lib/typescript.d.ts",
|
"typings": "./lib/typescript.d.ts",
|
||||||
"version": "3.6.2"
|
"version": "3.9.9"
|
||||||
}
|
}
|
||||||
|
6
package-lock.json
generated
6
package-lock.json
generated
@ -156,9 +156,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"typescript": {
|
"typescript": {
|
||||||
"version": "3.6.2",
|
"version": "3.9.9",
|
||||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-3.6.2.tgz",
|
"resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.9.tgz",
|
||||||
"integrity": "sha512-lmQ4L+J6mnu3xweP8+rOrUwzmN+MRAj7TgtJtDaXE5PMyX2kCrklhg3rvOsOIfNeAWMQWO2F1GPc1kMD2vLAfw==",
|
"integrity": "sha512-kdMjTiekY+z/ubJCATUPlRDl39vXYiMV9iyeMuEuXZh2we6zz80uovNN2WlAxmmdE/Z/YQe+EbOEXB5RHEED3w==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"underscore": {
|
"underscore": {
|
||||||
|
@ -20,6 +20,6 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^12.0.10",
|
"@types/node": "^12.0.10",
|
||||||
"typescript": "^3.5.2"
|
"typescript": "^3.9.9"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user