werpu / jsfs_js_ts

Apache License 2.0
2 stars 1 forks source link

Return EventData.responseCode as number #42

Open henningn opened 11 months ago

henningn commented 11 months ago

I just discovered that the responseCode is returned as a string. Shouldn't it be of type "number"? Because the value is from a XMLHttpRequest object and there it is of type 'number'.

https://github.com/werpu/jsfs_js_ts/blob/c342d17e79ef2bdcd164f2617c6142d4fd60c2b7/src/main/typescript/impl/xhrCore/EventData.ts#L23 https://github.com/werpu/jsfs_js_ts/blob/c342d17e79ef2bdcd164f2617c6142d4fd60c2b7/src/main/typescript/impl/xhrCore/EventData.ts#L43