Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REQ][TypeScript Fetch] Default 3.6+ configuration to true #9973

Open
szTheory opened this issue Jul 19, 2021 · 0 comments
Open

[REQ][TypeScript Fetch] Default 3.6+ configuration to true #9973

szTheory opened this issue Jul 19, 2021 · 0 comments

Comments

@szTheory
Copy link
Contributor

Is your feature request related to a problem? Please describe.

When I tried out the TypeScript fetch client generator, I got an error when viewing the generated code that GlobalFetch was not defined. GlobalFetch was removed in TypeScript 3.6.2. To fix this I had to change the configuration "typescriptThreePlus": true since it currently defaults to false. However the false default was set 2 years ago so it seems like a good time to revisit that.

Describe the solution you'd like

Update the typescriptThreePlus default to true since most users will be on something past TypeScript 3.6.2 at this point, and the defaults should work out of the box for most users.

Describe alternatives you've considered

There could just be extra documentation that clarifies the default, but that would likely be catering to a minority of new users at this point.

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant