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.
38 lines
602 B
38 lines
602 B
7 months ago
|
// 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';
|