Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typescript support #74

Open
brunomiquelotto opened this issue Sep 10, 2024 · 7 comments
Open

Typescript support #74

brunomiquelotto opened this issue Sep 10, 2024 · 7 comments

Comments

@brunomiquelotto
Copy link

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?

@henchoznoe
Copy link

+1

@sswwkk
Copy link

sswwkk commented Dec 27, 2024

I have exactly the same problem 😢

Captura de pantalla 2024-12-27 131542

@henchoznoe
Copy link

henchoznoe commented Dec 27, 2024

I have exactly the same problem 😢

Captura de pantalla 2024-12-27 131542

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

@sswwkk
Copy link

sswwkk commented Dec 27, 2024

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 😁

@replydev
Copy link

replydev commented Dec 27, 2024

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.

@sswwkk
Copy link

sswwkk commented Dec 29, 2024

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!

@Shenato
Copy link
Contributor

Shenato commented Jan 11, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants