allow Underline to be called with type and color; fix default

This commit is contained in:
felipe
2017-03-09 12:42:19 +01:00
parent f06094c91d
commit 766bcabcb8
3 changed files with 21 additions and 3 deletions

View File

@ -13,8 +13,8 @@ abstract class BaseUnderline extends XmlComponent {
export class Underline extends BaseUnderline {
constructor() {
super("");
constructor(underlineType: string = "single", color?: string) {
super(underlineType, color);
}
}