Next.js Discord

Discord Forum

how to make work ts-plugin(not next typescript plugin)

Answered
Raspberry Horntail posted this in #help-forum
Open in Discord
Raspberry HorntailOP
Is anyone can help me with making ts-plugin work?
{ "name": "typescript-plugin-css-modules" }
in CRA and Vite its working fine but for next it's not working showing me default type declaration for files *.module.scss
maybe i need to do something additional
Answered by Raspberry Horntail
{
"typescript.tsdk": "node_modules\typescript\lib"
}
fixed this in settings.json vscode
View full answer

1 Reply

Raspberry HorntailOP
{
"typescript.tsdk": "node_modules\typescript\lib"
}
fixed this in settings.json vscode
Answer