diff --git a/package.json b/package.json index bf5e124..4a65eb2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ticketbridge/hyper-durable", - "version": "0.1.16", + "version": "0.1.17", "description": "Object-like access to Durable Object properties and methods", "repository": { "type": "git", diff --git a/src/index.d.ts b/src/index.d.ts index c21d707..47cf6cf 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -57,9 +57,9 @@ export class HyperNamespaceProxy, Env> { } // TODO: Don't rely on undocumented behavior -export function proxyHyperDurables, Env, K extends string, DO extends HyperDurable>( +export function proxyHyperDurables, Env, K extends string, DO extends InstanceType>>( env: Env, doBindings: Bindings ): { - [Prop in keyof Bindings]: HyperNamespaceProxy + [Prop in keyof Bindings]: HyperNamespaceProxy }