Skip to content

Make TypeScript peer dependency optional #59

Description

@raypatterson

Thanks for this library!

I'm noticing that because TypeScript is a peer dependency that when this library is used as dependency in a package that bundles to JavaScript, when that package is installed, TypeScript is also installed, even when the project does not use TypeScript.

I'm guessing the idea is to try to ensure compatibility with the types, but it's ~40MB to install TypeScript that might be avoided by making this peer dependency optional.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions