fileLoader.d.ts 347 B

123456789101112
  1. // Reference: https://github.com/Microsoft/TypeScript-React-Starter/issues/12#issuecomment-327860151
  2. // TS compatibility for https://github.com/webpack-contrib/file-loader
  3. declare module '*.png';
  4. declare module '*.jpg';
  5. declare module '*.mp4';
  6. declare module '*.svg' {
  7. const content: any;
  8. export default content;
  9. }
  10. declare module '*.pegjs';