mirror of
https://github.com/bendtherules/ts-transformer-visualizer.git
synced 2026-08-18 13:51:48 +00:00
19 lines
471 B
TypeScript
19 lines
471 B
TypeScript
/**
|
|
* Default CSS definition for typescript,
|
|
* will be overridden with file-specific definitions by rollup
|
|
*/
|
|
declare module "*.css" {
|
|
const content: { [className: string]: string };
|
|
export default content;
|
|
}
|
|
|
|
interface SvgrComponent
|
|
extends React.StatelessComponent<React.SVGAttributes<SVGElement>> {}
|
|
|
|
declare module "*.svg" {
|
|
const svgUrl: string;
|
|
const svgComponent: SvgrComponent;
|
|
export default svgUrl;
|
|
export { svgComponent as ReactComponent };
|
|
}
|