Interface GenericResult
interface GenericResult {
elements: RootResult[];
left: RootResult;
meta: {
brackets: "angle" | "square";
dot: boolean;
};
type: "JsdocTypeGeneric";
}
elements: RootResult[];
left: RootResult;
meta: {
brackets: "angle" | "square";
dot: boolean;
};
type: "JsdocTypeGeneric";
}
A generic type. The property
left
is the generic type that haselements
as type values for its type parameters. Array types that are written asType[]
always have the nameArray
as theleft
type andelements
will contain only one element (in this case the nameType
). To differentiateType[]
andArray<Type>
there is the meta propertybrackets
.