EasyPost / easypost-node

EasyPost Shipping API Client Library for Node
https://easypost.com/docs/api
MIT License
139 stars 54 forks source link

import correct `PickupRate` type #391

Closed julientregoat closed 1 year ago

julientregoat commented 1 year ago

closes #390

Description

Instead of importing the PickupRate class from the Javascript library, I imported the IPickupRate interface from the local PickupRate.d.ts declaration files. This fixes the compilation issues described in #390.

Testing

TypeScript using this package compiles correctly. Like the rest of the types code, this can't be tested.

Pull Request Type

Please select the option(s) that are relevant to this PR.