module "*.svg" Cannot find module 'src/logo.svg'.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
}