JSType firstParam = evalInternal(params.get(0), nameResolver);
if (!isTemplatizable(firstParam)) {
reportWarning(ttlAst, BASETYPE_INVALID, firstParam.toString());
return getUnknownType();
}
ObjectType baseType = firstParam.toObjectType();
// TODO(lpino): Check that the number of parameters correspond with the
// number of template types that the base type can take when creating
// a templatized type. For instance, if the base type is Array then there
// must be just one parameter.
JSType[] templatizedTypes = new JSType[params.size() - 1];