diff --git a/typings/custom-global/index.d.ts b/typings/custom-global/index.d.ts index 3d5847fed6b6b3..32e5acbba9d7c9 100644 --- a/typings/custom-global/index.d.ts +++ b/typings/custom-global/index.d.ts @@ -1,10 +1,14 @@ /** - * Generic typings for sass files. + * Generic typings for non typescript/javascript. */ declare module '*.scss' { const styles: { [className: string]: string }; export default styles; } +declare module '*.svg' { + const svgPath: string; + export default svgPath; +} // These declarations are meant to represent the parts of Map/WeakMap/Set that exist in IE 11. // Therefore, some functionality (such as constructor parameters) is intentionally missing.