From 213a1299d3b1433205630ab87cdc308fc58501e6 Mon Sep 17 00:00:00 2001 From: Sebbe Selvig Date: Tue, 28 Nov 2023 11:52:28 +0100 Subject: [PATCH] Remove un-needed optional declaration on context param for MigrationFunction --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 9472cc1c..35d974eb 100644 --- a/index.d.ts +++ b/index.d.ts @@ -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