Home
last modified time | relevance | path

Searched refs:typeParameterDecl (Results 1 – 3 of 3) sorted by relevance

/third_party/typescript/src/testRunner/unittests/
DtypeParameterIsPossiblyReferenced.ts28 …const typeParameterDecl = (file.statements[0] as ts.FunctionDeclaration).typeParameters![0]; // T … constant
29 const typeParameter = checker.getTypeAtLocation(typeParameterDecl)! as ts.TypeParameter;
/third_party/typescript/src/services/codefixes/
Dhelpers.ts246 const newTypeParameters = sameMap(typeParameters, typeParameterDecl => {
247 let constraint = typeParameterDecl.constraint;
248 let defaultType = typeParameterDecl.default;
264 typeParameterDecl,
265 typeParameterDecl.modifiers,
266 typeParameterDecl.name,
/third_party/typescript/src/services/refactors/
DextractSymbol.ts1713 for (const typeParameterDecl of getEffectiveTypeParameterDeclarations(curr)) { constant
1714 … const typeParameter = checker.getTypeAtLocation(typeParameterDecl) as TypeParameter;