@etsoo/shared 1.2.21 → 1.2.22
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.
- package/lib/cjs/DataTypes.d.ts +1 -1
- package/lib/mjs/DataTypes.d.ts +1 -1
- package/package.json +1 -1
- package/src/DataTypes.ts +1 -1
package/lib/cjs/DataTypes.d.ts
CHANGED
|
@@ -433,7 +433,7 @@ export type ListType2 = {
|
|
|
433
433
|
*/
|
|
434
434
|
export type IdDefaultType<T extends object, I extends IdType = IdType> = T extends {
|
|
435
435
|
id: I;
|
|
436
|
-
} ? DataTypes.Keys<T> & 'id' : DataTypes.Keys<T>;
|
|
436
|
+
} ? DataTypes.Keys<T, I> & 'id' : DataTypes.Keys<T, I>;
|
|
437
437
|
/**
|
|
438
438
|
* Label default type
|
|
439
439
|
*/
|
package/lib/mjs/DataTypes.d.ts
CHANGED
|
@@ -433,7 +433,7 @@ export type ListType2 = {
|
|
|
433
433
|
*/
|
|
434
434
|
export type IdDefaultType<T extends object, I extends IdType = IdType> = T extends {
|
|
435
435
|
id: I;
|
|
436
|
-
} ? DataTypes.Keys<T> & 'id' : DataTypes.Keys<T>;
|
|
436
|
+
} ? DataTypes.Keys<T, I> & 'id' : DataTypes.Keys<T, I>;
|
|
437
437
|
/**
|
|
438
438
|
* Label default type
|
|
439
439
|
*/
|
package/package.json
CHANGED
package/src/DataTypes.ts
CHANGED
|
@@ -801,7 +801,7 @@ export type ListType2 = {
|
|
|
801
801
|
export type IdDefaultType<
|
|
802
802
|
T extends object,
|
|
803
803
|
I extends IdType = IdType
|
|
804
|
-
> = T extends { id: I } ? DataTypes.Keys<T> & 'id' : DataTypes.Keys<T>;
|
|
804
|
+
> = T extends { id: I } ? DataTypes.Keys<T, I> & 'id' : DataTypes.Keys<T, I>;
|
|
805
805
|
|
|
806
806
|
/**
|
|
807
807
|
* Label default type
|