Skip to content

Commit c0654cf

Browse files
authored
feat: add a getChildNames method (#252)
This is needed for some use cases where we want to use the name of the child, not just the value. I wanted to use `Array<keyof this>` everywhere, but it turns out that doesn't work super-well with inheritance, so I can only use it for derived classes and use `Array<string>` for base classes.
1 parent 2de49e2 commit c0654cf

File tree

1 file changed

+105
-99
lines changed

1 file changed

+105
-99
lines changed

0 commit comments

Comments
 (0)