viclafouch / mui-color-input

📌 A color input designed for MUI (Material ui) V6 built with TinyColor
https://viclafouch.github.io/mui-color-input/
60 stars 20 forks source link

Bad type import/export within the bundled package #20

Closed TylerNRobertson closed 1 year ago

TylerNRobertson commented 1 year ago

Describe the bug The bundled version of the package has an incorrect path to some types. Leading to an error when compiling typescript types for any library that depends on mui-color-input.

To Reproduce

  1. Install the package to a project where tsc is used to compile types
  2. Compile the types, notice the error
  3. Also can navigate into node_modules to view the bad import directly in the index.types.d.ts

Expected behavior Should resolve all types properly

Screenshots Screenshot 2023-07-31 at 4 52 40 PM

Desktop (please complete the following information):

Additional context Add any other context about the problem here.