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.
72 lines
1.3 KiB
72 lines
1.3 KiB
2 years ago
|
/// <reference types="node" />
|
||
|
/// <reference types="react" />
|
||
|
/// <reference types="react-dom" />
|
||
|
|
||
|
declare namespace NodeJS {
|
||
|
interface ProcessEnv {
|
||
|
readonly NODE_ENV: 'development' | 'production' | 'test';
|
||
|
readonly PUBLIC_URL: string;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
declare module '*.avif' {
|
||
|
const src: string;
|
||
|
export default src;
|
||
|
}
|
||
|
|
||
|
declare module '*.bmp' {
|
||
|
const src: string;
|
||
|
export default src;
|
||
|
}
|
||
|
|
||
|
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' {
|
||
|
import * as React from 'react';
|
||
|
|
||
|
export const ReactComponent: React.FunctionComponent<React.SVGProps<
|
||
|
SVGSVGElement
|
||
|
> & { title?: string }>;
|
||
|
|
||
|
const src: string;
|
||
|
export default src;
|
||
|
}
|
||
|
|
||
|
declare module '*.module.css' {
|
||
|
const classes: { readonly [key: string]: string };
|
||
|
export default classes;
|
||
|
}
|
||
|
|
||
|
declare module '*.module.scss' {
|
||
|
const classes: { readonly [key: string]: string };
|
||
|
export default classes;
|
||
|
}
|
||
|
|
||
|
declare module '*.module.sass' {
|
||
|
const classes: { readonly [key: string]: string };
|
||
|
export default classes;
|
||
|
}
|