OpenAPITools / openapi-generator

OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
https://openapi-generator.tech
Apache License 2.0
21.76k stars 6.57k forks source link

[BUG][typescript-angular] Syntax error with current TypeScript #8422

Open debuglevel opened 3 years ago

debuglevel commented 3 years ago
Description

image as described in README.md: https://github.com/OpenAPITools/openapi-generator/blob/34d2e25899a6380521a443a3f702438a1aceb11b/modules/openapi-generator/src/main/resources/typescript-angular/README.mustache#L78

Works fine without =>

But I don't know too much about TypeScript to submit a PR.

openapi-generator version
$ docker run --rm openapitools/openapi-generator-cli version
5.0.1-SNAPSHOT
auto-labeler[bot] commented 3 years ago

👍 Thanks for opening this issue! 🏷 I have applied any labels matching special text in your issue.

The team will review the labels and make any necessary changes.