You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
602 B
37 lines
602 B
// Image declarations |
|
declare module '*.gif' { |
|
const src: string; |
|
export default src; |
|
} |
|
|
|
declare module '*.jpg' { |
|
const src: string; |
|
export default src; |
|
} |
|
|
|
declare module '*.jpeg' { |
|
const src: string; |
|
export default src; |
|
} |
|
|
|
declare module '*.png' { |
|
const src: string; |
|
export default src; |
|
} |
|
|
|
declare module '*.webp' { |
|
const src: string; |
|
export default src; |
|
} |
|
|
|
declare module '*.svg' { |
|
const content: string; |
|
export default content; |
|
} |
|
|
|
// Font declarations |
|
declare module '*.woff'; |
|
declare module '*.woff2'; |
|
declare module '*.eot'; |
|
declare module '*.ttf'; |
|
declare module '*.otf';
|
|
|