We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0548e79 commit 8840839Copy full SHA for 8840839
src/server/templates/typescript.ts
@@ -405,6 +405,8 @@ const pgTypeToTsType = (
405
return 'undefined'
406
} else if (pgType === 'record') {
407
return 'Record<string, unknown>'
408
+ } else if (pgType === 'vector') {
409
+ return 'number[]'
410
} else if (pgType.startsWith('_')) {
411
return `(${pgTypeToTsType(pgType.substring(1), types, schemas)})[]`
412
} else {
0 commit comments