Cannot find module '../../assets/logo.svg' or its corresponding type declarations. 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
}