Skip to main content
Version: Next 🚧

[I] TypeSpecScriptNode

Extends

Properties

PropertyModifierTypeDescriptionOverridesInherited from
commentsreadonlyreadonly Comment[]---
directives?readonlyreadonly DirectiveExpressionNode[]--BaseNode.directives
docs?readonlyreadonly DocNode[]--BaseNode.docs
endreadonlynumberThe ending position measured in UTF-16 code units from the start of the full string. Exclusive.-BaseNode.end
filereadonlySourceFile---
flagsreadonlyNodeFlags--BaseNode.flags
idreadonlyIdentifierNode--DeclarationNode.id
inScopeNamespacesreadonlyreadonly NamespaceStatementNode[]---
kindreadonlyTypeSpecScript-BaseNode.kind-
localsreadonlySymbolTable---
namespacesreadonlyNamespaceStatementNode[]---
parent?readonlyNode--BaseNode.parent
parseDiagnosticsreadonlyreadonly Diagnostic[]---
parseOptionsreadonlyParseOptions---
posreadonlynumberThe starting position of the ranger measured in UTF-16 code units from the start of the full string. Inclusive.-BaseNode.pos
printablereadonlyboolean---
statementsreadonlyreadonly Statement[]---
symbolreadonlySymCould be undefined but making this optional creates a lot of noise. In practice, you will likely only access symbol in cases where you know the node has a symbol.-BaseNode.symbol
usingsreadonlyreadonly UsingStatementNode[]---