xml-typescript icon indicating copy to clipboard operation
xml-typescript copied to clipboard

source for xml-decorators version 1.0.8 - fix for linter errors

Open bhofner opened this issue 5 years ago • 0 comments

Hi,

When I pull the package from npm, I get the version 1.0.8. What I find here is the package 1.0.6. Have you moved to a different repository?

The npm version 1.0.8 has some issues that could be fixed with the following patches (assuming native Promises are enough):

/node_modules/xml-decorators/lib/models/XMLChild.ts

71c71
<             let nsSchema = {};
---
>             let nsSchema: any = {};
169c169
<     let attributes = {};
---
>     let attributes: any = {};

/node_modules/xml-decorators/lib/models/XMLElement.ts

2c2
< import * as Promise from "bluebird";
---
> // import * as Promise from "bluebird";
19,20c19,20
<   private attributes: XMLAttribute[];
<   private children: XMLChild[];
---
>   private attributes?: XMLAttribute[];
>   private children?: XMLChild[];

Could you please publish a patched version in npm or provide me with the up-to-date source so that I can patch my local version of the package?

Best regards, Bernd

bhofner avatar Sep 23 '20 13:09 bhofner