Skip to content

Commit

Permalink
Remove un-needed optional declaration on context param for MigrationF…
Browse files Browse the repository at this point in the history
…unction
  • Loading branch information
Sebbe Selvig committed Nov 28, 2023
1 parent 1620f15 commit 213a129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -665,4 +665,4 @@ export type MigrationContext = ClientConfig & {
/**
* The shape of the migration function that should be exported.
*/
export type MigrationFunction = (migration: Migration, context?: MigrationContext) => void
export type MigrationFunction = (migration: Migration, context: MigrationContext) => void

0 comments on commit 213a129

Please sign in to comment.