Home
last modified time | relevance | path

Searched refs:declarationType (Results 1 – 4 of 4) sorted by relevance

/third_party/typescript/src/services/
DinlayHints.ts133 const declarationType = checker.getTypeAtLocation(decl); constant
134 if (isModuleReferenceType(declarationType)) {
138 const typeDisplayString = printTypeInSingleLine(declarationType);
/third_party/typescript/src/compiler/
Dchecker.ts39191 … const declarationType = convertAutoToAny(getWidenedTypeForVariableLikeDeclaration(node)); constant
39193 if (!isErrorType(type) && !isErrorType(declarationType) &&
39194 !isTypeIdenticalTo(type, declarationType) &&
39196 …ariableOrPropertyDeclarationMustHaveSameType(symbol.valueDeclaration, type, node, declarationType);
39199 …bleToAndOptionallyElaborate(checkExpressionCached(node.initializer), declarationType, node, node.i…
/third_party/typescript/lib/
Dtsc.js72875 … var declarationType = convertAutoToAny(getWidenedTypeForVariableLikeDeclaration(node));
72876 if (!isErrorType(type) && !isErrorType(declarationType) &&
72877 !isTypeIdenticalTo(type, declarationType) &&
72879 …ariableOrPropertyDeclarationMustHaveSameType(symbol.valueDeclaration, type, node, declarationType);
72882 …bleToAndOptionallyElaborate(checkExpressionCached(node.initializer), declarationType, node, node.i…
DtypingsInstaller.js86528 … var declarationType = convertAutoToAny(getWidenedTypeForVariableLikeDeclaration(node));
86529 if (!isErrorType(type) && !isErrorType(declarationType) &&
86530 !isTypeIdenticalTo(type, declarationType) &&
86532 …ariableOrPropertyDeclarationMustHaveSameType(symbol.valueDeclaration, type, node, declarationType);
86535 …bleToAndOptionallyElaborate(checkExpressionCached(node.initializer), declarationType, node, node.i…