Closed pmartin35 closed 1 year ago
Closing as I fixed by adding a vite
alias:
resolve: {
alias: {
"@salesforce/design-system-react/components": path.resolve(__dirname, 'node_modules/@salesforce/design-system-react/module/components')
}
}
I am trying to get the components located within the
/module
directory to work with TypeScript.When doing the following:
I get the following error:
It seems like the components in the
/module
folder have the following type declaration:Is the missing
/module
intended? If so, how do I go about making the TS compiler recognize the type definition?