emit type parameter's default

This commit is contained in:
Arthur Ozga
2017-05-05 14:47:57 -07:00
parent a5bef216ae
commit b8bb0c22f3

View File

@@ -814,6 +814,7 @@ namespace ts {
function emitTypeParameter(node: TypeParameterDeclaration) {
emit(node.name);
emitWithPrefix(" extends ", node.constraint);
emitWithPrefix(" = ", node.default);
}
function emitParameter(node: ParameterDeclaration) {