Skip to content

Conversation

@vignesh1507
Copy link

You're referencing React's types (e.g., React.MouseEvent, React.TouchEvent, React.WheelEvent) but React is not imported in this .ts file. That will typically produce a TypeScript error like "Cannot find namespace 'React'." Add a type-only import from React (or import the specific event types) to fix it.

You're referencing React's types (e.g., React.MouseEvent, React.TouchEvent, React.WheelEvent) but React is not imported in this .ts file. That will typically produce a TypeScript error like "Cannot find namespace 'React'." Add a type-only import from React (or import the specific event types) to fix it.
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

Successfully merging this pull request may close these issues.

1 participant