Nativewind ClassName error fixed in VS Code

JOY SAM RAJJOY SAM RAJ
1 min read

Suddenly in the react native project ClassName gets an error in VS Code sonarlint.

After completing Nativewind guide for typescript, still ClassName error is still not rectified.

Simple solution :

mv app.d.ts app.d.tsx

Rename app.d.ts -> app.d.tsx

I posted this solution because this wasn't available online.

Happy Coding!

0
Subscribe to my newsletter

Read articles from JOY SAM RAJ directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

JOY SAM RAJ
JOY SAM RAJ

Hi there, I'm Joy I'm a full stack developer, mobile application developer, Cyber security analyst, SEO analyst, trainer. Check my latest updates in www.joysam.me