Hice un ícono animado simple en https://www.svgator.com/ y lo exporté a svg, sin embargo, tuve un error 
Los svgs normales funcionan normalmente, y los íconos animados en reaccionar sin mecanografiado también funcionan a la perfección.
Aquí está mi archivo custom.d.ts
declare module '*.svg?inline' { const content: any export default content } declare module '*.svg' { const content: any export default content }y mi ts.config
{ "compilerOptions": { "target": "es5", "lib": [ "dom", "dom.iterable", "esnext" ], "allowJs": true, "skipLibCheck": true, "esModuleInterop": true, "allowSyntheticDefaultImports": true, "strict": true, "forceConsistentCasingInFileNames": true, "noFallthroughCasesInSwitch": true, "module": "esnext", "moduleResolution": "node", "resolveJsonModule": true, "isolatedModules": true, "noEmit": true, "jsx": "react-jsx" }, "include": [ "src","custom.d.ts" ] }¿Me pueden ayudar con este problema? :)