Logo Xantham

SessionExtensions Type

`Api` as members of a session, with the snapshot and project it holds supplied on the caller's behalf: `session.getSymbolAtPosition(file, position)` rather than `channel.getSymbolAtPosition(snapshot, project, file, position)`. Fields the schema marks optional are `[]` optional arguments, so they arrive as the `voption` the record field already holds and pass straight through. F# requires optional arguments to come last, so where a required field follows an optional one the argument order is not the record's own; named arguments sidestep that, and are worth using regardless, since several methods take three or more arguments of the same type.

Static members

Static member Description

SessionExtensions.emit (this, ?emitOnly)

Full Usage: SessionExtensions.emit (this, ?emitOnly)

Parameters:
Returns: EmitResponse
this : Session<TscChannel>
?emitOnly : int
Returns: EmitResponse

SessionExtensions.emitToString (this, ?emitOnly)

Full Usage: SessionExtensions.emitToString (this, ?emitOnly)

Parameters:
Returns: EmitOutputResponse
this : Session<TscChannel>
?emitOnly : int
Returns: EmitOutputResponse

SessionExtensions.formatNodeForInsertion (this, file, position, data)

Full Usage: SessionExtensions.formatNodeForInsertion (this, file, position, data)

Parameters:
Returns: string
this : Session<TscChannel>
file : DocumentIdentifier
position : int
data : string
Returns: string

SessionExtensions.getAliasSymbolOfType (this, objectId)

Full Usage: SessionExtensions.getAliasSymbolOfType (this, objectId)

Parameters:
Returns: SymbolResponse voption
this : Session<TscChannel>
objectId : int
Returns: SymbolResponse voption

SessionExtensions.getAliasTypeArgumentsOfType (this, objectId)

Full Usage: SessionExtensions.getAliasTypeArgumentsOfType (this, objectId)

Parameters:
Returns: TypeResponse[] voption
this : Session<TscChannel>
objectId : int
Returns: TypeResponse[] voption

SessionExtensions.getAliasedSymbol (this, symbol)

Full Usage: SessionExtensions.getAliasedSymbol (this, symbol)

Parameters:
Returns: SymbolResponse
this : Session<TscChannel>
symbol : int
Returns: SymbolResponse

SessionExtensions.getAnyType this

Full Usage: SessionExtensions.getAnyType this

Parameters:
Returns: TypeResponse
this : Session<TscChannel>
Returns: TypeResponse

SessionExtensions.getApparentPropertiesOfType (this, objectId)

Full Usage: SessionExtensions.getApparentPropertiesOfType (this, objectId)

Parameters:
Returns: SymbolResponse[]
this : Session<TscChannel>
objectId : int
Returns: SymbolResponse[]

SessionExtensions.getApparentType (this, objectId)

Full Usage: SessionExtensions.getApparentType (this, objectId)

Parameters:
Returns: TypeResponse
this : Session<TscChannel>
objectId : int
Returns: TypeResponse

SessionExtensions.getBaseConstraintOfType (this, type)

Full Usage: SessionExtensions.getBaseConstraintOfType (this, type)

Parameters:
Returns: TypeResponse voption
this : Session<TscChannel>
type : int
Returns: TypeResponse voption

SessionExtensions.getBaseTypeOfLiteralType (this, type)

Full Usage: SessionExtensions.getBaseTypeOfLiteralType (this, type)

Parameters:
Returns: TypeResponse
this : Session<TscChannel>
type : int
Returns: TypeResponse

SessionExtensions.getBaseTypeOfType (this, objectId)

Full Usage: SessionExtensions.getBaseTypeOfType (this, objectId)

Parameters:
Returns: TypeResponse
this : Session<TscChannel>
objectId : int
Returns: TypeResponse

SessionExtensions.getBaseTypes (this, type)

Full Usage: SessionExtensions.getBaseTypes (this, type)

Parameters:
Returns: TypeResponse[] voption
this : Session<TscChannel>
type : int
Returns: TypeResponse[] voption

SessionExtensions.getBigIntType this

Full Usage: SessionExtensions.getBigIntType this

Parameters:
Returns: TypeResponse
this : Session<TscChannel>
Returns: TypeResponse

SessionExtensions.getBindDiagnostics (this, ?files)

Full Usage: SessionExtensions.getBindDiagnostics (this, ?files)

