-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclient.d.ts
More file actions
64 lines (52 loc) · 1.82 KB
/
Copy pathclient.d.ts
File metadata and controls
64 lines (52 loc) · 1.82 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/* oxlint-disable trigen/import-order */
/// <reference types="vite/client" />
/**
* Ambient module declarations for image imports handled by @srcset/vite-plugin.
* Only the named exports are declared: the default url export
* comes from the `vite/client` asset types.
*
* Usage: add to tsconfig `types` or reference directly:
* /// <reference types="@srcset/vite-plugin/client" />
*/
declare module '*.jpg' {
import type { SrcSetEntry } from '@srcset/runtime'
export const src: SrcSetEntry
export const srcSet: SrcSetEntry[]
export const srcMap: Record<string, string>
export const placeholder: string | undefined
}
declare module '*.jpeg' {
import type { SrcSetEntry } from '@srcset/runtime'
export const src: SrcSetEntry
export const srcSet: SrcSetEntry[]
export const srcMap: Record<string, string>
export const placeholder: string | undefined
}
declare module '*.png' {
import type { SrcSetEntry } from '@srcset/runtime'
export const src: SrcSetEntry
export const srcSet: SrcSetEntry[]
export const srcMap: Record<string, string>
export const placeholder: string | undefined
}
declare module '*.webp' {
import type { SrcSetEntry } from '@srcset/runtime'
export const src: SrcSetEntry
export const srcSet: SrcSetEntry[]
export const srcMap: Record<string, string>
export const placeholder: string | undefined
}
declare module '*.avif' {
import type { SrcSetEntry } from '@srcset/runtime'
export const src: SrcSetEntry
export const srcSet: SrcSetEntry[]
export const srcMap: Record<string, string>
export const placeholder: string | undefined
}
declare module '*.gif' {
import type { SrcSetEntry } from '@srcset/runtime'
export const src: SrcSetEntry
export const srcSet: SrcSetEntry[]
export const srcMap: Record<string, string>
export const placeholder: string | undefined
}