entropic-bond 1.34.13 → 1.34.15

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.
@@ -7,6 +7,7 @@ export declare type ClassPropNames<T> = {
7
7
  }[keyof T];
8
8
  export declare type ClassProps<T> = Pick<T, ClassPropNames<T>>;
9
9
  export declare type SomeClassProps<T> = Partial<ClassProps<T>>;
10
+ export declare type SomeClassPropNames<T> = Partial<ClassPropNames<T>>;
10
11
  export declare type ClassArrayPropNames<T> = {
11
12
  [K in keyof T]: T[K] extends unknown[] | Readonly<unknown[]> ? K : never;
12
13
  }[keyof T];
@@ -15,3 +16,6 @@ export declare type Elements<T extends ReadonlyArray<any> | ArrayLike<any> | Rec
15
16
  export interface Collection<T> {
16
17
  [key: string | symbol]: T;
17
18
  }
19
+ export declare type ClassPropNamesOfType<T, U> = {
20
+ [K in keyof T]: T[K] extends Function ? never : T[K] extends U ? K : never;
21
+ }[keyof T];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "entropic-bond",
3
- "version": "1.34.13",
3
+ "version": "1.34.15",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "branches": [