Home
last modified time | relevance | path

Searched defs:contextualType (Results 1 – 15 of 15) sorted by relevance

/third_party/typescript/src/services/
DsignatureHelp.ts305 const { contextualType, argumentIndex, argumentCount, argumentsSpan } = info; constant
320 …interface ContextualSignatureLocationInfo { readonly contextualType: Type; readonly argumentIndex:… property
332 …const contextualType = isMethodDeclaration(parent) ? checker.getContextualTypeForObjectLiteralElem… constant
336 const contextualType = checker.getContextualType(highestBinary); constant
DgoToDefinition.ts181 const contextualType = element && typeChecker.getContextualType(element.parent); constant
DstringCompletions.ts318 const contextualType = checker.getContextualType(objectLiteralExpression); constant
DfindAllReferences.ts2168 … const contextualType = checker.getContextualType(containingObjectLiteralElement.parent); constant
Dservices.ts2875 const contextualType = checker.getContextualType(object.parent); constant
Dutilities.ts800 const contextualType = getContextualTypeFromParent(node, checker); constant
Dcompletions.ts2258 …const contextualType = previousToken && getContextualType(previousToken, position, sourceFile, typ… constant
/third_party/typescript/src/services/codefixes/
DfixAddMissingConstraint.ts106 const contextualType = isExpression(node) ? checker.getContextualType(node) : undefined; constant
DfixAddMissingMember.ts356 const contextualType = checker.getContextualType(token.parent as Expression); constant
/third_party/typescript/src/services/refactors/
DextractSymbol.ts911 const contextualType = checker.getContextualType(node); constant
1693 const contextualType = checker.getContextualType(targetRange.range)!; // TODO: GH#18217 constant
DconvertParamsToDestructuredObject.ts223 …const contextualType = checker.getContextualTypeForObjectLiteralElement(element as ObjectLiteralEl… constant
/third_party/typescript/src/compiler/
Dchecker.ts9678 …const contextualType = isBindingPattern(element.name) ? getTypeFromBindingPattern(element.name, /*… constant
21763 const contextualType = !contextualSignatureReturnType ? undefined : constant
21773 const contextualType = !contextualSignatureReturnType ? undefined : constant
22350 const contextualType = node.kind === SyntaxKind.MethodDeclaration ? constant
26074 …const contextualType = (isIdentifier(node) || isPropertyAccessExpression(node) || isElementAccessE… constant
27040 …const contextualType = getApparentTypeOfContextualType(containingLiteral, /*contextFlags*/ undefin… constant
27208 const contextualType = getContextualType(node, contextFlags); constant
27675 const contextualType = isObjectLiteralMethod(node) ? constant
28167 … const contextualType = getApparentTypeOfContextualType(node, /*contextFlags*/ undefined); constant
28348 … const contextualType = getApparentTypeOfContextualType(node, /*contextFlags*/ undefined); constant
[all …]
Dtypes.ts904 …/* @internal */ contextualType?: Type; // Used to temporarily assign a contextual t… property
4864 * True if `contextualType` should not be considered for completions because enumerator
/third_party/typescript/lib/
DtypingsInstaller.js61595 function isTypeInvalidDueToUnionDiscriminant(contextualType, obj) { argument
70511 function getWidenedLiteralLikeTypeForContextualType(type, contextualType) { argument
76051 function discriminateContextualTypeByObjectMembers(node, contextualType) { argument
76054 function discriminateContextualTypeByJSXAttributes(node, contextualType) { argument
76073 function instantiateContextualType(contextualType, node, contextFlags) { argument
83101 … function checkExpressionWithContextualType(node, contextualType, inferenceContext, checkMode) { argument
83154 function checkDeclarationInitializer(declaration, checkMode, contextualType) { argument
83194 function isLiteralOfContextualType(candidateType, contextualType) { argument
83228 function checkExpressionForMutableLocation(node, checkMode, contextualType, forceTuple) { argument
Dtsc.js51237 function isTypeInvalidDueToUnionDiscriminant(contextualType, obj) { argument
59033 function getWidenedLiteralLikeTypeForContextualType(type, contextualType) { argument
63775 function discriminateContextualTypeByObjectMembers(node, contextualType) { argument
63778 function discriminateContextualTypeByJSXAttributes(node, contextualType) { argument
63793 function instantiateContextualType(contextualType, node, contextFlags) { argument
69952 … function checkExpressionWithContextualType(node, contextualType, inferenceContext, checkMode) { argument
69994 function checkDeclarationInitializer(declaration, checkMode, contextualType) { argument
70034 function isLiteralOfContextualType(candidateType, contextualType) { argument
70063 function checkExpressionForMutableLocation(node, checkMode, contextualType, forceTuple) { argument