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

Proposal class static block #43012

Closed
5 tasks
Kingwl opened this issue Mar 1, 2021 · 1 comment Β· Fixed by #43370
Closed
5 tasks

Proposal class static block #43012

Kingwl opened this issue Mar 1, 2021 · 1 comment Β· Fixed by #43370
Assignees
Labels
Committed The team has roadmapped this issue Suggestion An idea for TypeScript

Comments

@Kingwl
Copy link
Contributor

Kingwl commented Mar 1, 2021

Suggestion

πŸ” Search Terms

esnext, class

βœ… Viability Checklist

My suggestion meets these guidelines:

  • This wouldn't be a breaking change in existing TypeScript/JavaScript code
  • This wouldn't change the runtime behavior of existing JavaScript code
  • This could be implemented without emitting different JS based on the types of the expressions
  • This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
  • This feature would agree with the rest of TypeScript's Design Goals.

⭐ Suggestion

https://github.com/tc39/proposal-class-static-block is stage-3 。

I'm happy to implement this one if no one has already started the work(/cc: @rbuckton ).

@RyanCavanaugh RyanCavanaugh added Committed The team has roadmapped this issue Suggestion An idea for TypeScript labels Mar 4, 2021
@RyanCavanaugh
Copy link
Member

Happy for you to write the PR, @Kingwl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Committed The team has roadmapped this issue Suggestion An idea for TypeScript
Projects
None yet
3 participants