rikschennink / fitty

✨ Makes text fit perfectly
https://rikschennink.github.io/fitty/
MIT License
3.72k stars 211 forks source link

A 'declare' modifier cannot be used in an already ambient context #103

Open andershagbard opened 8 months ago

andershagbard commented 8 months ago

Getting the following error when running tsc on version 2.4.2: node_modules/fitty/index.d.ts(24,5): error TS1038: A 'declare' modifier cannot be used in an already ambient context.

rastographics commented 3 months ago

Hi i'm having this same error. Did you find a solution @andershagbard ?

andershagbard commented 3 months ago

Hi i'm having this same error. Did you find a solution @andershagbard ?

Just use the previous version