Skip to content

Commit a10d206

Browse files
committed
Revert "fix: add integer to the list of numeric types (#642)"
This reverts commit 07a1e4c. The issue the above commit is meant to fix is probably fixed by #624.
1 parent 003cc76 commit a10d206

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
@@ -428,7 +428,7 @@ const pgTypeToTsType = (
428428
): string => {
429429
if (pgType === 'bool') {
430430
return 'boolean'
431-
} else if (['int2', 'int4', 'int8', 'float4', 'float8', 'numeric', 'integer'].includes(pgType)) {
431+
} else if (['int2', 'int4', 'int8', 'float4', 'float8', 'numeric'].includes(pgType)) {
432432
return 'number'
433433
} else if (
434434
[

0 commit comments

Comments
 (0)