Methods

M emitFiles(targetSourceFile: ts.SourceFile) ts.EmitResult

Parameters:
Name Type Argument
targetSourceFile ts.SourceFile <optional>
Returns: { ts.EmitResult }

M getAliasedSymbol(symbol: ts.Symbol) ts.Symbol

Parameters:
Name Type
symbol ts.Symbol
Returns: { ts.Symbol }

M getAugmentedPropertiesOfType(type: ts.Type) ts.Symbol[]

Parameters:
Name Type
type ts.Type
Returns: { Array.<ts.Symbol> }

M getContextualType(node: ts.Expression) ts.Type

Parameters:
Name Type
node ts.Expression
Returns: { ts.Type }

M getDeclarationDiagnostics(sourceFile: ts.SourceFile) ts.Diagnostic[]

Parameters:
Name Type
sourceFile ts.SourceFile
Returns: { Array.<ts.Diagnostic> }

M getDeclaredTypeOfSymbol(symbol: ts.Symbol) ts.Type

Parameters:
Name Type
symbol ts.Symbol
Returns: { ts.Type }

M getDiagnostics(sourceFile: ts.SourceFile) ts.Diagnostic[]

Parameters:
Name Type Argument
sourceFile ts.SourceFile <optional>
Returns: { Array.<ts.Diagnostic> }

M getEnumMemberValue(node: ts.EnumMember) number

Parameters:
Name Type
node ts.EnumMember
Returns: { number }

M getFullyQualifiedName(symbol: ts.Symbol) string

Parameters:
Name Type
symbol ts.Symbol
Returns: { string }

M getGlobalDiagnostics() ts.Diagnostic[]

Returns: { Array.<ts.Diagnostic> }

M getIdentifierCount() number

Returns: { number }

M getIndexTypeOfType(type: ts.Type, kind: ts.IndexKind) ts.Type

Parameters:
Name Type
type ts.Type
kind ts.IndexKind
Returns: { ts.Type }

M getNodeCount() number

Returns: { number }

M getProgram() ts.Program

Returns: { ts.Program }

M getPropertiesOfType(type: ts.Type) ts.Symbol[]

Parameters:
Name Type
type ts.Type
Returns: { Array.<ts.Symbol> }

M getPropertyOfType(type: ts.Type, propertyName: string) ts.Symbol

Parameters:
Name Type
type ts.Type
propertyName string
Returns: { ts.Symbol }

M getResolvedSignature(node: CallExpression|NewExpression|TaggedTemplateExpression, candidatesOutArray: ts.Signature[]) ts.Signature

Parameters:
Name Type Argument
node CallExpression | NewExpression | TaggedTemplateExpression
candidatesOutArray Array.<ts.Signature> <optional>
Returns: { ts.Signature }

M getReturnTypeOfSignature(signature: ts.Signature) ts.Type

Parameters:
Name Type
signature ts.Signature
Returns: { ts.Type }

M getRootSymbols(symbol: ts.Symbol) ts.Symbol[]

Parameters:
Name Type
symbol ts.Symbol
Returns: { Array.<ts.Symbol> }

M getShorthandAssignmentValueSymbol(location: ts.Node) ts.Symbol

Parameters:
Name Type
location ts.Node
Returns: { ts.Symbol }

M getSignatureFromDeclaration(declaration: ts.SignatureDeclaration) ts.Signature

Parameters:
Name Type
declaration ts.SignatureDeclaration
Returns: { ts.Signature }

M getSignaturesOfType(type: ts.Type, kind: ts.SignatureKind) ts.Signature[]

Parameters:
Name Type
type ts.Type
kind ts.SignatureKind
Returns: { Array.<ts.Signature> }

M getSymbolAtLocation(node: ts.Node) ts.Symbol

Parameters:
Name Type
node ts.Node
Returns: { ts.Symbol }

M getSymbolCount() number

Returns: { number }

M getSymbolDisplayBuilder() ts.SymbolDisplayBuilder

M getSymbolsInScope(location: ts.Node, meaning: ts.SymbolFlags) ts.Symbol[]

Parameters:
Name Type
location ts.Node
meaning ts.SymbolFlags
Returns: { Array.<ts.Symbol> }

M getTypeAtLocation(node: ts.Node) ts.Type

Parameters:
Name Type
node ts.Node
Returns: { ts.Type }

M getTypeCount() number

Returns: { number }

M getTypeOfSymbolAtLocation(symbol: ts.Symbol, node: ts.Node) ts.Type

Parameters:
Name Type
symbol ts.Symbol
node ts.Node
Returns: { ts.Type }

M isArgumentsSymbol(symbol: ts.Symbol) boolean

Parameters:
Name Type
symbol ts.Symbol
Returns: { boolean }

M isEmitBlocked(sourceFile: ts.SourceFile) boolean

Parameters:
Name Type Argument
sourceFile ts.SourceFile <optional>
Returns: { boolean }

M isImplementationOfOverload(node: ts.FunctionLikeDeclaration) boolean

Parameters:
Name Type
node ts.FunctionLikeDeclaration
Returns: { boolean }

M isUndefinedSymbol(symbol: ts.Symbol) boolean

Parameters:
Name Type
symbol ts.Symbol
Returns: { boolean }

M isValidPropertyAccess(node: ts.PropertyAccessExpression|ts.QualifiedName, propertyName: string) boolean

Parameters:
Name Type
node ts.PropertyAccessExpression | ts.QualifiedName
propertyName string
Returns: { boolean }

M symbolToString(symbol: ts.Symbol, enclosingDeclaration: ts.Node, meaning: ts.SymbolFlags) string

Parameters:
Name Type Argument
symbol ts.Symbol
enclosingDeclaration ts.Node <optional>
meaning ts.SymbolFlags <optional>
Returns: { string }

M typeToString(type: ts.Type, enclosingDeclaration: ts.Node, flags: ts.TypeFormatFlags) string

Parameters:
Name Type Argument
type ts.Type
enclosingDeclaration ts.Node <optional>
flags ts.TypeFormatFlags <optional>
Returns: { string }