remult 0.25.8-exp.13 → 0.25.8-exp.14
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/package.json +1 -1
- package/src/remult3/remult3.d.ts +1 -1
package/package.json
CHANGED
package/src/remult3/remult3.d.ts
CHANGED
|
@@ -240,7 +240,7 @@ export declare type MembersOnly<T> = {
|
|
|
240
240
|
};
|
|
241
241
|
export declare type idType<entityType> = entityType extends {
|
|
242
242
|
id?: infer U;
|
|
243
|
-
} ? U : string | number;
|
|
243
|
+
} ? U extends string ? string : U extends number ? number : string | number : string | number;
|
|
244
244
|
/**used to perform CRUD operations on an `entityType` */
|
|
245
245
|
export interface Repository<entityType> {
|
|
246
246
|
/** returns a result array based on the provided options */
|