Skip to content

[typescript-axios] toIsoString() with type string #2745

Closed
@duckytutu

Description

@duckytutu

Im using Docker to generate my OpenAPI
https://openapi-generator.tech/docs/installation#docker

This is one of my generate
image

Any idea why startDate for example, input as string but still has the line
localVarQueryParameter['startDate'] = (startDate as any).toISOString();

It cause an error: toIsoString() is not a function

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions