Open SOG-web opened 2 years ago
@types/shippo in not the same with docs.
Example Docs and API response:
shippo.address.create({ "name":"Shawn Ippotle", "company":"Shippo", "street1":"215 Clayton St.", "city":"San Francisco", "state":"CA", "zip":"94117", "country":"US", "email":"shippotle@goshippo.com", "validate": true }, function(err, address) { // asynchronously called });
@types/shippo:
this.shippo.address .create({ name: 'Shawn Ippotle', street1: '215 Clayton St.', city: 'San Francisco', state: 'CA', zip: '94117', country: 'US', validate: true, }) .then(async (res) => { .........
when I try to include other values, it brings value does not exist on type create e.g email and company does exist on the type
Am working on a nest js project
@types/shippo in not the same with docs.
Example Docs and API response:
@types/shippo:
when I try to include other values, it brings value does not exist on type create e.g email and company does exist on the type