We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently the Tree interface contains the following method (#5):
Tree
getParent(): Tree;
We should consider using the following form, where a property is exposed instead of a method:
readonly parent: Tree;
The text was updated successfully, but these errors were encountered:
Yes, this sounds good. P.S. readonly is brand new in TypeScript 2.0.
readonly
Sorry, something went wrong.
Reopening because so many 'getXxx()' or functional equivalent remain.
BurtHarris
No branches or pull requests
Currently the
Tree
interface contains the following method (#5):We should consider using the following form, where a property is exposed instead of a method:
The text was updated successfully, but these errors were encountered: