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.es2021.string.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 String {
|
|
@@ -15,6 +37,9 @@ interface String {
|
|
|
15
37
|
*/
|
|
16
38
|
replaceAll(
|
|
17
39
|
searchValue: string | RegExp,
|
|
18
|
-
replacer: (
|
|
40
|
+
replacer: (
|
|
41
|
+
substring: string,
|
|
42
|
+
...args: readonly (string | undefined)[]
|
|
43
|
+
) => string,
|
|
19
44
|
): string;
|
|
20
45
|
}
|
|
@@ -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.es2021.weakref.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 WeakRef<T extends WeakKey> {
|
|
@@ -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.es2022.array.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> {
|
|
@@ -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.es2022.error.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 ErrorOptions {
|
|
@@ -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.es2022.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="es2022" />
|
|
@@ -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.es2022.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="es2021" />
|
|
@@ -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.es2022.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.es2022.object.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
|
/// <reference lib="es5" />
|
|
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.es2022.regexp.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 RegExpMatchArray {
|
|
@@ -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.es2022.sharedmemory.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 Atomics {
|
|
@@ -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.es2022.string.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 String {
|
|
@@ -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.array.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> {
|
|
@@ -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.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 WeakKeyTypes {
|
|
@@ -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" />
|
|
@@ -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" />
|
|
@@ -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" />
|
|
@@ -354,7 +376,10 @@ declare const Function: FunctionConstructor;
|
|
|
354
376
|
/**
|
|
355
377
|
* Extracts the type of the 'this' parameter of a function type, or 'unknown' if the function type has no 'this' parameter.
|
|
356
378
|
*/
|
|
357
|
-
type ThisParameterType<T> = T extends (
|
|
379
|
+
type ThisParameterType<T> = T extends (
|
|
380
|
+
this: infer U,
|
|
381
|
+
...args: StrictLibInternals.AnyArguments
|
|
382
|
+
) => unknown
|
|
358
383
|
? U
|
|
359
384
|
: unknown;
|
|
360
385
|
|
|
@@ -541,7 +566,10 @@ interface String {
|
|
|
541
566
|
*/
|
|
542
567
|
replace(
|
|
543
568
|
searchValue: string | RegExp,
|
|
544
|
-
replacer: (
|
|
569
|
+
replacer: (
|
|
570
|
+
substring: string,
|
|
571
|
+
...args: readonly (string | undefined)[]
|
|
572
|
+
) => string,
|
|
545
573
|
): string;
|
|
546
574
|
|
|
547
575
|
/**
|
|
@@ -2038,25 +2066,23 @@ type NonNullable<T> = T & {};
|
|
|
2038
2066
|
/**
|
|
2039
2067
|
* Obtain the parameters of a function type in a tuple
|
|
2040
2068
|
*/
|
|
2041
|
-
type Parameters<
|
|
2042
|
-
...args:
|
|
2043
|
-
) => unknown
|
|
2044
|
-
? P
|
|
2045
|
-
: never;
|
|
2069
|
+
type Parameters<
|
|
2070
|
+
T extends (...args: StrictLibInternals.AnyArguments) => unknown,
|
|
2071
|
+
> = T extends (...args: infer P) => unknown ? P : never;
|
|
2046
2072
|
|
|
2047
2073
|
/**
|
|
2048
2074
|
* Obtain the parameters of a constructor function type in a tuple
|
|
2049
2075
|
*/
|
|
2050
2076
|
type ConstructorParameters<
|
|
2051
|
-
T extends abstract new (...args:
|
|
2077
|
+
T extends abstract new (...args: StrictLibInternals.AnyArguments) => unknown,
|
|
2052
2078
|
> = T extends abstract new (...args: infer P) => unknown ? P : never;
|
|
2053
2079
|
|
|
2054
2080
|
/**
|
|
2055
2081
|
* Obtain the return type of a function type
|
|
2056
2082
|
*/
|
|
2057
|
-
type ReturnType<
|
|
2058
|
-
...args:
|
|
2059
|
-
) => infer R
|
|
2083
|
+
type ReturnType<
|
|
2084
|
+
T extends (...args: StrictLibInternals.AnyArguments) => unknown,
|
|
2085
|
+
> = T extends (...args: StrictLibInternals.AnyArguments) => infer R
|
|
2060
2086
|
? R
|
|
2061
2087
|
: unknown;
|
|
2062
2088
|
|
|
@@ -2064,8 +2090,10 @@ type ReturnType<T extends (...args: readonly never[]) => unknown> = T extends (
|
|
|
2064
2090
|
* Obtain the return type of a constructor function type
|
|
2065
2091
|
*/
|
|
2066
2092
|
type InstanceType<
|
|
2067
|
-
T extends abstract new (...args:
|
|
2068
|
-
> = T extends abstract new (...args:
|
|
2093
|
+
T extends abstract new (...args: StrictLibInternals.AnyArguments) => unknown,
|
|
2094
|
+
> = T extends abstract new (...args: StrictLibInternals.AnyArguments) => infer R
|
|
2095
|
+
? R
|
|
2096
|
+
: unknown;
|
|
2069
2097
|
|
|
2070
2098
|
/**
|
|
2071
2099
|
* Convert string literal type to uppercase
|
|
@@ -6346,6 +6374,36 @@ interface Date {
|
|
|
6346
6374
|
): string;
|
|
6347
6375
|
}
|
|
6348
6376
|
|
|
6377
|
+
declare namespace StrictLibInternals {
|
|
6378
|
+
/**
|
|
6379
|
+
* The rest-parameter type that means "matches any argument list". A
|
|
6380
|
+
* marker rather than a type anything has: it is `never`.
|
|
6381
|
+
*
|
|
6382
|
+
* `any` reads two ways in a function type, and only one of them is what
|
|
6383
|
+
* this library removes. `any` as a *value* — a return type, a property,
|
|
6384
|
+
* an argument a caller supplies — is the unsound one, and becomes
|
|
6385
|
+
* `unknown` or `never` here according to variance. `any` as a *wildcard*
|
|
6386
|
+
* — the `(...args: any)` in `ReturnType` — describes nothing at all: it
|
|
6387
|
+
* is there to switch the parameter comparison off, so that the
|
|
6388
|
+
* conditional matches whatever signature it is handed. The stock library
|
|
6389
|
+
* spells that marker two ways, `(...args: any)` in `ReturnType` and
|
|
6390
|
+
* `(...args: never)` in `ThisParameterType`. This library spells it one
|
|
6391
|
+
* way, and without `any`.
|
|
6392
|
+
*
|
|
6393
|
+
* Keep it a bare `never`. `never[]` and `readonly never[]` are ordinary
|
|
6394
|
+
* array types, checked like any array: neither is assignable to a tuple
|
|
6395
|
+
* with a required element, which is what the parameter list of the
|
|
6396
|
+
* signature being matched turns into once that signature's own rest
|
|
6397
|
+
* parameter stops being an array — as `@types/node`'s generic
|
|
6398
|
+
* `setTimeout` overload does. That is what made
|
|
6399
|
+
* `ReturnType<typeof setTimeout>` resolve to `unknown`, silently, a
|
|
6400
|
+
* conditional's false branch being a type rather than an error.
|
|
6401
|
+
*
|
|
6402
|
+
* @internal
|
|
6403
|
+
*/
|
|
6404
|
+
type AnyArguments = never;
|
|
6405
|
+
}
|
|
6406
|
+
|
|
6349
6407
|
type RawDateMutType = Date;
|
|
6350
6408
|
|
|
6351
6409
|
type RawDateType = Readonly<RawDateMutType>;
|
|
@@ -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" />
|