This repository was archived by the owner on May 19, 2018. It is now read-only.
v6.8.1
6.8.1 (2016-06-06)
New Feature
- Parse type parameter declarations with defaults like
type Foo<T = string> = T
Bug Fixes
- Type parameter declarations need 1 or more type parameters.
- The existential type
*is not a valid type parameter. - The existential type
*is a primary type
Spec Compliancy
- The param list for type parameter declarations now consists of
TypeParameternodes - New
TypeParameterAST Node (replaces using theIdentifiernode before)
interface TypeParameter <: Node {
bound: TypeAnnotation;
default: TypeAnnotation;
name: string;
variance: "plus" | "minus";
}