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 28, 2022
1 parent f26ae47 commit 494cef4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/tusken-schema/src/typescript/nativeTypeMap.ts
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 494cef4

Please sign in to comment.