From 634d39270c34b21efc377985683fa29bc21ec655 Mon Sep 17 00:00:00 2001 From: Daniel Sticker <63877413+stickerdaniel@users.noreply.github.com> Date: Wed, 30 Jul 2025 14:44:39 -0400 Subject: [PATCH] fix(ts-template): correct "instanciate" to "instantiate" misspelling Fix spelling mistake in TypeScript generation template that was propagating to all generated database type files. --- src/server/templates/typescript.ts | 2 +- test/server/typegen.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/templates/typescript.ts b/src/server/templates/typescript.ts index f8e6e7ca..c3cae645 100644 --- a/src/server/templates/typescript.ts +++ b/src/server/templates/typescript.ts @@ -35,7 +35,7 @@ export const apply = async ({ .forEach((c) => columnsByTableId[c.table_id].push(c)) const internal_supabase_schema = postgrestVersion - ? `// Allows to automatically instanciate createClient with right options + ? `// Allows to automatically instantiate createClient with right options // instead of createClient(URL, KEY) __InternalSupabase: { PostgrestVersion: '${postgrestVersion}' diff --git a/test/server/typegen.ts b/test/server/typegen.ts index 9a03ea9e..76ac6218 100644 --- a/test/server/typegen.ts +++ b/test/server/typegen.ts @@ -1299,7 +1299,7 @@ test('typegen: typescript w/ postgrestVersion', async () => { | Json[] export type Database = { - // Allows to automatically instanciate createClient with right options + // Allows to automatically instantiate createClient with right options // instead of createClient(URL, KEY) __InternalSupabase: { PostgrestVersion: "13"