Closed Ruslan207 closed 8 months ago
Having the same problem... Settled down for v2.7.4
Hi there @Ruslan207 & @kkkheladze thanks a lot for using the tool and reporting! I'm looking into this at the moment. Would you mind sharing how you are building it? Like what's your environment? And ideally a sandbox that reproduces the error? Because internally the dogfood project is building fine.
I tried with a nextjs app and it builds fine. However the line you mentioned seems weird indeed. I'll have a look on what generates that line. If you experience this issue but want to use v3 you can rename E_1
to E
for now.
I think I got it, PR is out
It should be fixed now in 3.0.5, please re-try and let me know :)
Still would be nice if you could share your set-up so that I can add a test so it doesn't happen again in the future, thank you!
Describe the bug when i install and import DragSelect v3.03 or v3.0.4, it throws typing error Error: node_modules/dragselect/dist/DragSelect.d.ts:767:40 - error TS2304: Cannot find name ‘E_1’. 767 publish: <T extends DSCallbackName>(eventName: T | T[], data: DSPublishMappings[T]) => void;
I've checked
DragSelect.d.ts
indist
folder andE_1
is mentioned there only once