This package allows to generate flow types for SOAP clients generated by the soap
package.
- Install with npm or yarn
npm i -D wsdl-typegen
yarn add -D wsdl-typegen
- Create and run a script in your
package.json
"scripts": {
"typegen": "wsdl-typegen generate 'path/to/your/wsdls/**/*.wsdl'"
}
npm run typegen
The typing files will be generated next to your wsdl and xsd files.