Skip to content

Commit 250282c

Browse files
authored
docs(get-started): update generate types cmd (#389)
1 parent b642c48 commit 250282c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/content/2.get-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,10 @@ The path for the generated Supabase TypeScript definitions. The database definit
122122
123123
```bash
124124
## Generate types from live database
125-
supabase gen types typescript --project-id YourProjectId > types/database.types.ts
125+
supabase gen types --lang=typescript --project-id YourProjectId > types/database.types.ts
126126

127127
## Generate types when using local environment
128-
supabase gen types typescript --local > types/database.types.ts
128+
supabase gen types --lang=typescript --local > types/database.types.ts
129129
```
130130
131131
Set to `false` to disable.

0 commit comments

Comments
 (0)