Cannot find module '../../assets/images/dashboard.svg' or its corresponding type declarations.ts(2307) code example
Example: Cannot find module '../../images/home.svg' or its corresponding type declarations
// custom.d.ts on root /
declare module '*.svg?inline' {
const content: any
export default content
}
declare module '*.svg' {
const content: any
export default content
}