easypost-node
easypost-node copied to clipboard
[Bug]: Typescript types for exports don't have corresponding values
Software Version
7.3.1
Language Version
20.13.1
Operating System
OSX
What happened?
import { Tracker } from '@easypost/api';x instanceof TrackerUncaught TypeError: Right-hand side of 'instanceof' is not an object
What was expected?
Tracker and i'm sure other types should be exported from the root of the package, excluded from the root level export, or exported only as a type.
Sample Code
No response
Relevant logs
No response
Hey @thyming, thanks for submitting this. We are planning a Typescript rework here shortly that should hopefully address a lot of these issues. I don't yet have a timeframe but it's definitely on our roadmap.
Sounds good, thanks!
On Thu, Jul 11, 2024 at 4:26 PM Justin Hammond @.***> wrote:
Hey @thyming https://github.com/thyming, thanks for submitting this. We are planning a Typescript rework here shortly that should hopefully address a lot of these issues. I don't yet have a timeframe but it's definitely on our roadmap.
— Reply to this email directly, view it on GitHub https://github.com/EasyPost/easypost-node/issues/456#issuecomment-2223863162, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQ5N2P2ZWB7Y5L3VLGYGL3ZL3S7VAVCNFSM6AAAAABKXVTH52VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRTHA3DGMJWGI . You are receiving this because you were mentioned.Message ID: @.***>