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"