Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Typescript types for exports don't have corresponding values #456

Open
thyming opened this issue Jul 11, 2024 · 2 comments · Fixed by #461
Open

[Bug]: Typescript types for exports don't have corresponding values #456

thyming opened this issue Jul 11, 2024 · 2 comments · Fixed by #461
Labels
triage Issue is being researched

Comments

@thyming
Copy link
Contributor

thyming commented Jul 11, 2024

Software Version

7.3.1

Language Version

20.13.1

Operating System

OSX

What happened?

  1. import { Tracker } from '@easypost/api';
  2. x instanceof Tracker
  3. Uncaught 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

@thyming thyming added the triage Issue is being researched label Jul 11, 2024
@Justintime50
Copy link
Member

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.

@thyming
Copy link
Contributor Author

thyming commented Jul 11, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage Issue is being researched
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants