Searched refs:typeParameterDecl (Results 1 – 3 of 3) sorted by relevance
28 …const typeParameterDecl = (file.statements[0] as ts.FunctionDeclaration).typeParameters![0]; // T … constant29 const typeParameter = checker.getTypeAtLocation(typeParameterDecl)! as ts.TypeParameter;
246 const newTypeParameters = sameMap(typeParameters, typeParameterDecl => {247 let constraint = typeParameterDecl.constraint;248 let defaultType = typeParameterDecl.default;264 typeParameterDecl,265 typeParameterDecl.modifiers,266 typeParameterDecl.name,
1713 for (const typeParameterDecl of getEffectiveTypeParameterDeclarations(curr)) { constant1714 … const typeParameter = checker.getTypeAtLocation(typeParameterDecl) as TypeParameter;