declare module '*.svg' { const content: string; export default content; } declare global { interface Window { $components: { first: (string) => Object, } } }