@arcgis/toolkit 5.0.0-next.84 → 5.0.0-next.86

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.
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const typeTest = 0;
4
+ exports.typeTest = typeTest;
@@ -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;
@@ -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;
@@ -0,0 +1,4 @@
1
+ const typeTest = 0;
2
+ export {
3
+ typeTest
4
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/toolkit",
3
- "version": "5.0.0-next.84",
3
+ "version": "5.0.0-next.86",
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",