react-tournament-brackets icon indicating copy to clipboard operation
react-tournament-brackets copied to clipboard

Typescript support

Open brunomiquelotto opened this issue 1 year ago • 7 comments

Hi there. I can't make the imports of this lib to work properly with nextjs typescript.

When running next build I always get:

Could not find a declaration file for module '@g-loot/react-tournament-brackets'

vscode also surfaces me that error. Is there any sugestion to what can I do here?

brunomiquelotto avatar Sep 10 '24 15:09 brunomiquelotto

+1

henchoznoe avatar Nov 18 '24 10:11 henchoznoe

I have exactly the same problem 😢

Captura de pantalla 2024-12-27 131542

sswwkk avatar Dec 27 '24 18:12 sswwkk

I have exactly the same problem 😢

Captura de pantalla 2024-12-27 131542

I solved the problem by making a bracket myself with ChatGPT 🤭😂

henchoznoe avatar Dec 27 '24 18:12 henchoznoe

I have exactly the same problem 😢 Captura de pantalla 2024-12-27 131542

I solved the problem by making a bracket myself with ChatGPT 🤭😂

I think I will have to do the same 😁

sswwkk avatar Dec 27 '24 18:12 sswwkk

Hello @brunomiquelotto @sswwkk @henchoznoe

I've created a fork to address this issue: https://www.npmjs.com/package/@replydev/react-tournament-brackets

Let me know if this helps. In my NextJS project I can now import the library components.

replydev avatar Dec 27 '24 23:12 replydev

Hello @brunomiquelotto @sswwkk @henchoznoe

I've created a fork to address this issue: https://www.npmjs.com/package/@replydev/react-tournament-brackets

Let me know if this helps. In my NextJS project I can now import the library components.

Thanks a lot, my friend, it worked perfectly for me!

sswwkk avatar Dec 29 '24 17:12 sswwkk

Hello @brunomiquelotto @sswwkk @henchoznoe

I've created a fork to address this issue: https://www.npmjs.com/package/@replydev/react-tournament-brackets

Let me know if this helps. In my NextJS project I can now import the library components.

Hi, original author of the package here,

The main problem with this repository is that the company it's under went bankrupt and handled it's open source package transition very poorly.

I have created a fork and I hope I can try to migrate all the awesome contributions the community here has made over and to try to fix anything needed over at the new fork which is located here https://github.com/Shenato/react-tournament-brackets

Would you consider submitting your custom fork as a pull request and contribute so that we can unify the project again rather than have a bunch of different forks that all fix different issues in isolation. That way we combine our efforts and not fragment the open source project into smaller ones.

Thanks a lot for the contribution regardless of your choice, but let me know what you think.

Shenato avatar Jan 11 '25 22:01 Shenato