You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeScript 5.8 added a new compiler option named erasableSyntaxOnly. This option is somewhat of a collaboration with the Node core team as it disallows TypeScript syntax that Node's type stripping does not support.
There are currently 49 errors reported when enabling this option, which is why I'm opening an issue instead of a PR.
If we don't want to work toward enabling it, that's fine, and we can carry on with the status quo. If we do want to enable it, it would lead to a future where we no longer need to transpile for anything except npm publish and running the transpiled tests in the CI.
I started looking into this. Mostly the errors are due to the use of automatic member variables via readonly constructor parameters. Those are easy to fix, though they do make the code a little more verbose.
Some of them are due to the use of enums in the generated code. That's going to require upstream changes in the code generator and a regeneration of the code.
I'll send a PR with all of the local fixes sometime in the next day or two, then work on the upstream generator (unless someone else in the community gets there first)
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.
Activity
brendandburns commentedon Mar 5, 2025
I'll start working on fixing these, seems like a good idea.
brendandburns commentedon Mar 7, 2025
I started looking into this. Mostly the errors are due to the use of automatic member variables via readonly constructor parameters. Those are easy to fix, though they do make the code a little more verbose.
Some of them are due to the use of enums in the generated code. That's going to require upstream changes in the code generator and a regeneration of the code.
I'll send a PR with all of the local fixes sometime in the next day or two, then work on the upstream generator (unless someone else in the community gets there first)
brendandburns commentedon Apr 5, 2025
Generator changes are here:
OpenAPITools/openapi-generator#21040
k8s-triage-robot commentedon Jul 4, 2025
The Kubernetes project currently lacks enough contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/staleis appliedlifecycle/stalewas applied,lifecycle/rottenis appliedlifecycle/rottenwas applied, the issue is closedYou can:
/remove-lifecycle stale/closePlease send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
k8s-triage-robot commentedon Aug 3, 2025
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/staleis appliedlifecycle/stalewas applied,lifecycle/rottenis appliedlifecycle/rottenwas applied, the issue is closedYou can:
/remove-lifecycle rotten/closePlease send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle rotten
k8s-triage-robot commentedon Sep 2, 2025
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.
This bot triages issues according to the following rules:
lifecycle/staleis appliedlifecycle/stalewas applied,lifecycle/rottenis appliedlifecycle/rottenwas applied, the issue is closedYou can:
/reopen/remove-lifecycle rottenPlease send feedback to sig-contributor-experience at kubernetes/community.
/close not-planned
k8s-ci-robot commentedon Sep 2, 2025
@k8s-triage-robot: Closing this issue, marking it as "Not Planned".
Details
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.
davidgamero commentedon Nov 12, 2025
reopening this while continuing in gen repo pr kubernetes-client/gen#284?
merged generator PR OpenAPITools/openapi-generator#21560
davidgamero commentedon Nov 12, 2025
/reopen
k8s-ci-robot commentedon Nov 12, 2025
@davidgamero: Reopened this issue.
Details
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.
davidgamero commentedon Nov 18, 2025
@brendandburns @cjihrig @mstruebing
can i get a review over on the linked gen repo PR?
brendandburns commentedon Dec 10, 2025
gen pr merged, I think that this can be closed again.