@todesktop/client-util
Advanced tools
Comparing version 1.0.0-alpha22 to 1.0.0-alpha23
@@ -54,7 +54,7 @@ /** | ||
} | ||
type ChangeInstancesToInstanceRefsSingle<T> = T extends NamespacesInstancesV1[keyof NamespacesInstancesV1] ? InstanceRefObject : T; | ||
type ChangeInstancesToInstanceRefsInParams<Obj> = { | ||
export type ChangeInstancesToInstanceRefsSingle<T> = T extends NamespacesInstancesV1[keyof NamespacesInstancesV1] ? InstanceRefObject : T; | ||
export type ChangeInstancesToInstanceRefsInParams<Obj> = { | ||
[K in keyof Obj]: ChangeInstancesToInstanceRefsSingle<Obj[K]>; | ||
}; | ||
type ChangeInstancesToInstanceRefs<T> = T extends unknown[] ? ChangeInstancesToInstanceRefsInParams<T> : ChangeInstancesToInstanceRefsSingle<T>; | ||
export type ChangeInstancesToInstanceRefs<T> = T extends unknown[] ? ChangeInstancesToInstanceRefsInParams<T> : ChangeInstancesToInstanceRefsSingle<T>; | ||
/** | ||
@@ -61,0 +61,0 @@ * @internal |
{ | ||
"name": "@todesktop/client-util", | ||
"version": "1.0.0-alpha22", | ||
"version": "1.0.0-alpha23", | ||
"description": "Utility functions for ToDesktop client libraries", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23195