-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathglobal.d.ts
More file actions
43 lines (33 loc) · 852 Bytes
/
global.d.ts
File metadata and controls
43 lines (33 loc) · 852 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
36
37
38
39
40
41
42
43
/* eslint-disable @typescript-eslint/no-explicit-any */
declare module '@dhis2/d2-i18n' {
const language: string
export function t(key: string, options?: any): string
export function exists(key: string): boolean
}
declare module '*.bmp' {
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 '*.svg' {
import * as React from 'react'
export const ReactComponent: React.FC<React.SVGProps<SVGSVGElement>>
const src: string
export default src
}
declare module '*.module.css' {
const classes: { [key: string]: string }
export default classes
}
declare module '@dhis2/cypress-commands'