Is your feature request related to a problem? Please describe.
types: {
dates: 'types+transform',
},
in the configuration to @hey-api/openapi-ts currently i think it sends true but I'm not 100% sure, it seems it is done here
|
export function formatOptions(options: LimitedUserConfig) { |
Documentation about the feature can be found here
Describe the solution you'd like
When this is done correctly both the typescript defintion should use the type Date and also the result should be Date.
Is your feature request related to a problem? Please describe.
in the configuration to
@hey-api/openapi-tscurrently i think it sendstruebut I'm not 100% sure, it seems it is done hereopenapi-react-query-codegen/src/common.mts
Line 150 in 34f561a
Documentation about the feature can be found here
Describe the solution you'd like
When this is done correctly both the typescript defintion should use the type
Dateand also the result should beDate.