You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
raypatterson
changed the title
Make TypeScript peer dependency optional #195
Make TypeScript peer dependency optional
Aug 7, 2024
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.
The text was updated successfully, but these errors were encountered: