ts/styles linter warnings

This commit is contained in:
felipe
2017-03-09 09:45:01 +01:00
parent 2684f16579
commit f5144e6d72
12 changed files with 91 additions and 89 deletions

View File

@ -1,6 +1,6 @@
import {XmlComponent} from "../../../docx/xml-components";
interface LatentStyleExceptionAttributesProperties {
interface ILatentStyleExceptionAttributesProperties {
name?: string;
uiPriority?: string;
qFormat?: string;
@ -9,23 +9,23 @@ interface LatentStyleExceptionAttributesProperties {
}
export class LatentStyleExceptionAttributes extends XmlComponent {
private _attr: Object;
private _attr: ILatentStyleExceptionAttributesProperties;
xmlKeys = {
private xmlKeys = {
name: "w:name",
uiPriority: "w:uiPriority",
qFormat: "w:qFormat",
semiHidden: "w:semiHidden",
unhideWhenUsed: "w:unhideWhenUsed"
unhideWhenUsed: "w:unhideWhenUsed",
};
constructor(properties?: LatentStyleExceptionAttributesProperties) {
constructor(properties?: ILatentStyleExceptionAttributesProperties) {
super("_attr");
this._attr = properties;
if (!properties) {
this._attr = {};
}
this._attr["xmlKeys"] = this.xmlKeys;
//this._attr.xmlKeys = this.xmlKeys;
}
}
}