-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathglobal.d.ts
More file actions
35 lines (33 loc) · 695 Bytes
/
global.d.ts
File metadata and controls
35 lines (33 loc) · 695 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/* GRAPHQL */
declare module "*.graphql" {
import { DocumentNode } from "graphql";
const Schema: DocumentNode;
export = Schema;
}
/* CSS */
declare module "*.css" {
const ref: Record<string, string>;
export default ref;
}
/* IMAGES */
declare module "*.svg" {
import { ReactElement, SVGProps } from "react";
const content: (props: SVGProps<SVGElement>) => ReactElement;
export default content;
}
declare module "*.gif" {
const ref: string;
export default ref;
}
declare module "*.jpg" {
const ref: string;
export default ref;
}
declare module "*.jpeg" {
const ref: string;
export default ref;
}
declare module "*.png" {
const ref: string;
export default ref;
}