ts/styles linter warnings
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user