To reproduce the issue, perform the following steps:
- Clone the repository.
git clone https://github.com/mukulgupta21/cypress-ts-issue.git
- Install dependencies.
npm install
- Run cypress tests.
npm cypress:open
You will encounter a webpack compilation error.