Skip to content

Commit a373c6d

Browse files
fix(types): Fix gsg update hooks primary attribute type.
1 parent 0055486 commit a373c6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types/types.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ export type UpdateAfterHook<M extends Model<any>, TContext = any> = (params: {
340340
export type MinimumUpdateProperties<M extends Model<any>> = Partial<
341341
InferAttributes<M>
342342
> & {
343-
id: string
343+
id: string | number
344344
}
345345

346346
export type DeleteBeforeFetchHook<

0 commit comments

Comments
 (0)