Skip to content

Commit

Permalink
fix(schema): date and daterange are Date objects in JS
Browse files Browse the repository at this point in the history
  • Loading branch information
aleclarson committed Oct 29, 2022
1 parent 0631d95 commit 308463f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/tusken-schema/src/typescript/nativeTypeMap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ export default <[string, string][]>[
['char', 'string'],
['cidr', 'string'],
['circle', '{ radius: number, x: number, y: number }'],
['date', 'string'],
['daterange', 'Range<string>'],
['date', 'Date'],
['daterange', 'Range<Date>'],
['float4', 'number'],
['float8', 'number'],
['inet', 'string'],
Expand Down

0 comments on commit 308463f

Please sign in to comment.