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
The types published in the index.d.mts file contain an invalid export declaration for the default export which means that typescript and editors for projects using type module aren't able to reference the main function, only the signed and unsigned functions.
Here's a TS playground that shows the issue with the export statement or here's a screenshot of the editor feedback.
I believe the line should actually be the following instead for the .mts file
- export = crc32;+ export default crc32;
The text was updated successfully, but these errors were encountered:
The types published in the
index.d.mts
file contain an invalid export declaration for the default export which means that typescript and editors for projects using type module aren't able to reference the main function, only the signed and unsigned functions.Here's a TS playground that shows the issue with the export statement or here's a screenshot of the editor feedback.
I believe the line should actually be the following instead for the
.mts
fileThe text was updated successfully, but these errors were encountered: