8000 fix: return field name with composite type unknown (#483) · supabase/postgres-meta@c7e0364 · GitHub
[go: up one dir, main page]

Skip to content

Commit c7e0364

Browse files
fix: return field name with composite type unknown (#483)
* fixed return unknown to name typed unknown * chore: fix formatting Co-authored-by: Qiao Han <qiao@supabase.io>
1 parent 0b770a5 commit c7e0364

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/templates/typescript.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ export interface Database {
313313
schemas
314314
)}`
315315
}
316-
return 'unknown'
316+
return `${JSON.stringify(name)}: unknown`
317317
})}
318318
}`
319319
)

0 commit comments

Comments
 (0)
0