-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
Add "sealed" key word to mark some public/protected methods not be overriden #1534
Labels
Needs Proposal
This issue needs a plan that clarifies the finer details of how it could be implemented.
Suggestion
An idea for TypeScript
Comments
DanielRosenwasser
changed the title
[Suggestion] Add "sealed" key word to mark some public/protected methods not be overriden
Add "sealed" key word to mark some public/protected methods not be overriden
Dec 19, 2014
danquirk
added
the
Needs Proposal
This issue needs a plan that clarifies the finer details of how it could be implemented.
label
Jan 6, 2015
ghost
mentioned this issue
Jan 24, 2018
ghost
mentioned this issue
Apr 16, 2018
Please add a
|
Has this fallen into oblivion? |
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Needs Proposal
This issue needs a plan that clarifies the finer details of how it could be implemented.
Suggestion
An idea for TypeScript
From #1524, I see that the default method are all "virtual", but sometimes I don't wanna some public method to be overidden. Would you invent a mechasim to force the users that they cannot override a public method (with the key word, something like "sealed")?
Thanks!
The text was updated successfully, but these errors were encountered: