wsdl-to-ts
wsdl-to-ts copied to clipboard
Fix some issues with typing generation when xs types are used
- Array types that contain a namespace are mangled by the typing generator. This is fixed by explicitly keeping all array setup text prior to the namespace.
- An
xsd:decimal
may have sometypeData
included which caused thetypeData
to be interpreted as a set of allowed values. The fix included catches all number types and makes sure they map tonumber
@TimLuq Could I get some eyes on this fix?
@TimLuq I would also appreciate to get this fix in. Just found out that I have type "integer" in my generated schema.