tslinting

This commit is contained in:
Dolan
2017-03-08 20:32:30 +00:00
parent f6eb412357
commit 03b34915c6
6 changed files with 22 additions and 22 deletions

View File

@ -1,4 +1,4 @@
import {XmlComponent} from "../xml-components";
import { XmlComponent } from "../xml-components";
export class Break extends XmlComponent {

View File

@ -1,4 +1,4 @@
import {XmlComponent} from "../xml-components";
import { XmlComponent } from "../xml-components";
export class SmallCaps extends XmlComponent {

View File

@ -1,11 +1,11 @@
import {XmlComponent, Attributes} from "../xml-components";
import { Attributes, XmlComponent } from "../xml-components";
export class Bold extends XmlComponent {
constructor() {
super("w:b");
this.root.push(new Attributes({
val: true
val: true,
}));
}
}
@ -15,7 +15,7 @@ export class Italics extends XmlComponent {
constructor() {
super("w:i");
this.root.push(new Attributes({
val: true
val: true,
}));
}
}
@ -25,7 +25,7 @@ export class Caps extends XmlComponent {
constructor() {
super("w:caps");
this.root.push(new Attributes({
val: true
val: true,
}));
}
}
@ -35,7 +35,7 @@ export class Color extends XmlComponent {
constructor(color: string) {
super("w:color");
this.root.push(new Attributes({
val: color
val: color,
}));
}
}
@ -45,7 +45,7 @@ export class DoubleStrike extends XmlComponent {
constructor() {
super("w:dstrike");
this.root.push(new Attributes({
val: true
val: true,
}));
}
}
@ -55,7 +55,7 @@ export class Emboss extends XmlComponent {
constructor() {
super("w:emboss");
this.root.push(new Attributes({
val: true
val: true,
}));
}
}
@ -65,7 +65,7 @@ export class Imprint extends XmlComponent {
constructor() {
super("w:imprint");
this.root.push(new Attributes({
val: true
val: true,
}));
}
}
@ -75,7 +75,7 @@ export class Shadow extends XmlComponent {
constructor() {
super("w:shadow");
this.root.push(new Attributes({
val: true
val: true,
}));
}
}
@ -85,7 +85,7 @@ export class SmallCaps extends XmlComponent {
constructor() {
super("w:smallCaps");
this.root.push(new Attributes({
val: true
val: true,
}));
}
}
@ -95,7 +95,7 @@ export class Strike extends XmlComponent {
constructor() {
super("w:strike");
this.root.push(new Attributes({
val: true
val: true,
}));
}
}
@ -105,7 +105,7 @@ export class Size extends XmlComponent {
constructor(size: number) {
super("w:sz");
this.root.push(new Attributes({
val: size
val: size,
}));
}
}

View File

@ -1,4 +1,4 @@
import {XmlComponent} from "../xml-components";
import { XmlComponent } from "../xml-components";
export class RunProperties extends XmlComponent {
@ -6,7 +6,7 @@ export class RunProperties extends XmlComponent {
super("w:rPr");
}
push(item: XmlComponent): void {
public push(item: XmlComponent): void {
this.root.push(item);
}
}

View File

@ -1,4 +1,4 @@
import {XmlAttributeComponent, XmlComponent} from "../xml-components";
import { XmlAttributeComponent, XmlComponent } from "../xml-components";
interface IRunFontAttributesProperties {
ascii: string;

View File

@ -1,11 +1,11 @@
import {XmlComponent, Attributes} from "../xml-components";
import { Attributes, XmlComponent } from "../xml-components";
abstract class VerticalAlign extends XmlComponent {
constructor(type: string) {
super("w:vertAlign");
this.root.push(new Attributes({
val: type
val: type,
}));
}
}