github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/lib/types.d.ts (about) 1 // https://github.com/Connormiha/jest-css-modules-transform/issues/33 2 declare module '*.module.css' { 3 const classes: { [key: string]: string }; 4 export default classes; 5 } 6 7 declare module '*.module.scss' { 8 const classes: { [key: string]: string }; 9 export default classes; 10 } 11 12 declare module '*.module.sass' { 13 const classes: { [key: string]: string }; 14 export default classes; 15 } 16 17 declare module '*.module.less' { 18 const classes: { [key: string]: string }; 19 export default classes; 20 } 21 22 declare module '*.module.styl' { 23 const classes: { [key: string]: string }; 24 export default classes; 25 } 26 27 // https://stackoverflow.com/a/45887328 28 declare module '*.svg' { 29 const content: ShamefulAny; 30 export default content; 31 } 32 33 declare module '*.gif' { 34 const content: ShamefulAny; 35 export default content; 36 }