@tsonic/js-globals 0.1.0 → 0.1.1

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.
Files changed (2) hide show
  1. package/index.d.ts +1 -2
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -13,6 +13,7 @@
13
13
  declare global {
14
14
  /**
15
15
  * Primitive types (required by TypeScript compiler)
16
+ * Note: null, void are intrinsic and don't need type aliases
16
17
  */
17
18
  type string = string;
18
19
  type number = number;
@@ -20,11 +21,9 @@ declare global {
20
21
  type symbol = symbol;
21
22
  type bigint = bigint;
22
23
  type undefined = undefined;
23
- type null = null;
24
24
  type any = any;
25
25
  type unknown = unknown;
26
26
  type never = never;
27
- type void = void;
28
27
 
29
28
  /**
30
29
  * Array type with full JavaScript API
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsonic/js-globals",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Global type definitions for Tsonic JS mode (noLib: true, JavaScript semantics)",
5
5
  "main": "index.d.ts",
6
6
  "types": "index.d.ts",