diff --git a/.changeset/early-queens-prove.md b/.changeset/early-queens-prove.md new file mode 100644 index 0000000000000..a2e42c6a913ce --- /dev/null +++ b/.changeset/early-queens-prove.md @@ -0,0 +1,5 @@ +--- +"@medusajs/types": patch +--- + +fix(types): Prev limit wrong values diff --git a/packages/core/types/src/dal/utils.ts b/packages/core/types/src/dal/utils.ts index 76d218985dbf7..f99a7e49f4750 100644 --- a/packages/core/types/src/dal/utils.ts +++ b/packages/core/types/src/dal/utils.ts @@ -82,7 +82,7 @@ type FilterValue = | FilterValue2[] | null -type PrevLimit = [never, 1, 2, 3] +type PrevLimit = [never, 0, 1, 2] export type FilterQuery = Prev extends never ? never