strict-ts-lib-v5.2 0.6.2 → 0.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +64 -0
- package/NOTICE +16 -0
- package/README.md +6 -0
- package/libs/decorators/index.d.ts +33 -4
- package/libs/decorators/legacy/index.d.ts +22 -0
- package/libs/dom/index.d.ts +22 -0
- package/libs/dom/iterable/index.d.ts +22 -0
- package/libs/es2015/collection/index.d.ts +22 -0
- package/libs/es2015/core/index.d.ts +22 -0
- package/libs/es2015/generator/index.d.ts +22 -0
- package/libs/es2015/index.d.ts +22 -0
- package/libs/es2015/iterable/index.d.ts +22 -0
- package/libs/es2015/promise/index.d.ts +22 -0
- package/libs/es2015/proxy/index.d.ts +22 -0
- package/libs/es2015/reflect/index.d.ts +24 -1
- package/libs/es2015/symbol/index.d.ts +22 -0
- package/libs/es2015/symbol-wellknown/index.d.ts +34 -3
- package/libs/es2016/array-include/index.d.ts +22 -0
- package/libs/es2016/full/index.d.ts +22 -0
- package/libs/es2016/index.d.ts +22 -0
- package/libs/es2017/date/index.d.ts +22 -0
- package/libs/es2017/full/index.d.ts +22 -0
- package/libs/es2017/index.d.ts +22 -0
- package/libs/es2017/intl/index.d.ts +22 -0
- package/libs/es2017/object/index.d.ts +22 -0
- package/libs/es2017/sharedmemory/index.d.ts +22 -0
- package/libs/es2017/string/index.d.ts +22 -0
- package/libs/es2017/typedarrays/index.d.ts +22 -0
- package/libs/es2018/asyncgenerator/index.d.ts +22 -0
- package/libs/es2018/asynciterable/index.d.ts +22 -0
- package/libs/es2018/full/index.d.ts +22 -0
- package/libs/es2018/index.d.ts +22 -0
- package/libs/es2018/intl/index.d.ts +22 -0
- package/libs/es2018/promise/index.d.ts +22 -0
- package/libs/es2018/regexp/index.d.ts +22 -0
- package/libs/es2019/array/index.d.ts +22 -0
- package/libs/es2019/full/index.d.ts +22 -0
- package/libs/es2019/index.d.ts +22 -0
- package/libs/es2019/intl/index.d.ts +22 -0
- package/libs/es2019/object/index.d.ts +22 -0
- package/libs/es2019/string/index.d.ts +22 -0
- package/libs/es2019/symbol/index.d.ts +22 -0
- package/libs/es2020/bigint/index.d.ts +22 -0
- package/libs/es2020/date/index.d.ts +22 -0
- package/libs/es2020/full/index.d.ts +22 -0
- package/libs/es2020/index.d.ts +22 -0
- package/libs/es2020/intl/index.d.ts +22 -0
- package/libs/es2020/number/index.d.ts +22 -0
- package/libs/es2020/promise/index.d.ts +22 -0
- package/libs/es2020/sharedmemory/index.d.ts +22 -0
- package/libs/es2020/string/index.d.ts +22 -0
- package/libs/es2020/symbol-wellknown/index.d.ts +22 -0
- package/libs/es2021/full/index.d.ts +22 -0
- package/libs/es2021/index.d.ts +22 -0
- package/libs/es2021/intl/index.d.ts +22 -0
- package/libs/es2021/promise/index.d.ts +22 -0
- package/libs/es2021/string/index.d.ts +26 -1
- package/libs/es2021/weakref/index.d.ts +22 -0
- package/libs/es2022/array/index.d.ts +22 -0
- package/libs/es2022/error/index.d.ts +22 -0
- package/libs/es2022/full/index.d.ts +22 -0
- package/libs/es2022/index.d.ts +22 -0
- package/libs/es2022/intl/index.d.ts +22 -0
- package/libs/es2022/object/index.d.ts +22 -0
- package/libs/es2022/regexp/index.d.ts +22 -0
- package/libs/es2022/sharedmemory/index.d.ts +22 -0
- package/libs/es2022/string/index.d.ts +22 -0
- package/libs/es2023/array/index.d.ts +22 -0
- package/libs/es2023/collection/index.d.ts +22 -0
- package/libs/es2023/full/index.d.ts +22 -0
- package/libs/es2023/index.d.ts +22 -0
- package/libs/es5/index.d.ts +71 -13
- package/libs/es6/index.d.ts +22 -0
- package/libs/esnext/decorators/index.d.ts +22 -0
- package/libs/esnext/disposable/index.d.ts +22 -0
- package/libs/esnext/full/index.d.ts +22 -0
- package/libs/esnext/index.d.ts +22 -0
- package/libs/esnext/intl/index.d.ts +22 -0
- package/libs/scripthost/index.d.ts +22 -0
- package/libs/webworker/importscripts/index.d.ts +22 -0
- package/libs/webworker/index.d.ts +22 -0
- package/libs/webworker/iterable/index.d.ts +22 -0
- package/libs-branded/decorators/index.d.ts +33 -4
- package/libs-branded/decorators/legacy/index.d.ts +22 -0
- package/libs-branded/dom/index.d.ts +22 -0
- package/libs-branded/dom/iterable/index.d.ts +22 -0
- package/libs-branded/es2015/collection/index.d.ts +22 -0
- package/libs-branded/es2015/core/index.d.ts +22 -0
- package/libs-branded/es2015/generator/index.d.ts +22 -0
- package/libs-branded/es2015/index.d.ts +22 -0
- package/libs-branded/es2015/iterable/index.d.ts +22 -0
- package/libs-branded/es2015/promise/index.d.ts +22 -0
- package/libs-branded/es2015/proxy/index.d.ts +22 -0
- package/libs-branded/es2015/reflect/index.d.ts +24 -1
- package/libs-branded/es2015/symbol/index.d.ts +22 -0
- package/libs-branded/es2015/symbol-wellknown/index.d.ts +34 -3
- package/libs-branded/es2016/array-include/index.d.ts +22 -0
- package/libs-branded/es2016/full/index.d.ts +22 -0
- package/libs-branded/es2016/index.d.ts +22 -0
- package/libs-branded/es2017/date/index.d.ts +22 -0
- package/libs-branded/es2017/full/index.d.ts +22 -0
- package/libs-branded/es2017/index.d.ts +22 -0
- package/libs-branded/es2017/intl/index.d.ts +22 -0
- package/libs-branded/es2017/object/index.d.ts +22 -0
- package/libs-branded/es2017/sharedmemory/index.d.ts +22 -0
- package/libs-branded/es2017/string/index.d.ts +22 -0
- package/libs-branded/es2017/typedarrays/index.d.ts +22 -0
- package/libs-branded/es2018/asyncgenerator/index.d.ts +22 -0
- package/libs-branded/es2018/asynciterable/index.d.ts +22 -0
- package/libs-branded/es2018/full/index.d.ts +22 -0
- package/libs-branded/es2018/index.d.ts +22 -0
- package/libs-branded/es2018/intl/index.d.ts +22 -0
- package/libs-branded/es2018/promise/index.d.ts +22 -0
- package/libs-branded/es2018/regexp/index.d.ts +22 -0
- package/libs-branded/es2019/array/index.d.ts +22 -0
- package/libs-branded/es2019/full/index.d.ts +22 -0
- package/libs-branded/es2019/index.d.ts +22 -0
- package/libs-branded/es2019/intl/index.d.ts +22 -0
- package/libs-branded/es2019/object/index.d.ts +22 -0
- package/libs-branded/es2019/string/index.d.ts +22 -0
- package/libs-branded/es2019/symbol/index.d.ts +22 -0
- package/libs-branded/es2020/bigint/index.d.ts +22 -0
- package/libs-branded/es2020/date/index.d.ts +22 -0
- package/libs-branded/es2020/full/index.d.ts +22 -0
- package/libs-branded/es2020/index.d.ts +22 -0
- package/libs-branded/es2020/intl/index.d.ts +22 -0
- package/libs-branded/es2020/number/index.d.ts +22 -0
- package/libs-branded/es2020/promise/index.d.ts +22 -0
- package/libs-branded/es2020/sharedmemory/index.d.ts +22 -0
- package/libs-branded/es2020/string/index.d.ts +22 -0
- package/libs-branded/es2020/symbol-wellknown/index.d.ts +22 -0
- package/libs-branded/es2021/full/index.d.ts +22 -0
- package/libs-branded/es2021/index.d.ts +22 -0
- package/libs-branded/es2021/intl/index.d.ts +22 -0
- package/libs-branded/es2021/promise/index.d.ts +22 -0
- package/libs-branded/es2021/string/index.d.ts +26 -1
- package/libs-branded/es2021/weakref/index.d.ts +22 -0
- package/libs-branded/es2022/array/index.d.ts +22 -0
- package/libs-branded/es2022/error/index.d.ts +22 -0
- package/libs-branded/es2022/full/index.d.ts +22 -0
- package/libs-branded/es2022/index.d.ts +22 -0
- package/libs-branded/es2022/intl/index.d.ts +22 -0
- package/libs-branded/es2022/object/index.d.ts +22 -0
- package/libs-branded/es2022/regexp/index.d.ts +22 -0
- package/libs-branded/es2022/sharedmemory/index.d.ts +22 -0
- package/libs-branded/es2022/string/index.d.ts +22 -0
- package/libs-branded/es2023/array/index.d.ts +22 -0
- package/libs-branded/es2023/collection/index.d.ts +22 -0
- package/libs-branded/es2023/full/index.d.ts +22 -0
- package/libs-branded/es2023/index.d.ts +22 -0
- package/libs-branded/es5/index.d.ts +71 -13
- package/libs-branded/es6/index.d.ts +22 -0
- package/libs-branded/esnext/decorators/index.d.ts +22 -0
- package/libs-branded/esnext/disposable/index.d.ts +22 -0
- package/libs-branded/esnext/full/index.d.ts +22 -0
- package/libs-branded/esnext/index.d.ts +22 -0
- package/libs-branded/esnext/intl/index.d.ts +22 -0
- package/libs-branded/scripthost/index.d.ts +22 -0
- package/libs-branded/webworker/importscripts/index.d.ts +22 -0
- package/libs-branded/webworker/index.d.ts +22 -0
- package/libs-branded/webworker/iterable/index.d.ts +22 -0
- package/package.json +4 -2
|
@@ -1,3 +1,25 @@
|
|
|
1
|
+
/*! *****************************************************************************
|
|
2
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
4
|
+
this file except in compliance with the License. You may obtain a copy of the
|
|
5
|
+
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
|
|
7
|
+
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
8
|
+
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
9
|
+
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
10
|
+
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
11
|
+
|
|
12
|
+
See the Apache Version 2.0 License for specific language governing permissions
|
|
13
|
+
and limitations under the License.
|
|
14
|
+
***************************************************************************** */
|
|
15
|
+
|
|
16
|
+
/*
|
|
17
|
+
* Modified from TypeScript's `lib.es2023.full.d.ts` by strict-ts-lib
|
|
18
|
+
* (https://github.com/noshiro-pf/mono): the declarations are rewritten with
|
|
19
|
+
* stricter types. This is not the original file. See the NOTICE and LICENSE
|
|
20
|
+
* files of the package this ships in.
|
|
21
|
+
*/
|
|
22
|
+
|
|
1
23
|
/// <reference no-default-lib="true"/>
|
|
2
24
|
|
|
3
25
|
/// <reference lib="es2023" />
|
package/libs/es2023/index.d.ts
CHANGED
|
@@ -1,3 +1,25 @@
|
|
|
1
|
+
/*! *****************************************************************************
|
|
2
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
4
|
+
this file except in compliance with the License. You may obtain a copy of the
|
|
5
|
+
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
|
|
7
|
+
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
8
|
+
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
9
|
+
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
10
|
+
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
11
|
+
|
|
12
|
+
See the Apache Version 2.0 License for specific language governing permissions
|
|
13
|
+
and limitations under the License.
|
|
14
|
+
***************************************************************************** */
|
|
15
|
+
|
|
16
|
+
/*
|
|
17
|
+
* Modified from TypeScript's `lib.es2023.d.ts` by strict-ts-lib
|
|
18
|
+
* (https://github.com/noshiro-pf/mono): the declarations are rewritten with
|
|
19
|
+
* stricter types. This is not the original file. See the NOTICE and LICENSE
|
|
20
|
+
* files of the package this ships in.
|
|
21
|
+
*/
|
|
22
|
+
|
|
1
23
|
/// <reference no-default-lib="true"/>
|
|
2
24
|
|
|
3
25
|
/// <reference lib="es2022" />
|
package/libs/es5/index.d.ts
CHANGED
|
@@ -1,3 +1,25 @@
|
|
|
1
|
+
/*! *****************************************************************************
|
|
2
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
4
|
+
this file except in compliance with the License. You may obtain a copy of the
|
|
5
|
+
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
|
|
7
|
+
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
8
|
+
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
9
|
+
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
10
|
+
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
11
|
+
|
|
12
|
+
See the Apache Version 2.0 License for specific language governing permissions
|
|
13
|
+
and limitations under the License.
|
|
14
|
+
***************************************************************************** */
|
|
15
|
+
|
|
16
|
+
/*
|
|
17
|
+
* Modified from TypeScript's `lib.es5.d.ts` by strict-ts-lib
|
|
18
|
+
* (https://github.com/noshiro-pf/mono): the declarations are rewritten with
|
|
19
|
+
* stricter types. This is not the original file. See the NOTICE and LICENSE
|
|
20
|
+
* files of the package this ships in.
|
|
21
|
+
*/
|
|
22
|
+
|
|
1
23
|
/// <reference no-default-lib="true"/>
|
|
2
24
|
|
|
3
25
|
/// <reference lib="decorators" />
|
|
@@ -352,7 +374,10 @@ declare const Function: FunctionConstructor;
|
|
|
352
374
|
/**
|
|
353
375
|
* Extracts the type of the 'this' parameter of a function type, or 'unknown' if the function type has no 'this' parameter.
|
|
354
376
|
*/
|
|
355
|
-
type ThisParameterType<T> = T extends (
|
|
377
|
+
type ThisParameterType<T> = T extends (
|
|
378
|
+
this: infer U,
|
|
379
|
+
...args: StrictLibInternals.AnyArguments
|
|
380
|
+
) => unknown
|
|
356
381
|
? U
|
|
357
382
|
: unknown;
|
|
358
383
|
|
|
@@ -533,7 +558,10 @@ interface String {
|
|
|
533
558
|
*/
|
|
534
559
|
replace(
|
|
535
560
|
searchValue: string | RegExp,
|
|
536
|
-
replacer: (
|
|
561
|
+
replacer: (
|
|
562
|
+
substring: string,
|
|
563
|
+
...args: readonly (string | undefined)[]
|
|
564
|
+
) => string,
|
|
537
565
|
): string;
|
|
538
566
|
|
|
539
567
|
/**
|
|
@@ -1883,25 +1911,23 @@ type NonNullable<T> = T & {};
|
|
|
1883
1911
|
/**
|
|
1884
1912
|
* Obtain the parameters of a function type in a tuple
|
|
1885
1913
|
*/
|
|
1886
|
-
type Parameters<
|
|
1887
|
-
...args:
|
|
1888
|
-
) => unknown
|
|
1889
|
-
? P
|
|
1890
|
-
: never;
|
|
1914
|
+
type Parameters<
|
|
1915
|
+
T extends (...args: StrictLibInternals.AnyArguments) => unknown,
|
|
1916
|
+
> = T extends (...args: infer P) => unknown ? P : never;
|
|
1891
1917
|
|
|
1892
1918
|
/**
|
|
1893
1919
|
* Obtain the parameters of a constructor function type in a tuple
|
|
1894
1920
|
*/
|
|
1895
1921
|
type ConstructorParameters<
|
|
1896
|
-
T extends abstract new (...args:
|
|
1922
|
+
T extends abstract new (...args: StrictLibInternals.AnyArguments) => unknown,
|
|
1897
1923
|
> = T extends abstract new (...args: infer P) => unknown ? P : never;
|
|
1898
1924
|
|
|
1899
1925
|
/**
|
|
1900
1926
|
* Obtain the return type of a function type
|
|
1901
1927
|
*/
|
|
1902
|
-
type ReturnType<
|
|
1903
|
-
...args:
|
|
1904
|
-
) => infer R
|
|
1928
|
+
type ReturnType<
|
|
1929
|
+
T extends (...args: StrictLibInternals.AnyArguments) => unknown,
|
|
1930
|
+
> = T extends (...args: StrictLibInternals.AnyArguments) => infer R
|
|
1905
1931
|
? R
|
|
1906
1932
|
: unknown;
|
|
1907
1933
|
|
|
@@ -1909,8 +1935,10 @@ type ReturnType<T extends (...args: readonly never[]) => unknown> = T extends (
|
|
|
1909
1935
|
* Obtain the return type of a constructor function type
|
|
1910
1936
|
*/
|
|
1911
1937
|
type InstanceType<
|
|
1912
|
-
T extends abstract new (...args:
|
|
1913
|
-
> = T extends abstract new (...args:
|
|
1938
|
+
T extends abstract new (...args: StrictLibInternals.AnyArguments) => unknown,
|
|
1939
|
+
> = T extends abstract new (...args: StrictLibInternals.AnyArguments) => infer R
|
|
1940
|
+
? R
|
|
1941
|
+
: unknown;
|
|
1914
1942
|
|
|
1915
1943
|
/**
|
|
1916
1944
|
* Convert string literal type to uppercase
|
|
@@ -5721,6 +5749,36 @@ interface Date {
|
|
|
5721
5749
|
): string;
|
|
5722
5750
|
}
|
|
5723
5751
|
|
|
5752
|
+
declare namespace StrictLibInternals {
|
|
5753
|
+
/**
|
|
5754
|
+
* The rest-parameter type that means "matches any argument list". A
|
|
5755
|
+
* marker rather than a type anything has: it is `never`.
|
|
5756
|
+
*
|
|
5757
|
+
* `any` reads two ways in a function type, and only one of them is what
|
|
5758
|
+
* this library removes. `any` as a *value* — a return type, a property,
|
|
5759
|
+
* an argument a caller supplies — is the unsound one, and becomes
|
|
5760
|
+
* `unknown` or `never` here according to variance. `any` as a *wildcard*
|
|
5761
|
+
* — the `(...args: any)` in `ReturnType` — describes nothing at all: it
|
|
5762
|
+
* is there to switch the parameter comparison off, so that the
|
|
5763
|
+
* conditional matches whatever signature it is handed. The stock library
|
|
5764
|
+
* spells that marker two ways, `(...args: any)` in `ReturnType` and
|
|
5765
|
+
* `(...args: never)` in `ThisParameterType`. This library spells it one
|
|
5766
|
+
* way, and without `any`.
|
|
5767
|
+
*
|
|
5768
|
+
* Keep it a bare `never`. `never[]` and `readonly never[]` are ordinary
|
|
5769
|
+
* array types, checked like any array: neither is assignable to a tuple
|
|
5770
|
+
* with a required element, which is what the parameter list of the
|
|
5771
|
+
* signature being matched turns into once that signature's own rest
|
|
5772
|
+
* parameter stops being an array — as `@types/node`'s generic
|
|
5773
|
+
* `setTimeout` overload does. That is what made
|
|
5774
|
+
* `ReturnType<typeof setTimeout>` resolve to `unknown`, silently, a
|
|
5775
|
+
* conditional's false branch being a type rather than an error.
|
|
5776
|
+
*
|
|
5777
|
+
* @internal
|
|
5778
|
+
*/
|
|
5779
|
+
type AnyArguments = never;
|
|
5780
|
+
}
|
|
5781
|
+
|
|
5724
5782
|
type RawDateMutType = Date;
|
|
5725
5783
|
|
|
5726
5784
|
type RawDateType = Readonly<RawDateMutType>;
|
package/libs/es6/index.d.ts
CHANGED
|
@@ -1,3 +1,25 @@
|
|
|
1
|
+
/*! *****************************************************************************
|
|
2
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
4
|
+
this file except in compliance with the License. You may obtain a copy of the
|
|
5
|
+
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
|
|
7
|
+
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
8
|
+
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
9
|
+
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
10
|
+
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
11
|
+
|
|
12
|
+
See the Apache Version 2.0 License for specific language governing permissions
|
|
13
|
+
and limitations under the License.
|
|
14
|
+
***************************************************************************** */
|
|
15
|
+
|
|
16
|
+
/*
|
|
17
|
+
* Modified from TypeScript's `lib.es6.d.ts` by strict-ts-lib
|
|
18
|
+
* (https://github.com/noshiro-pf/mono): the declarations are rewritten with
|
|
19
|
+
* stricter types. This is not the original file. See the NOTICE and LICENSE
|
|
20
|
+
* files of the package this ships in.
|
|
21
|
+
*/
|
|
22
|
+
|
|
1
23
|
/// <reference no-default-lib="true"/>
|
|
2
24
|
|
|
3
25
|
/// <reference lib="es2015" />
|
|
@@ -1,3 +1,25 @@
|
|
|
1
|
+
/*! *****************************************************************************
|
|
2
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
4
|
+
this file except in compliance with the License. You may obtain a copy of the
|
|
5
|
+
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
|
|
7
|
+
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
8
|
+
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
9
|
+
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
10
|
+
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
11
|
+
|
|
12
|
+
See the Apache Version 2.0 License for specific language governing permissions
|
|
13
|
+
and limitations under the License.
|
|
14
|
+
***************************************************************************** */
|
|
15
|
+
|
|
16
|
+
/*
|
|
17
|
+
* Modified from TypeScript's `lib.esnext.decorators.d.ts` by strict-ts-lib
|
|
18
|
+
* (https://github.com/noshiro-pf/mono): the declarations are rewritten with
|
|
19
|
+
* stricter types. This is not the original file. See the NOTICE and LICENSE
|
|
20
|
+
* files of the package this ships in.
|
|
21
|
+
*/
|
|
22
|
+
|
|
1
23
|
/// <reference no-default-lib="true"/>
|
|
2
24
|
|
|
3
25
|
/// <reference lib="es2015.symbol" />
|
|
@@ -1,3 +1,25 @@
|
|
|
1
|
+
/*! *****************************************************************************
|
|
2
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
4
|
+
this file except in compliance with the License. You may obtain a copy of the
|
|
5
|
+
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
|
|
7
|
+
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
8
|
+
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
9
|
+
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
10
|
+
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
11
|
+
|
|
12
|
+
See the Apache Version 2.0 License for specific language governing permissions
|
|
13
|
+
and limitations under the License.
|
|
14
|
+
***************************************************************************** */
|
|
15
|
+
|
|
16
|
+
/*
|
|
17
|
+
* Modified from TypeScript's `lib.esnext.disposable.d.ts` by strict-ts-lib
|
|
18
|
+
* (https://github.com/noshiro-pf/mono): the declarations are rewritten with
|
|
19
|
+
* stricter types. This is not the original file. See the NOTICE and LICENSE
|
|
20
|
+
* files of the package this ships in.
|
|
21
|
+
*/
|
|
22
|
+
|
|
1
23
|
/// <reference no-default-lib="true"/>
|
|
2
24
|
|
|
3
25
|
/// <reference lib="es2015.symbol" />
|
|
@@ -1,3 +1,25 @@
|
|
|
1
|
+
/*! *****************************************************************************
|
|
2
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
4
|
+
this file except in compliance with the License. You may obtain a copy of the
|
|
5
|
+
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
|
|
7
|
+
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
8
|
+
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
9
|
+
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
10
|
+
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
11
|
+
|
|
12
|
+
See the Apache Version 2.0 License for specific language governing permissions
|
|
13
|
+
and limitations under the License.
|
|
14
|
+
***************************************************************************** */
|
|
15
|
+
|
|
16
|
+
/*
|
|
17
|
+
* Modified from TypeScript's `lib.esnext.full.d.ts` by strict-ts-lib
|
|
18
|
+
* (https://github.com/noshiro-pf/mono): the declarations are rewritten with
|
|
19
|
+
* stricter types. This is not the original file. See the NOTICE and LICENSE
|
|
20
|
+
* files of the package this ships in.
|
|
21
|
+
*/
|
|
22
|
+
|
|
1
23
|
/// <reference no-default-lib="true"/>
|
|
2
24
|
|
|
3
25
|
/// <reference lib="esnext" />
|
package/libs/esnext/index.d.ts
CHANGED
|
@@ -1,3 +1,25 @@
|
|
|
1
|
+
/*! *****************************************************************************
|
|
2
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
4
|
+
this file except in compliance with the License. You may obtain a copy of the
|
|
5
|
+
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
|
|
7
|
+
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
8
|
+
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
9
|
+
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
10
|
+
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
11
|
+
|
|
12
|
+
See the Apache Version 2.0 License for specific language governing permissions
|
|
13
|
+
and limitations under the License.
|
|
14
|
+
***************************************************************************** */
|
|
15
|
+
|
|
16
|
+
/*
|
|
17
|
+
* Modified from TypeScript's `lib.esnext.d.ts` by strict-ts-lib
|
|
18
|
+
* (https://github.com/noshiro-pf/mono): the declarations are rewritten with
|
|
19
|
+
* stricter types. This is not the original file. See the NOTICE and LICENSE
|
|
20
|
+
* files of the package this ships in.
|
|
21
|
+
*/
|
|
22
|
+
|
|
1
23
|
/// <reference no-default-lib="true"/>
|
|
2
24
|
|
|
3
25
|
/// <reference lib="es2023" />
|
|
@@ -1,3 +1,25 @@
|
|
|
1
|
+
/*! *****************************************************************************
|
|
2
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
4
|
+
this file except in compliance with the License. You may obtain a copy of the
|
|
5
|
+
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
|
|
7
|
+
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
8
|
+
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
9
|
+
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
10
|
+
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
11
|
+
|
|
12
|
+
See the Apache Version 2.0 License for specific language governing permissions
|
|
13
|
+
and limitations under the License.
|
|
14
|
+
***************************************************************************** */
|
|
15
|
+
|
|
16
|
+
/*
|
|
17
|
+
* Modified from TypeScript's `lib.esnext.intl.d.ts` by strict-ts-lib
|
|
18
|
+
* (https://github.com/noshiro-pf/mono): the declarations are rewritten with
|
|
19
|
+
* stricter types. This is not the original file. See the NOTICE and LICENSE
|
|
20
|
+
* files of the package this ships in.
|
|
21
|
+
*/
|
|
22
|
+
|
|
1
23
|
/// <reference no-default-lib="true"/>
|
|
2
24
|
|
|
3
25
|
declare namespace Intl {
|
|
@@ -1,3 +1,25 @@
|
|
|
1
|
+
/*! *****************************************************************************
|
|
2
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
4
|
+
this file except in compliance with the License. You may obtain a copy of the
|
|
5
|
+
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
|
|
7
|
+
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
8
|
+
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
9
|
+
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
10
|
+
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
11
|
+
|
|
12
|
+
See the Apache Version 2.0 License for specific language governing permissions
|
|
13
|
+
and limitations under the License.
|
|
14
|
+
***************************************************************************** */
|
|
15
|
+
|
|
16
|
+
/*
|
|
17
|
+
* Modified from TypeScript's `lib.scripthost.d.ts` by strict-ts-lib
|
|
18
|
+
* (https://github.com/noshiro-pf/mono): the declarations are rewritten with
|
|
19
|
+
* stricter types. This is not the original file. See the NOTICE and LICENSE
|
|
20
|
+
* files of the package this ships in.
|
|
21
|
+
*/
|
|
22
|
+
|
|
1
23
|
/// <reference no-default-lib="true"/>
|
|
2
24
|
|
|
3
25
|
/////////////////////////////
|
|
@@ -1,3 +1,25 @@
|
|
|
1
|
+
/*! *****************************************************************************
|
|
2
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
4
|
+
this file except in compliance with the License. You may obtain a copy of the
|
|
5
|
+
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
|
|
7
|
+
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
8
|
+
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
9
|
+
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
10
|
+
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
11
|
+
|
|
12
|
+
See the Apache Version 2.0 License for specific language governing permissions
|
|
13
|
+
and limitations under the License.
|
|
14
|
+
***************************************************************************** */
|
|
15
|
+
|
|
16
|
+
/*
|
|
17
|
+
* Modified from TypeScript's `lib.webworker.importscripts.d.ts` by strict-ts-lib
|
|
18
|
+
* (https://github.com/noshiro-pf/mono): the declarations are rewritten with
|
|
19
|
+
* stricter types. This is not the original file. See the NOTICE and LICENSE
|
|
20
|
+
* files of the package this ships in.
|
|
21
|
+
*/
|
|
22
|
+
|
|
1
23
|
/// <reference no-default-lib="true"/>
|
|
2
24
|
|
|
3
25
|
/////////////////////////////
|
|
@@ -1,3 +1,25 @@
|
|
|
1
|
+
/*! *****************************************************************************
|
|
2
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
4
|
+
this file except in compliance with the License. You may obtain a copy of the
|
|
5
|
+
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
|
|
7
|
+
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
8
|
+
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
9
|
+
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
10
|
+
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
11
|
+
|
|
12
|
+
See the Apache Version 2.0 License for specific language governing permissions
|
|
13
|
+
and limitations under the License.
|
|
14
|
+
***************************************************************************** */
|
|
15
|
+
|
|
16
|
+
/*
|
|
17
|
+
* Modified from TypeScript's `lib.webworker.d.ts` by strict-ts-lib
|
|
18
|
+
* (https://github.com/noshiro-pf/mono): the declarations are rewritten with
|
|
19
|
+
* stricter types. This is not the original file. See the NOTICE and LICENSE
|
|
20
|
+
* files of the package this ships in.
|
|
21
|
+
*/
|
|
22
|
+
|
|
1
23
|
/// <reference no-default-lib="true"/>
|
|
2
24
|
|
|
3
25
|
/////////////////////////////
|
|
@@ -1,3 +1,25 @@
|
|
|
1
|
+
/*! *****************************************************************************
|
|
2
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
4
|
+
this file except in compliance with the License. You may obtain a copy of the
|
|
5
|
+
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
|
|
7
|
+
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
8
|
+
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
9
|
+
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
10
|
+
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
11
|
+
|
|
12
|
+
See the Apache Version 2.0 License for specific language governing permissions
|
|
13
|
+
and limitations under the License.
|
|
14
|
+
***************************************************************************** */
|
|
15
|
+
|
|
16
|
+
/*
|
|
17
|
+
* Modified from TypeScript's `lib.webworker.iterable.d.ts` by strict-ts-lib
|
|
18
|
+
* (https://github.com/noshiro-pf/mono): the declarations are rewritten with
|
|
19
|
+
* stricter types. This is not the original file. See the NOTICE and LICENSE
|
|
20
|
+
* files of the package this ships in.
|
|
21
|
+
*/
|
|
22
|
+
|
|
1
23
|
/// <reference no-default-lib="true"/>
|
|
2
24
|
|
|
3
25
|
/////////////////////////////
|
|
@@ -1,4 +1,27 @@
|
|
|
1
|
+
/*! *****************************************************************************
|
|
2
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
4
|
+
this file except in compliance with the License. You may obtain a copy of the
|
|
5
|
+
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
|
|
7
|
+
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
8
|
+
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
9
|
+
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
10
|
+
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
11
|
+
|
|
12
|
+
See the Apache Version 2.0 License for specific language governing permissions
|
|
13
|
+
and limitations under the License.
|
|
14
|
+
***************************************************************************** */
|
|
15
|
+
|
|
16
|
+
/*
|
|
17
|
+
* Modified from TypeScript's `lib.decorators.d.ts` by strict-ts-lib
|
|
18
|
+
* (https://github.com/noshiro-pf/mono): the declarations are rewritten with
|
|
19
|
+
* stricter types. This is not the original file. See the NOTICE and LICENSE
|
|
20
|
+
* files of the package this ships in.
|
|
21
|
+
*/
|
|
22
|
+
|
|
1
23
|
/// <reference no-default-lib="true"/>
|
|
24
|
+
/// <reference lib="es5" />
|
|
2
25
|
|
|
3
26
|
/**
|
|
4
27
|
* The decorator context types provided to class element decorators.
|
|
@@ -28,8 +51,11 @@ type DecoratorMetadata = typeof globalThis extends {
|
|
|
28
51
|
* @template Class The type of the decorated class associated with this context.
|
|
29
52
|
*/
|
|
30
53
|
interface ClassDecoratorContext<
|
|
31
|
-
Class extends abstract new (
|
|
32
|
-
|
|
54
|
+
Class extends abstract new (
|
|
55
|
+
...args: StrictLibInternals.AnyArguments
|
|
56
|
+
) => unknown = abstract new (
|
|
57
|
+
...args: StrictLibInternals.AnyArguments
|
|
58
|
+
) => unknown,
|
|
33
59
|
> {
|
|
34
60
|
/** The kind of element that was decorated. */
|
|
35
61
|
readonly kind: 'class';
|
|
@@ -67,9 +93,12 @@ interface ClassDecoratorContext<
|
|
|
67
93
|
*/
|
|
68
94
|
interface ClassMethodDecoratorContext<
|
|
69
95
|
This = unknown,
|
|
70
|
-
Value extends (
|
|
96
|
+
Value extends (
|
|
97
|
+
this: This,
|
|
98
|
+
...args: StrictLibInternals.AnyArguments
|
|
99
|
+
) => unknown = (
|
|
71
100
|
this: This,
|
|
72
|
-
...args:
|
|
101
|
+
...args: StrictLibInternals.AnyArguments
|
|
73
102
|
) => unknown,
|
|
74
103
|
> {
|
|
75
104
|
/** The kind of class element that was decorated. */
|
|
@@ -1,3 +1,25 @@
|
|
|
1
|
+
/*! *****************************************************************************
|
|
2
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
4
|
+
this file except in compliance with the License. You may obtain a copy of the
|
|
5
|
+
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
|
|
7
|
+
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
8
|
+
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
9
|
+
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
10
|
+
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
11
|
+
|
|
12
|
+
See the Apache Version 2.0 License for specific language governing permissions
|
|
13
|
+
and limitations under the License.
|
|
14
|
+
***************************************************************************** */
|
|
15
|
+
|
|
16
|
+
/*
|
|
17
|
+
* Modified from TypeScript's `lib.decorators.legacy.d.ts` by strict-ts-lib
|
|
18
|
+
* (https://github.com/noshiro-pf/mono): the declarations are rewritten with
|
|
19
|
+
* stricter types. This is not the original file. See the NOTICE and LICENSE
|
|
20
|
+
* files of the package this ships in.
|
|
21
|
+
*/
|
|
22
|
+
|
|
1
23
|
/// <reference no-default-lib="true"/>
|
|
2
24
|
|
|
3
25
|
declare type ClassDecorator = <TFunction extends Function>(
|
|
@@ -1,3 +1,25 @@
|
|
|
1
|
+
/*! *****************************************************************************
|
|
2
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
4
|
+
this file except in compliance with the License. You may obtain a copy of the
|
|
5
|
+
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
|
|
7
|
+
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
8
|
+
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
9
|
+
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
10
|
+
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
11
|
+
|
|
12
|
+
See the Apache Version 2.0 License for specific language governing permissions
|
|
13
|
+
and limitations under the License.
|
|
14
|
+
***************************************************************************** */
|
|
15
|
+
|
|
16
|
+
/*
|
|
17
|
+
* Modified from TypeScript's `lib.dom.d.ts` by strict-ts-lib
|
|
18
|
+
* (https://github.com/noshiro-pf/mono): the declarations are rewritten with
|
|
19
|
+
* stricter types. This is not the original file. See the NOTICE and LICENSE
|
|
20
|
+
* files of the package this ships in.
|
|
21
|
+
*/
|
|
22
|
+
|
|
1
23
|
/// <reference no-default-lib="true"/>
|
|
2
24
|
|
|
3
25
|
/////////////////////////////
|
|
@@ -1,3 +1,25 @@
|
|
|
1
|
+
/*! *****************************************************************************
|
|
2
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
4
|
+
this file except in compliance with the License. You may obtain a copy of the
|
|
5
|
+
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
|
|
7
|
+
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
8
|
+
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
9
|
+
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
10
|
+
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
11
|
+
|
|
12
|
+
See the Apache Version 2.0 License for specific language governing permissions
|
|
13
|
+
and limitations under the License.
|
|
14
|
+
***************************************************************************** */
|
|
15
|
+
|
|
16
|
+
/*
|
|
17
|
+
* Modified from TypeScript's `lib.dom.iterable.d.ts` by strict-ts-lib
|
|
18
|
+
* (https://github.com/noshiro-pf/mono): the declarations are rewritten with
|
|
19
|
+
* stricter types. This is not the original file. See the NOTICE and LICENSE
|
|
20
|
+
* files of the package this ships in.
|
|
21
|
+
*/
|
|
22
|
+
|
|
1
23
|
/// <reference no-default-lib="true"/>
|
|
2
24
|
|
|
3
25
|
/////////////////////////////
|
|
@@ -1,3 +1,25 @@
|
|
|
1
|
+
/*! *****************************************************************************
|
|
2
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
4
|
+
this file except in compliance with the License. You may obtain a copy of the
|
|
5
|
+
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
|
|
7
|
+
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
8
|
+
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
9
|
+
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
10
|
+
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
11
|
+
|
|
12
|
+
See the Apache Version 2.0 License for specific language governing permissions
|
|
13
|
+
and limitations under the License.
|
|
14
|
+
***************************************************************************** */
|
|
15
|
+
|
|
16
|
+
/*
|
|
17
|
+
* Modified from TypeScript's `lib.es2015.collection.d.ts` by strict-ts-lib
|
|
18
|
+
* (https://github.com/noshiro-pf/mono): the declarations are rewritten with
|
|
19
|
+
* stricter types. This is not the original file. See the NOTICE and LICENSE
|
|
20
|
+
* files of the package this ships in.
|
|
21
|
+
*/
|
|
22
|
+
|
|
1
23
|
/// <reference no-default-lib="true"/>
|
|
2
24
|
|
|
3
25
|
interface Map<K, V> {
|
|
@@ -1,3 +1,25 @@
|
|
|
1
|
+
/*! *****************************************************************************
|
|
2
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
4
|
+
this file except in compliance with the License. You may obtain a copy of the
|
|
5
|
+
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
|
|
7
|
+
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
8
|
+
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
9
|
+
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
10
|
+
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
11
|
+
|
|
12
|
+
See the Apache Version 2.0 License for specific language governing permissions
|
|
13
|
+
and limitations under the License.
|
|
14
|
+
***************************************************************************** */
|
|
15
|
+
|
|
16
|
+
/*
|
|
17
|
+
* Modified from TypeScript's `lib.es2015.core.d.ts` by strict-ts-lib
|
|
18
|
+
* (https://github.com/noshiro-pf/mono): the declarations are rewritten with
|
|
19
|
+
* stricter types. This is not the original file. See the NOTICE and LICENSE
|
|
20
|
+
* files of the package this ships in.
|
|
21
|
+
*/
|
|
22
|
+
|
|
1
23
|
/// <reference no-default-lib="true"/>
|
|
2
24
|
|
|
3
25
|
interface Array<T> {
|