simov / slugify

Slugifies a string
MIT License
1.47k stars 126 forks source link

Module NodeNext : TS2349: This expression is not callable #185

Open elvince opened 8 months ago

elvince commented 8 months ago

hi,

when using nodenext as module in tsconfig, I can't call anymore slugify function.

Could you please fix the export so it is compatbile?

import slugify from 'slugify';
file.name = slugify(file.name);

Thanks,

bhavesh-chaudhari commented 6 months ago

Any update on this? Having the same issue.

twelch commented 4 months ago

See workaround in #173