Comparing version 0.31.0 to 0.32.0
@@ -101,4 +101,5 @@ import type { DescribeOptions } from "./describe.ts"; | ||
export type BuiltinObjectKind = keyof builtinConstructors; | ||
export type GlobalName = keyof typeof globalThis; | ||
type instantiateConstructors<kind extends BuiltinObjectKind> = { | ||
[k in kind]: InstanceType<builtinConstructors[k]>; | ||
[k in kind]: k extends GlobalName ? InstanceType<(typeof globalThis)[k]> : `${k}Constructor` extends GlobalName ? InstanceType<(typeof globalThis)[`${k}Constructor`]> : never; | ||
}; | ||
@@ -105,0 +106,0 @@ export type BuiltinObjects = instantiateConstructors<BuiltinObjectKind>; |
@@ -1,2 +0,2 @@ | ||
export declare const arkUtilVersion = "0.31.0"; | ||
export declare const arkUtilVersion = "0.32.0"; | ||
export declare const initialRegistryContents: { | ||
@@ -3,0 +3,0 @@ version: string; |
@@ -8,3 +8,3 @@ import { domainOf } from "./domain.js"; | ||
// For now, we assert this matches the package.json version via a unit test. | ||
export const arkUtilVersion = "0.31.0"; | ||
export const arkUtilVersion = "0.32.0"; | ||
export const initialRegistryContents = { | ||
@@ -11,0 +11,0 @@ version: arkUtilVersion, |
{ | ||
"name": "@ark/util", | ||
"version": "0.31.0", | ||
"version": "0.32.0", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "author": { |
104092
2275