Parameters:
Returns: DiagnosticResponse[] voption
this : Session<TscChannel>
?files : DocumentIdentifier[]
Returns: DiagnosticResponse[] voption

SessionExtensions.getBooleanType this

Full Usage: SessionExtensions.getBooleanType this

Parameters:
Returns: TypeResponse
this : Session<TscChannel>
Returns: TypeResponse

SessionExtensions.getCheckTypeOfType (this, objectId)

Full Usage: SessionExtensions.getCheckTypeOfType (this, objectId)

Parameters:
Returns: TypeResponse
this : Session<TscChannel>
objectId : int
Returns: TypeResponse

SessionExtensions.getCompletionsAtPosition (this, file, position, ?triggerCharacter, ?includeSymbol)

Full Usage: SessionExtensions.getCompletionsAtPosition (this, file, position, ?triggerCharacter, ?includeSymbol)

Parameters:
Returns: CompletionInfoResponse voption
this : Session<TscChannel>
file : DocumentIdentifier
position : int
?triggerCharacter : string
?includeSymbol : bool
Returns: CompletionInfoResponse voption

SessionExtensions.getConfigFileNames this

Full Usage: SessionExtensions.getConfigFileNames this

Parameters:
Returns: string[] voption
this : Session<TscChannel>
Returns: string[] voption

SessionExtensions.getConfigFileParsingDiagnostics this

Full Usage: SessionExtensions.getConfigFileParsingDiagnostics this

Parameters:
Returns: DiagnosticResponse[] voption
this : Session<TscChannel>
Returns: DiagnosticResponse[] voption

SessionExtensions.getConfigSourceFile (this, file)

Full Usage: SessionExtensions.getConfigSourceFile (this, file)

Parameters:
Returns: SourceFile voption
this : Session<TscChannel>
file : DocumentIdentifier
Returns: SourceFile voption

SessionExtensions.getConstantValue (this, location)

Full Usage: SessionExtensions.getConstantValue (this, location)

Parameters:
Returns: JsonNode voption
this : Session<TscChannel>
location : string
Returns: JsonNode voption

SessionExtensions.getConstraintOfType (this, objectId)

Full Usage: SessionExtensions.getConstraintOfType (this, objectId)

Parameters:
Returns: TypeResponse
this : Session<TscChannel>
objectId : int
Returns: TypeResponse

SessionExtensions.getConstraintOfTypeParameter (this, objectId)

Full Usage: SessionExtensions.getConstraintOfTypeParameter (this, objectId)

Parameters:
Returns: TypeResponse voption
this : Session<TscChannel>
objectId : int
Returns: TypeResponse voption

SessionExtensions.getContextualType (this, location)

Full Usage: SessionExtensions.getContextualType (this, location)

Parameters:
Returns: TypeResponse voption
this : Session<TscChannel>
location : string
Returns: TypeResponse voption

SessionExtensions.getDeclarationDiagnostics (this, ?files)

Full Usage: SessionExtensions.getDeclarationDiagnostics (this, ?files)

Parameters:
Returns: DiagnosticResponse[] voption
this : Session<TscChannel>
?files : DocumentIdentifier[]
Returns: DiagnosticResponse[] voption

SessionExtensions.getDeclarationEmit (this, ?files)

Full Usage: SessionExtensions.getDeclarationEmit (this, ?files)

Parameters:
Returns: EmitOutputResponse

SessionExtensions.getDeclaredTypeOfSymbol (this, symbol)

Full Usage: SessionExtensions.getDeclaredTypeOfSymbol (this, symbol)

Parameters:
Returns: TypeResponse
this : Session<TscChannel>
symbol : int
Returns: TypeResponse

SessionExtensions.getDefaultFromTypeParameter (this, objectId)

Full Usage: SessionExtensions.getDefaultFromTypeParameter (this, objectId)

Parameters:
Returns: TypeResponse voption
this : Session<TscChannel>
objectId : int
Returns: TypeResponse voption

SessionExtensions.getDefaultProjectForFile (this, file)

Full Usage: SessionExtensions.getDefaultProjectForFile (this, file)

Parameters:
Returns: ProjectResponse voption
this : Session<TscChannel>
file : DocumentIdentifier
Returns: ProjectResponse voption

SessionExtensions.getDocumentationComment (this, symbol)

