mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-07 17:29:36 -05:00
emit type parameter's default
This commit is contained in:
@@ -814,6 +814,7 @@ namespace ts {
|
||||
function emitTypeParameter(node: TypeParameterDeclaration) {
|
||||
emit(node.name);
|
||||
emitWithPrefix(" extends ", node.constraint);
|
||||
emitWithPrefix(" = ", node.default);
|
||||
}
|
||||
|
||||
function emitParameter(node: ParameterDeclaration) {
|
||||
|
||||
Reference in New Issue
Block a user