@arcgis/toolkit 5.0.0-next.84 → 5.0.0-next.85
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/dist/type/index.cjs +4 -0
- package/dist/type/index.d.cts +14 -0
- package/dist/type/index.d.ts +14 -0
- package/dist/type/index.js +4 -0
- package/package.json +4 -2
package/dist/type/index.d.cts
CHANGED
|
@@ -13,3 +13,17 @@ export type IHandle = {
|
|
|
13
13
|
* @deprecated Import type { nil } from `@arcgis/toolkit/type` instead
|
|
14
14
|
*/
|
|
15
15
|
export type Nil = nil;
|
|
16
|
+
/**
|
|
17
|
+
* A helper for doing TypeScript type tests.
|
|
18
|
+
* This complements the TypeScript's `satisfies` operator.
|
|
19
|
+
*
|
|
20
|
+
* See usage examples:
|
|
21
|
+
* https://webgis.esri.com/webgis/additional-resources/typescript-tips#use-satisfies-operator-for-type-tests
|
|
22
|
+
*
|
|
23
|
+
* During production end-application build, such type tests will be removed as
|
|
24
|
+
* they have no runtime impact.
|
|
25
|
+
*
|
|
26
|
+
* @privateRemarks
|
|
27
|
+
* Using `0` over `undefined` to take fewer bytes if minifier is disabled.
|
|
28
|
+
*/
|
|
29
|
+
export declare const typeTest: unknown;
|
package/dist/type/index.d.ts
CHANGED
|
@@ -13,3 +13,17 @@ export type IHandle = {
|
|
|
13
13
|
* @deprecated Import type { nil } from `@arcgis/toolkit/type` instead
|
|
14
14
|
*/
|
|
15
15
|
export type Nil = nil;
|
|
16
|
+
/**
|
|
17
|
+
* A helper for doing TypeScript type tests.
|
|
18
|
+
* This complements the TypeScript's `satisfies` operator.
|
|
19
|
+
*
|
|
20
|
+
* See usage examples:
|
|
21
|
+
* https://webgis.esri.com/webgis/additional-resources/typescript-tips#use-satisfies-operator-for-type-tests
|
|
22
|
+
*
|
|
23
|
+
* During production end-application build, such type tests will be removed as
|
|
24
|
+
* they have no runtime impact.
|
|
25
|
+
*
|
|
26
|
+
* @privateRemarks
|
|
27
|
+
* Using `0` over `undefined` to take fewer bytes if minifier is disabled.
|
|
28
|
+
*/
|
|
29
|
+
export declare const typeTest: unknown;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/toolkit",
|
|
3
|
-
"version": "5.0.0-next.
|
|
3
|
+
"version": "5.0.0-next.85",
|
|
4
4
|
"description": "Collection of common internal patterns and utilities for ArcGIS Maps SDK for JavaScript components.",
|
|
5
5
|
"homepage": "https://developers.arcgis.com/javascript/latest/",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -57,7 +57,9 @@
|
|
|
57
57
|
"require": "./dist/string/index.cjs"
|
|
58
58
|
},
|
|
59
59
|
"./type": {
|
|
60
|
-
"types": "./dist/type/index.d.ts"
|
|
60
|
+
"types": "./dist/type/index.d.ts",
|
|
61
|
+
"import": "./dist/type/index.js",
|
|
62
|
+
"require": "./dist/type/index.cjs"
|
|
61
63
|
},
|
|
62
64
|
"./url": {
|
|
63
65
|
"types": "./dist/url/index.d.ts",
|