Full Usage: SessionExtensions.getDocumentationComment (this, symbol)

Parameters:
Returns: string
this : Session<TscChannel>
symbol : int
Returns: string

SessionExtensions.getESSymbolType this

Full Usage: SessionExtensions.getESSymbolType this

Parameters:
Returns: TypeResponse
this : Session<TscChannel>
Returns: TypeResponse

SessionExtensions.getExportSpecifierLocalTargetSymbol (this, location)

Full Usage: SessionExtensions.getExportSpecifierLocalTargetSymbol (this, location)

Parameters:
Returns: SymbolResponse voption
this : Session<TscChannel>
location : string
Returns: SymbolResponse voption

SessionExtensions.getExportSymbolOfSymbol (this, objectId)

Full Usage: SessionExtensions.getExportSymbolOfSymbol (this, objectId)

Parameters:
Returns: SymbolResponse voption
this : Session<TscChannel>
objectId : int
Returns: SymbolResponse voption

SessionExtensions.getExportsOfModule (this, symbol)

Full Usage: SessionExtensions.getExportsOfModule (this, symbol)

Parameters:
Returns: SymbolResponse[] voption
this : Session<TscChannel>
symbol : int
Returns: SymbolResponse[] voption

SessionExtensions.getExportsOfSymbol (this, objectId)

Full Usage: SessionExtensions.getExportsOfSymbol (this, objectId)

Parameters:
Returns: SymbolResponse[] voption
this : Session<TscChannel>
objectId : int
Returns: SymbolResponse[] voption

SessionExtensions.getExtendsTypeOfType (this, objectId)

Full Usage: SessionExtensions.getExtendsTypeOfType (this, objectId)

Parameters:
Returns: TypeResponse
this : Session<TscChannel>
objectId : int
Returns: TypeResponse

SessionExtensions.getFalseTypeOfConditionalType (this, objectId)

Full Usage: SessionExtensions.getFalseTypeOfConditionalType (this, objectId)

Parameters:
Returns: TypeResponse
this : Session<TscChannel>
objectId : int
Returns: TypeResponse

SessionExtensions.getFreshTypeOfType (this, objectId)

Full Usage: SessionExtensions.getFreshTypeOfType (this, objectId)

Parameters:
Returns: TypeResponse voption
this : Session<TscChannel>
objectId : int
Returns: TypeResponse voption

SessionExtensions.getFullyQualifiedName (this, symbol)

Full Usage: SessionExtensions.getFullyQualifiedName (this, symbol)

Parameters:
Returns: string
this : Session<TscChannel>
symbol : int
Returns: string

SessionExtensions.getGlobalDiagnostics this

Full Usage: SessionExtensions.getGlobalDiagnostics this

Parameters:
Returns: DiagnosticResponse[] voption
this : Session<TscChannel>
Returns: DiagnosticResponse[] voption

SessionExtensions.getImmediateAliasedSymbol (this, symbol)

Full Usage: SessionExtensions.getImmediateAliasedSymbol (this, symbol)

Parameters:
Returns: SymbolResponse voption
this : Session<TscChannel>
symbol : int
Returns: SymbolResponse voption

SessionExtensions.getImportAdderEdits (this, file, ?actions)

Full Usage: SessionExtensions.getImportAdderEdits (this, file, ?actions)

Parameters:
Returns: TextEdit[]
this : Session<TscChannel>
file : DocumentIdentifier
?actions : ImportAdderAction[]
Returns: TextEdit[]

SessionExtensions.getIndexInfosOfType (this, type)

Full Usage: SessionExtensions.getIndexInfosOfType (this, type)

Parameters:
Returns: IndexInfoResponse[] voption
this : Session<TscChannel>
type : int
Returns: IndexInfoResponse[] voption

SessionExtensions.getIndexTypeOfType (this, objectId)

Full Usage: SessionExtensions.getIndexTypeOfType (this, objectId)

Parameters:
Returns: TypeResponse
this : Session<TscChannel>
objectId : int
Returns: TypeResponse

SessionExtensions.getJavaScriptEmit (this, ?files)

Full Usage: SessionExtensions.getJavaScriptEmit (this, ?files)

Parameters:
Returns: EmitOutputResponse

SessionExtensions.getJsDocTags (this, symbol)

Full Usage: SessionExtensions.getJsDocTags (this, symbol)

Parameters:
Returns: JSDocTagInfo[] voption
this : Session<TscChannel>
symbol : int
Returns: JSDocTagInfo[] voption

SessionExtensions.getLocalTypeParametersOfType (this, objectId)

Full Usage: SessionExtensions.getLocalTypeParametersOfType (this, objectId)

Parameters:
Returns: TypeResponse[] voption
this : Session<TscChannel>
objectId : int
Returns: TypeResponse[] voption

SessionExtensions.getMemberInModuleExports (this, symbol, name)

Full Usage: SessionExtensions.getMemberInModuleExports (this, symbol, name)

Parameters:
Returns: SymbolResponse voption
this : Session<TscChannel>
symbol : int
name : string
Returns: SymbolResponse voption

SessionExtensions.getMembersOfSymbol (this, objectId)

Full Usage: SessionExtensions.getMembersOfSymbol (this, objectId)

Parameters:
Returns: SymbolResponse[] voption
this : Session<TscChannel>
objectId : int
Returns: SymbolResponse[] voption

SessionExtensions.getNeverType this

Full Usage: SessionExtensions.getNeverType this

Parameters:
Returns: TypeResponse
this : Session<TscChannel>
Returns: TypeResponse

SessionExtensions.getNonMissingTypeOfSymbol (this, symbol)

Full Usage: SessionExtensions.getNonMissingTypeOfSymbol (this, symbol)

Parameters:
Returns: TypeResponse
this : Session<TscChannel>
symbol : int
Returns: TypeResponse

SessionExtensions.getNonNullableType (this, objectId)

Full Usage: SessionExtensions.getNonNullableType (this, objectId)

Parameters:
Returns: TypeResponse
this : Session<TscChannel>
objectId : int
Returns: TypeResponse

SessionExtensions.getNonPrimitiveType this

Full Usage: SessionExtensions.getNonPrimitiveType this

Parameters:
Returns: TypeResponse
this : Session<TscChannel>
Returns: TypeResponse

SessionExtensions.getNullType this

Full Usage: SessionExtensions.getNullType this

Parameters:
Returns: TypeResponse
this : Session<TscChannel>
Returns: TypeResponse

SessionExtensions.getNumberType this

Full Usage: SessionExtensions.getNumberType this

Parameters:
Returns: TypeResponse
this : Session<TscChannel>
Returns: TypeResponse

SessionExtensions.getObjectTypeOfType (this, objectId)

Full Usage: SessionExtensions.getObjectTypeOfType (this, objectId)

Parameters:
Returns: TypeResponse
this : Session<TscChannel>
objectId : int
Returns: TypeResponse

SessionExtensions.getOuterTypeParametersOfType (this, objectId)

Full Usage: SessionExtensions.getOuterTypeParametersOfType (this, objectId)

Parameters:
Returns: TypeResponse[] voption
this : Session<TscChannel>
objectId : int
Returns: TypeResponse[] voption

SessionExtensions.getParameterType (this, signature, index)

Full Usage: SessionExtensions.getParameterType (this, signature, index)

Parameters:
Returns: TypeResponse
this : Session<TscChannel>
signature : int
index : int
Returns: TypeResponse

SessionExtensions.getParametersOfSignature (this, objectId)

Full Usage: SessionExtensions.getParametersOfSignature (this, objectId)

Parameters:
Returns: SymbolResponse[] voption
this : Session<TscChannel>
objectId : int
Returns: SymbolResponse[] voption

SessionExtensions.getParentOfSymbol (this, objectId)

Full Usage: SessionExtensions.getParentOfSymbol (this, objectId)

Parameters:
Returns: SymbolResponse voption
this : Session<TscChannel>
objectId : int
Returns: SymbolResponse voption

SessionExtensions.getProgramDiagnostics this

Full Usage: SessionExtensions.getProgramDiagnostics this

Parameters:
Returns: DiagnosticResponse[] voption
this : Session<TscChannel>
Returns: DiagnosticResponse[] voption

SessionExtensions.getPropertiesOfType (this, type)

Full Usage: SessionExtensions.getPropertiesOfType (this, type)

Parameters:
Returns: SymbolResponse[] voption
this : Session<TscChannel>
type : int
Returns: SymbolResponse[] voption

SessionExtensions.getPropertyOfType (this, type, name)

Full Usage: SessionExtensions.getPropertyOfType (this, type, name)

Parameters:
Returns: SymbolResponse voption
this : Session<TscChannel>
type : int
name : string
Returns: SymbolResponse voption

SessionExtensions.getReducedType (this, objectId)

Full Usage: SessionExtensions.getReducedType (this, objectId)

Parameters:
Returns: TypeResponse
this : Session<TscChannel>
objectId : int
Returns: TypeResponse

SessionExtensions.getReferencedSymbolsForNode (this, node, position)

Full Usage: SessionExtensions.getReferencedSymbolsForNode (this, node, position)

Parameters:
Returns: ReferencedSymbolEntry[] voption
this : Session<TscChannel>
node : string
position : int
Returns: ReferencedSymbolEntry[] voption

SessionExtensions.getReferencesToSymbolInFile (this, file, symbol)

Full Usage: SessionExtensions.getReferencesToSymbolInFile (this, file, symbol)

Parameters:
Returns: string[]
this : Session<TscChannel>
file : DocumentIdentifier
symbol : int
Returns: string[]

SessionExtensions.getRegularTypeOfType (this, objectId)

Full Usage: SessionExtensions.getRegularTypeOfType (this, objectId)

Parameters:
Returns: TypeResponse voption
this : Session<TscChannel>
objectId : int
Returns: TypeResponse voption

SessionExtensions.getResolvedSignature (this, location)

Full Usage: SessionExtensions.getResolvedSignature (this, location)

Parameters:
Returns: SignatureResponse
this : Session<TscChannel>
location : string
Returns: SignatureResponse

SessionExtensions.getRestTypeOfSignature (this, signature)

Full Usage: SessionExtensions.getRestTypeOfSignature (this, signature)

Parameters:
Returns: TypeResponse
this : Session<TscChannel>
signature : int
Returns: TypeResponse

SessionExtensions.getReturnTypeOfSignature (this, objectId)

Full Usage: SessionExtensions.getReturnTypeOfSignature (this, objectId)

Parameters:
Returns: TypeResponse
this : Session<TscChannel>
objectId : int
Returns: TypeResponse

SessionExtensions.getSemanticDiagnostics (this, ?files)

Full Usage: SessionExtensions.getSemanticDiagnostics (this, ?files)

Parameters:
Returns: DiagnosticResponse[] voption
this : Session<TscChannel>
?files : DocumentIdentifier[]
Returns: DiagnosticResponse[] voption

SessionExtensions.getShorthandAssignmentValueSymbol (this, location)

Full Usage: SessionExtensions.getShorthandAssignmentValueSymbol (this, location)

Parameters:
Returns: SymbolResponse voption
this : Session<TscChannel>
location : string
Returns: SymbolResponse voption

SessionExtensions.getSignatureFromDeclaration (this, location)

Full Usage: SessionExtensions.getSignatureFromDeclaration (this, location)

Parameters:
Returns: SignatureResponse
this : Session<TscChannel>
location : string
Returns: SignatureResponse

SessionExtensions.getSignatureUsages (this, signatureDecl)

Full Usage: SessionExtensions.getSignatureUsages (this, signatureDecl)

Parameters:
Returns: SignatureUsageResponse[] voption
this : Session<TscChannel>
signatureDecl : string
Returns: SignatureUsageResponse[] voption

SessionExtensions.getSignaturesOfType (this, type, kind)

Full Usage: SessionExtensions.getSignaturesOfType (this, type, kind)

Parameters:
Returns: SignatureResponse[]
this : Session<TscChannel>
type : int
kind : SignatureKind
Returns: SignatureResponse[]

SessionExtensions.getSourceFile (this, file)

Full Usage: SessionExtensions.getSourceFile (this, file)

Parameters:
Returns: SourceFile voption
this : Session<TscChannel>
file : DocumentIdentifier
Returns: SourceFile voption

SessionExtensions.getSourceFileMetadata (this, file)

Full Usage: SessionExtensions.getSourceFileMetadata (this, file)

Parameters:
Returns: SourceFileMetadata voption
this : Session<TscChannel>
file : DocumentIdentifier
Returns: SourceFileMetadata voption

SessionExtensions.getSourceFileNames this

Full Usage: SessionExtensions.getSourceFileNames this

Parameters:
Returns: string[]
this : Session<TscChannel>
Returns: string[]

SessionExtensions.getStringType this

Full Usage: SessionExtensions.getStringType this

Parameters:
Returns: TypeResponse
this : Session<TscChannel>
Returns: TypeResponse

SessionExtensions.getSuggestionDiagnostics (this, ?files)

Full Usage: SessionExtensions.getSuggestionDiagnostics (this, ?files)

Parameters:
Returns: DiagnosticResponse[] voption
this : Session<TscChannel>
?files : DocumentIdentifier[]
Returns: DiagnosticResponse[] voption

SessionExtensions.getSymbolAtLocation (this, location)

Full Usage: SessionExtensions.getSymbolAtLocation (this, location)

Parameters:
Returns: SymbolResponse voption
this : Session<TscChannel>
location : string
Returns: SymbolResponse voption

SessionExtensions.getSymbolAtPosition (this, file, position)

Full Usage: SessionExtensions.getSymbolAtPosition (this, file, position)

Parameters:
Returns: SymbolResponse voption
this : Session<TscChannel>
file : DocumentIdentifier
position : int
Returns: SymbolResponse voption

SessionExtensions.getSymbolOfSourceFile (this, file)

Full Usage: SessionExtensions.getSymbolOfSourceFile (this, file)

Parameters:
Returns: SymbolResponse voption
this : Session<TscChannel>
file : DocumentIdentifier
Returns: SymbolResponse voption

SessionExtensions.getSymbolOfType (this, objectId)

Full Usage: SessionExtensions.getSymbolOfType (this, objectId)

Parameters:
Returns: SymbolResponse voption
this : Session<TscChannel>
objectId : int
Returns: SymbolResponse voption

SessionExtensions.getSymbolsAtLocations (this, ?locations)

Full Usage: SessionExtensions.getSymbolsAtLocations (this, ?locations)

Parameters:
Returns: SymbolResponse[]
this : Session<TscChannel>
?locations : string[]
Returns: SymbolResponse[]

SessionExtensions.getSymbolsAtPositions (this, file, ?positions)

Full Usage: SessionExtensions.getSymbolsAtPositions (this, file, ?positions)

Parameters:
Returns: SymbolResponse[]
this : Session<TscChannel>
file : DocumentIdentifier
?positions : int[]
Returns: SymbolResponse[]

SessionExtensions.getSymbolsInScope (this, meaning, ?location, ?file, ?position)

Full Usage: SessionExtensions.getSymbolsInScope (this, meaning, ?location, ?file, ?position)

Parameters:
Returns: SymbolResponse[]
this : Session<TscChannel>
meaning : SymbolFlags
?location : string
?file : DocumentIdentifier
?position : int
Returns: SymbolResponse[]

SessionExtensions.getSymbolsOfSourceFiles (this, ?files)

Full Usage: SessionExtensions.getSymbolsOfSourceFiles (this, ?files)

Parameters:
Returns: SymbolResponse[]
this : Session<TscChannel>
?files : DocumentIdentifier[]
Returns: SymbolResponse[]

SessionExtensions.getSyntacticDiagnostics (this, ?files)

Full Usage: SessionExtensions.getSyntacticDiagnostics (this, ?files)

Parameters:
Returns: DiagnosticResponse[] voption
this : Session<TscChannel>
?files : DocumentIdentifier[]
Returns: DiagnosticResponse[] voption

SessionExtensions.getTargetOfSignature (this, objectId)

Full Usage: SessionExtensions.getTargetOfSignature (this, objectId)

Parameters:
Returns: SignatureResponse voption
this : Session<TscChannel>
objectId : int
Returns: SignatureResponse voption

SessionExtensions.getTargetOfType (this, objectId)

Full Usage: SessionExtensions.getTargetOfType (this, objectId)

Parameters:
Returns: TypeResponse
this : Session<TscChannel>
objectId : int
Returns: TypeResponse

SessionExtensions.getTargetSymbol (this, symbol)

Full Usage: SessionExtensions.getTargetSymbol (this, symbol)

Parameters:
Returns: SymbolResponse
this : Session<TscChannel>
symbol : int
Returns: SymbolResponse

SessionExtensions.getThisParameterOfSignature (this, objectId)

Full Usage: SessionExtensions.getThisParameterOfSignature (this, objectId)

Parameters:
Returns: SymbolResponse voption
this : Session<TscChannel>
objectId : int
Returns: SymbolResponse voption

SessionExtensions.getTrueTypeOfConditionalType (this, objectId)

Full Usage: SessionExtensions.getTrueTypeOfConditionalType (this, objectId)

Parameters:
Returns: TypeResponse
this : Session<TscChannel>
objectId : int
Returns: TypeResponse

SessionExtensions.getTypeArguments (this, type)

Full Usage: SessionExtensions.getTypeArguments (this, type)

Parameters:
Returns: TypeResponse[] voption
this : Session<TscChannel>
type : int
Returns: TypeResponse[] voption

SessionExtensions.getTypeAtLocation (this, location)

Full Usage: SessionExtensions.getTypeAtLocation (this, location)

Parameters:
Returns: TypeResponse
this : Session<TscChannel>
location : string
Returns: TypeResponse

SessionExtensions.getTypeAtLocations (this, ?locations)

Full Usage: SessionExtensions.getTypeAtLocations (this, ?locations)

Parameters:
Returns: TypeResponse[]
this : Session<TscChannel>
?locations : string[]
Returns: TypeResponse[]

SessionExtensions.getTypeAtPosition (this, file, position)

Full Usage: SessionExtensions.getTypeAtPosition (this, file, position)

Parameters:
Returns: TypeResponse voption
this : Session<TscChannel>
file : DocumentIdentifier
position : int
Returns: TypeResponse voption

SessionExtensions.getTypeFromTypeNode (this, location)

Full Usage: SessionExtensions.getTypeFromTypeNode (this, location)

Parameters:
Returns: TypeResponse
this : Session<TscChannel>
location : string
Returns: TypeResponse

SessionExtensions.getTypeOfSymbol (this, symbol)

Full Usage: SessionExtensions.getTypeOfSymbol (this, symbol)

Parameters:
Returns: TypeResponse
this : Session<TscChannel>
symbol : int
Returns: TypeResponse

SessionExtensions.getTypeOfSymbolAtLocation (this, symbol, location)

Full Usage: SessionExtensions.getTypeOfSymbolAtLocation (this, symbol, location)

Parameters:
Returns: TypeResponse
this : Session<TscChannel>
symbol : int
location : string
Returns: TypeResponse

SessionExtensions.getTypeParameterAtPosition (this, signature, index)

Full Usage: SessionExtensions.getTypeParameterAtPosition (this, signature, index)

Parameters:
Returns: TypeResponse
this : Session<TscChannel>
signature : int
index : int
Returns: TypeResponse

SessionExtensions.getTypeParametersOfSignature (this, objectId)

Full Usage: SessionExtensions.getTypeParametersOfSignature (this, objectId)

Parameters:
Returns: TypeResponse[] voption
this : Session<TscChannel>
objectId : int
Returns: TypeResponse[] voption

SessionExtensions.getTypeParametersOfType (this, objectId)

Full Usage: SessionExtensions.getTypeParametersOfType (this, objectId)

Parameters:
Returns: TypeResponse[] voption
this : Session<TscChannel>
objectId : int
Returns: TypeResponse[] voption

SessionExtensions.getTypePredicateOfSignature (this, signature)

Full Usage: SessionExtensions.getTypePredicateOfSignature (this, signature)

Parameters:
Returns: TypePredicateResponse voption
this : Session<TscChannel>
signature : int
Returns: TypePredicateResponse voption

SessionExtensions.getTypesAtPositions (this, file, ?positions)

Full Usage: SessionExtensions.getTypesAtPositions (this, file, ?positions)

Parameters:
Returns: TypeResponse[]
this : Session<TscChannel>
file : DocumentIdentifier
?positions : int[]
Returns: TypeResponse[]

SessionExtensions.getTypesOfSymbols (this, ?symbols)

Full Usage: SessionExtensions.getTypesOfSymbols (this, ?symbols)

Parameters:
Returns: TypeResponse[]
this : Session<TscChannel>
?symbols : int[]
Returns: TypeResponse[]

SessionExtensions.getTypesOfType (this, objectId)

Full Usage: SessionExtensions.getTypesOfType (this, objectId)

Parameters:
Returns: TypeResponse[] voption
this : Session<TscChannel>
objectId : int
Returns: TypeResponse[] voption

SessionExtensions.getUndefinedType this

Full Usage: SessionExtensions.getUndefinedType this

Parameters:
Returns: TypeResponse
this : Session<TscChannel>
Returns: TypeResponse

SessionExtensions.getUnknownType this

Full Usage: SessionExtensions.getUnknownType this

Parameters:
Returns: TypeResponse
this : Session<TscChannel>
Returns: TypeResponse

SessionExtensions.getVoidType this

Full Usage: SessionExtensions.getVoidType this

Parameters:
Returns: TypeResponse
this : Session<TscChannel>
Returns: TypeResponse

SessionExtensions.getWellKnownSignatures this

Full Usage: SessionExtensions.getWellKnownSignatures this

Parameters:
Returns: WellKnownSignaturesResponse

SessionExtensions.getWellKnownSymbols this

Full Usage: SessionExtensions.getWellKnownSymbols this

Parameters:
Returns: WellKnownSymbolsResponse

SessionExtensions.getWidenedType (this, type)

Full Usage: SessionExtensions.getWidenedType (this, type)

Parameters:
Returns: TypeResponse
this : Session<TscChannel>
type : int
Returns: TypeResponse

SessionExtensions.isArrayLikeType (this, type)

Full Usage: SessionExtensions.isArrayLikeType (this, type)

Parameters:
Returns: bool
this : Session<TscChannel>
type : int
Returns: bool

SessionExtensions.isArrayType (this, type)

Full Usage: SessionExtensions.isArrayType (this, type)

Parameters:
Returns: bool
this : Session<TscChannel>
type : int
Returns: bool

SessionExtensions.isContextSensitive (this, location)

Full Usage: SessionExtensions.isContextSensitive (this, location)

Parameters:
Returns: bool
this : Session<TscChannel>
location : string
Returns: bool

SessionExtensions.isReadonlySymbol (this, symbol)

Full Usage: SessionExtensions.isReadonlySymbol (this, symbol)

Parameters:
Returns: bool
this : Session<TscChannel>
symbol : int
Returns: bool

SessionExtensions.isTypeAssignableTo (this, source, target)

Full Usage: SessionExtensions.isTypeAssignableTo (this, source, target)

Parameters:
Returns: bool
this : Session<TscChannel>
source : int
target : int
Returns: bool

SessionExtensions.release this

Full Usage: SessionExtensions.release this

Parameters:

SessionExtensions.resolveName (this, name, meaning, ?location, ?file, ?position, ?excludeGlobals)

Full Usage: SessionExtensions.resolveName (this, name, meaning, ?location, ?file, ?position, ?excludeGlobals)

Parameters:
Returns: SymbolResponse voption
this : Session<TscChannel>
name : string
meaning : SymbolFlags
?location : string
?file : DocumentIdentifier
?position : int
?excludeGlobals : bool
Returns: SymbolResponse voption

SessionExtensions.signatureToSignatureDeclaration (this, signature, kind, ?location, ?flags)

Full Usage: SessionExtensions.signatureToSignatureDeclaration (this, signature, kind, ?location, ?flags)

Parameters:
Returns: SourceFile voption
this : Session<TscChannel>
signature : int
kind : SyntaxKind
?location : string
?flags : NodeBuilderFlags
Returns: SourceFile voption

SessionExtensions.typeToString (this, type, ?location, ?flags)

Full Usage: SessionExtensions.typeToString (this, type, ?location, ?flags)

Parameters:
Returns: JsonNode voption
this : Session<TscChannel>
type : int
?location : string
?flags : int
Returns: JsonNode voption

SessionExtensions.typeToTypeNode (this, type, ?location, ?flags)

Full Usage: SessionExtensions.typeToTypeNode (this, type, ?location, ?flags)

Parameters:
Returns: SourceFile voption
this : Session<TscChannel>
type : int
?location : string
?flags : int
Returns: SourceFile voption

SessionExtensions.updateTemporarySnapshot (this, file, newText)

Full Usage: SessionExtensions.updateTemporarySnapshot (this, file, newText)

Parameters:
Returns: UpdateSnapshotResponse
this : Session<TscChannel>
file : DocumentIdentifier
newText : string
Returns: UpdateSnapshotResponse

Type something to start searching.