Introduce some functional programming techniques

This commit is contained in:
Dolan
2018-11-02 02:51:57 +00:00
parent 9cfd835171
commit 7980f14efb
108 changed files with 749 additions and 659 deletions

View File

@ -1,8 +1,8 @@
export interface IXmlAttribute {
[key: string]: string | number | boolean;
readonly [key: string]: string | number | boolean;
}
export interface IXmlableObject extends Object {
_attr?: IXmlAttribute;
readonly _attr?: IXmlAttribute;
}
// Needed because of: https://github.com/s-panferov/awesome-typescript-loader/issues/432