Skip to content

Commit

Permalink
Revert "fix: add integer to the list of numeric types (#642)"
Browse files Browse the repository at this point in the history
This reverts commit 07a1e4c.

The issue the above commit is meant to fix is probably fixed by #624.
  • Loading branch information
soedirgo committed Nov 9, 2023
1 parent 003cc76 commit a10d206
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/templates/typescript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ const pgTypeToTsType = (
): string => {
if (pgType === 'bool') {
return 'boolean'
} else if (['int2', 'int4', 'int8', 'float4', 'float8', 'numeric', 'integer'].includes(pgType)) {
} else if (['int2', 'int4', 'int8', 'float4', 'float8', 'numeric'].includes(pgType)) {
return 'number'
} else if (
[
Expand Down

0 comments on commit a10d206

Please sign in to comment.