-
Notifications
You must be signed in to change notification settings - Fork 234
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fe400e6
commit 588c24d
Showing
28 changed files
with
80,316 additions
and
57,024 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/*! ***************************************************************************** | ||
Copyright (c) Microsoft Corporation. All rights reserved. | ||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use | ||
this file except in compliance with the License. You may obtain a copy of the | ||
License at http://www.apache.org/licenses/LICENSE-2.0 | ||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED | ||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, | ||
MERCHANTABLITY OR NON-INFRINGEMENT. | ||
See the Apache Version 2.0 License for specific language governing permissions | ||
and limitations under the License. | ||
***************************************************************************** */ | ||
|
||
|
||
|
||
/// <reference no-default-lib="true"/> | ||
|
||
|
||
/// <reference lib="es2020" /> | ||
/// <reference lib="es2021.promise" /> | ||
/// <reference lib="es2021.string" /> | ||
/// <reference lib="es2021.weakref" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/*! ***************************************************************************** | ||
Copyright (c) Microsoft Corporation. All rights reserved. | ||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use | ||
this file except in compliance with the License. You may obtain a copy of the | ||
License at http://www.apache.org/licenses/LICENSE-2.0 | ||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED | ||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, | ||
MERCHANTABLITY OR NON-INFRINGEMENT. | ||
See the Apache Version 2.0 License for specific language governing permissions | ||
and limitations under the License. | ||
***************************************************************************** */ | ||
|
||
|
||
|
||
/// <reference no-default-lib="true"/> | ||
|
||
|
||
/// <reference lib="es2021" /> | ||
/// <reference lib="dom" /> | ||
/// <reference lib="webworker.importscripts" /> | ||
/// <reference lib="scripthost" /> | ||
/// <reference lib="dom.iterable" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
/*! ***************************************************************************** | ||
Copyright (c) Microsoft Corporation. All rights reserved. | ||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use | ||
this file except in compliance with the License. You may obtain a copy of the | ||
License at http://www.apache.org/licenses/LICENSE-2.0 | ||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED | ||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, | ||
MERCHANTABLITY OR NON-INFRINGEMENT. | ||
See the Apache Version 2.0 License for specific language governing permissions | ||
and limitations under the License. | ||
***************************************************************************** */ | ||
|
||
|
||
|
||
/// <reference no-default-lib="true"/> | ||
|
||
|
||
interface AggregateError extends Error { | ||
errors: any[] | ||
} | ||
|
||
interface AggregateErrorConstructor { | ||
new(errors: Iterable<any>, message?: string): AggregateError; | ||
(errors: Iterable<any>, message?: string): AggregateError; | ||
readonly prototype: AggregateError; | ||
} | ||
|
||
declare var AggregateError: AggregateErrorConstructor; | ||
|
||
/** | ||
* Represents the completion of an asynchronous operation | ||
*/ | ||
interface PromiseConstructor { | ||
/** | ||
* The any function returns a promise that is fulfilled by the first given promise to be fulfilled, or rejected with an AggregateError containing an array of rejection reasons if all of the given promises are rejected. It resolves all elements of the passed iterable to promises as it runs this algorithm. | ||
* @param values An array or iterable of Promises. | ||
* @returns A new Promise. | ||
*/ | ||
any<T>(values: (T | PromiseLike<T>)[] | Iterable<T | PromiseLike<T>>): Promise<T> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/*! ***************************************************************************** | ||
Copyright (c) Microsoft Corporation. All rights reserved. | ||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use | ||
this file except in compliance with the License. You may obtain a copy of the | ||
License at http://www.apache.org/licenses/LICENSE-2.0 | ||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED | ||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, | ||
MERCHANTABLITY OR NON-INFRINGEMENT. | ||
See the Apache Version 2.0 License for specific language governing permissions | ||
and limitations under the License. | ||
***************************************************************************** */ | ||
|
||
|
||
|
||
/// <reference no-default-lib="true"/> | ||
|
||
|
||
interface String { | ||
/** | ||
* Replace all instances of a substring in a string, using a regular expression or search string. | ||
* @param searchValue A string to search for. | ||
* @param replaceValue A string containing the text to replace for every successful match of searchValue in this string. | ||
*/ | ||
replaceAll(searchValue: string | RegExp, replaceValue: string): string; | ||
|
||
/** | ||
* Replace all instances of a substring in a string, using a regular expression or search string. | ||
* @param searchValue A string to search for. | ||
* @param replacer A function that returns the replacement text. | ||
*/ | ||
replaceAll(searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
/*! ***************************************************************************** | ||
Copyright (c) Microsoft Corporation. All rights reserved. | ||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use | ||
this file except in compliance with the License. You may obtain a copy of the | ||
License at http://www.apache.org/licenses/LICENSE-2.0 | ||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED | ||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, | ||
MERCHANTABLITY OR NON-INFRINGEMENT. | ||
See the Apache Version 2.0 License for specific language governing permissions | ||
and limitations under the License. | ||
***************************************************************************** */ | ||
|
||
|
||
|
||
/// <reference no-default-lib="true"/> | ||
|
||
|
||
interface WeakRef<T extends object> { | ||
readonly [Symbol.toStringTag]: "WeakRef"; | ||
|
||
/** | ||
* Returns the WeakRef instance's target object, or undefined if the target object has been | ||
* reclaimed. | ||
*/ | ||
deref(): T | undefined; | ||
} | ||
|
||
interface WeakRefConstructor { | ||
readonly prototype: WeakRef<any>; | ||
|
||
/** | ||
* Creates a WeakRef instance for the given target object. | ||
* @param target The target object for the WeakRef instance. | ||
*/ | ||
new<T extends object>(target: T): WeakRef<T>; | ||
} | ||
|
||
declare var WeakRef: WeakRefConstructor; | ||
|
||
interface FinalizationRegistry<T> { | ||
readonly [Symbol.toStringTag]: "FinalizationRegistry"; | ||
|
||
/** | ||
* Registers an object with the registry. | ||
* @param target The target object to register. | ||
* @param heldValue The value to pass to the finalizer for this object. This cannot be the | ||
* target object. | ||
* @param unregisterToken The token to pass to the unregister method to unregister the target | ||
* object. If provided (and not undefined), this must be an object. If not provided, the target | ||
* cannot be unregistered. | ||
*/ | ||
register(target: object, heldValue: T, unregisterToken?: object): void; | ||
|
||
/** | ||
* Unregisters an object from the registry. | ||
* @param unregisterToken The token that was used as the unregisterToken argument when calling | ||
* register to register the target object. | ||
*/ | ||
unregister(unregisterToken: object): void; | ||
} | ||
|
||
interface FinalizationRegistryConstructor { | ||
readonly prototype: FinalizationRegistry<any>; | ||
|
||
/** | ||
* Creates a finalization registry with an associated cleanup callback | ||
* @param cleanupCallback The callback to call after an object in the registry has been reclaimed. | ||
*/ | ||
new<T>(cleanupCallback: (heldValue: T) => void): FinalizationRegistry<T>; | ||
} | ||
|
||
declare var FinalizationRegistry: FinalizationRegistryConstructor; |
Oops, something went wrong.