ast-types icon indicating copy to clipboard operation
ast-types copied to clipboard

What is "variance"?

Open octogonz opened this issue 5 years ago • 0 comments

I see this attribute applies to many different AST node types:

variance: K.VarianceKind | "plus" | "minus" | null;

What does it do? What does it look like in the parsed/emitted JavaScript source code?

octogonz avatar Feb 11 '19 03:02 octogonz