Skip to content

fix(ts-template): correct "instanciate" to "instantiate" misspelling #965

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

stickerdaniel
Copy link
Contributor

Fix spelling mistake in TypeScript generation template

Fix spelling mistake in TypeScript generation template that was propagating to all generated database type files.

What kind of change does this PR introduce?

Bug fix - corrects spelling error in code generation template

What is the current behavior?

The TypeScript generation template contains a spelling error where "instanciate" is used instead of the correct spelling "instantiate" in the comment:

// Allows to automatically instanciate createClient with right options

This spelling error propagates to all generated DatabaseDefinitions.ts files for every user who runs supabase gen types typescript, affecting code quality and professionalism.

Please link any relevant issues here: Related to spell-checking failures in pre-commit hooks across user projects.

What is the new behavior?

The comment now uses the correct spelling "instantiate":

// Allows to automatically instantiate createClient with right options

All generated TypeScript database definition files will now contain proper spelling.

Additional context

  • This is a cosmetic fix with no functional changes
  • Similar spelling errors exist in other Supabase repositories (supabase-flutter, gotrue-dart, postgrest-js)
  • Improves developer experience by eliminating potential spell-check warnings in generated code

Fix spelling mistake in TypeScript generation template that was propagating to all generated database type files.
@stickerdaniel stickerdaniel requested review from a team as code owners July 30, 2025 18:48
@soedirgo soedirgo enabled auto-merge (squash) July 30, 2025 23:23
@soedirgo soedirgo merged commit a142d73 into supabase:master Jul 30, 2025
5 checks passed
@coveralls
Copy link

Pull Request Test Coverage Report for Build 16631119770

Details

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 76.144%

Totals Coverage Status
Change from base Build 16627970080: 0.0%
Covered Lines: 5190
Relevant Lines: 6732

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy