@@ -125,9 +125,14 @@ export interface APIMethodInfo {
125125 getNameTypeOfMappedType : APIMethod < GetTypePropertyParams , TypeResponse | null > ;
126126 getTemplateTypeOfMappedType : APIMethod < GetTypePropertyParams , TypeResponse > ;
127127 getTypeParametersOfSignature : APIMethod < GetSignaturePropertyParams , TypeResponse [ ] | null > ;
128+ getTypeArgumentsForResolvedSignature : APIMethod < GetSignaturePropertyParams , TypeResponse [ ] > ;
128129 getParametersOfSignature : APIMethod < GetSignaturePropertyParams , SymbolResponse [ ] | null > ;
129130 getThisParameterOfSignature : APIMethod < GetSignaturePropertyParams , SymbolResponse | null > ;
130131 getTargetOfSignature : APIMethod < GetSignaturePropertyParams , SignatureResponse | null > ;
132+ isOptionalParameter : APIMethod < CheckerNodeParams , boolean > ;
133+ getTypeOfAssignmentPattern : APIMethod < CheckerNodeParams , TypeResponse | null > ;
134+ isValidPropertyAccess : APIMethod < IsValidPropertyAccessParams , boolean > ;
135+ getSymbolsOfParameterPropertyDeclaration : APIMethod < CheckerNodeParams , ParameterPropertySymbolsResponse > ;
131136 getContextualType : APIMethod < GetContextualTypeParams , TypeResponse | null > ;
132137 getContextualTypeForArgument : APIMethod < GetContextualTypeForArgumentParams , TypeResponse | null > ;
133138 getAwaitedType : APIMethod < CheckerTypeParams , TypeResponse | null > ;
@@ -188,6 +193,7 @@ export interface APIMethodInfo {
188193 getImmediateAliasedSymbol : APIMethod < CheckerSymbolParams , SymbolResponse | null > ;
189194 getTargetSymbol : APIMethod < CheckerSymbolParams , SymbolResponse > ;
190195 getMergedSymbol : APIMethod < CheckerSymbolParams , SymbolResponse > ;
196+ getRootSymbols : APIMethod < CheckerSymbolParams , SymbolResponse [ ] > ;
191197 getSymbolOfNode : APIMethod < CheckerNodeParams , SymbolResponse | null > ;
192198 getSymbolOfDeclarationForChecker : APIMethod < CheckerNodeParams , SymbolResponse | null > ;
193199 getParentOfSymbolForChecker : APIMethod < CheckerSymbolParams , SymbolResponse | null > ;
@@ -807,6 +813,25 @@ export interface GetSignaturePropertyParams {
807813 objectId : number ;
808814}
809815
816+ /** CheckerNodeParams are parameters for checker methods that operate on a node location. */
817+ export interface CheckerNodeParams {
818+ snapshot : number ;
819+ project : number ;
820+ location : string ;
821+ }
822+
823+ export interface IsValidPropertyAccessParams {
824+ snapshot : number ;
825+ project : number ;
826+ location : string ;
827+ propertyName : string ;
828+ }
829+
830+ export interface ParameterPropertySymbolsResponse {
831+ parameter : SymbolResponse ;
832+ property : SymbolResponse ;
833+ }
834+
810835/** GetContextualTypeParams returns the contextual type for a node. */
811836export interface GetContextualTypeParams {
812837 snapshot : number ;
@@ -873,13 +898,6 @@ export interface GetIntrinsicTypeParams {
873898 project : number ;
874899}
875900
876- /** CheckerNodeParams are parameters for checker methods that operate on a node location. */
877- export interface CheckerNodeParams {
878- snapshot : number ;
879- project : number ;
880- location : string ;
881- }
882-
883901export interface GetPrivateIdentifierPropertyOfTypeParams {
884902 snapshot : number ;
885903 project : number ;
@@ -1387,6 +1405,7 @@ export interface BatchRequest {
13871405 | "getResolvedTypeReferenceDirectiveFromTypeReferenceDirective"
13881406 | "getRestTypeOfSignature"
13891407 | "getReturnTypeOfSignature"
1408+ | "getRootSymbols"
13901409 | "getSemanticDiagnostics"
13911410 | "getShorthandAssignmentValueSymbol"
13921411 | "getSignatureFromDeclaration"
@@ -1408,6 +1427,7 @@ export interface BatchRequest {
14081427 | "getSymbolsAtLocations"
14091428 | "getSymbolsAtPositions"
14101429 | "getSymbolsInScope"
1430+ | "getSymbolsOfParameterPropertyDeclaration"
14111431 | "getSymbolsOfSourceFiles"
14121432 | "getSyntacticDiagnostics"
14131433 | "getTargetOfSignature"
@@ -1419,10 +1439,12 @@ export interface BatchRequest {
14191439 | "getTrueType"
14201440 | "getTrueTypeOfConditionalType"
14211441 | "getTypeArguments"
1442+ | "getTypeArgumentsForResolvedSignature"
14221443 | "getTypeAtLocation"
14231444 | "getTypeAtLocations"
14241445 | "getTypeAtPosition"
14251446 | "getTypeFromTypeNode"
1447+ | "getTypeOfAssignmentPattern"
14261448 | "getTypeOfPropertyOfType"
14271449 | "getTypeOfSymbol"
14281450 | "getTypeOfSymbolAtLocation"
@@ -1446,8 +1468,10 @@ export interface BatchRequest {
14461468 | "isArrayType"
14471469 | "isContextSensitive"
14481470 | "isImplementationOfOverload"
1471+ | "isOptionalParameter"
14491472 | "isReadonlySymbol"
14501473 | "isTypeAssignableTo"
1474+ | "isValidPropertyAccess"
14511475 | "parseCommandLine"
14521476 | "parseConfigFile"
14531477 | "parseConfigFileTextToJson"
@@ -1591,6 +1615,7 @@ export interface BatchResponse {
15911615 | "getResolvedTypeReferenceDirectiveFromTypeReferenceDirective"
15921616 | "getRestTypeOfSignature"
15931617 | "getReturnTypeOfSignature"
1618+ | "getRootSymbols"
15941619 | "getSemanticDiagnostics"
15951620 | "getShorthandAssignmentValueSymbol"
15961621 | "getSignatureFromDeclaration"
@@ -1612,6 +1637,7 @@ export interface BatchResponse {
16121637 | "getSymbolsAtLocations"
16131638 | "getSymbolsAtPositions"
16141639 | "getSymbolsInScope"
1640+ | "getSymbolsOfParameterPropertyDeclaration"
16151641 | "getSymbolsOfSourceFiles"
16161642 | "getSyntacticDiagnostics"
16171643 | "getTargetOfSignature"
@@ -1623,10 +1649,12 @@ export interface BatchResponse {
16231649 | "getTrueType"
16241650 | "getTrueTypeOfConditionalType"
16251651 | "getTypeArguments"
1652+ | "getTypeArgumentsForResolvedSignature"
16261653 | "getTypeAtLocation"
16271654 | "getTypeAtLocations"
16281655 | "getTypeAtPosition"
16291656 | "getTypeFromTypeNode"
1657+ | "getTypeOfAssignmentPattern"
16301658 | "getTypeOfPropertyOfType"
16311659 | "getTypeOfSymbol"
16321660 | "getTypeOfSymbolAtLocation"
@@ -1650,8 +1678,10 @@ export interface BatchResponse {
16501678 | "isArrayType"
16511679 | "isContextSensitive"
16521680 | "isImplementationOfOverload"
1681+ | "isOptionalParameter"
16531682 | "isReadonlySymbol"
16541683 | "isTypeAssignableTo"
1684+ | "isValidPropertyAccess"
16551685 | "parseCommandLine"
16561686 | "parseConfigFile"
16571687 | "parseConfigFileTextToJson"
0 commit comments