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
Sometimes it's useful to declare new types within a class/interface, especially when it's a generic:
class Tree<T> { private type Node = { data: T, subnodes: Node[] }; public root: Node = { data: null, subnodes: [] }; ... }
Such member types could be referred to as Tree<T>.Node.
Tree<T>.Node
The text was updated successfully, but these errors were encountered:
Previous discussion at #7061
Sorry, something went wrong.
Duplicate of #7061 as noted by @Arnavion
No branches or pull requests
Sometimes it's useful to declare new types within a class/interface, especially when it's a generic:
Such member types could be referred to as
Tree<T>.Node
.The text was updated successfully, but these errors were encountered: