Merge pull request #1375 from Koushik-Salammagari/fix/document-symbol-children-field

fix: add missing children field to DocumentSymbol TypedDict
This commit is contained in:
Michael Panchenko authored and GitHub committed 2026-04-18 20:48:54 +02:00
commit 11dfdbf8c5
1 file changed
+2 -2
@@ -2456,8 +2456,8 @@ class DocumentSymbol(TypedDict):
selectionRange: "Range"
""" The range that should be selected and revealed when this symbol is being picked, e.g the name of a function.
Must be contained by the `range`. """
# TODO: I think this type is missing the 'children' field - DJ
children: NotRequired[list["DocumentSymbol"]]
""" Children of this symbol, e.g. properties of a class. """
class DocumentSymbolRegistrationOptions(TypedDict):