Skip to content

Commit 915df5d

Browse files
committed
fix: change match's value type to unknown
1 parent 9df1e84 commit 915df5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/PostgrestFilterBuilder.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ export default class PostgrestFilterBuilder<T> extends PostgrestTransformBuilder
438438
* @param query The object to filter with, with column names as keys mapped
439439
* to their filter values.
440440
*/
441-
match(query: { [key: string]: string }) {
441+
match(query: Record<string, unknown>): this {
442442
Object.keys(query).forEach((key) => {
443443
this.url.searchParams.append(`${key}`, `eq.${query[key]}`)
444444
})

0 commit comments

Comments
 (0)