Skip to content

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

Open
@thyming

Description

@thyming

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    triageIssue is being researched

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions