-
-
Notifications
You must be signed in to change notification settings - Fork 483
Open
Labels
Description
What version are you using?
2.10.3
What package are you using?
@barba/core
Describe your issue
Hello. I am trying to learn and add BarbaJS to a NextJS 15 project. I was mostly looking for tutorials from YouTube and Barba Docs. However, I discovered that BarbaJS doesn't seem to work properly in TypeScript. I got multiple errors when I tried to implement it in a TSX component. These errors are -
- Could not find a declaration file for module '@barba/core'
- ReferenceError: Element is not defined
Here is the current broken repo that includes these issues - https://github.com/ShayokhShorfuddin/broken-barba-project
Please take a look into the issue. Thanks in advance.