Searched refs:declarationType (Results 1 – 4 of 4) sorted by relevance
/third_party/typescript/src/services/ |
D | inlayHints.ts | 133 const declarationType = checker.getTypeAtLocation(decl); constant 134 if (isModuleReferenceType(declarationType)) { 138 const typeDisplayString = printTypeInSingleLine(declarationType);
|
/third_party/typescript/src/compiler/ |
D | checker.ts | 39191 … 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/ |
D | tsc.js | 72875 … 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…
|
D | typingsInstaller.js | 86528 … 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…
|