-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypes.d.ts
More file actions
65 lines (56 loc) · 1.02 KB
/
types.d.ts
File metadata and controls
65 lines (56 loc) · 1.02 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
65
declare module 'bun' {
interface Env {
homeDir: string
tmpDir: string
appDir: string
capturesDir: string
satellitesDir: string
host?: string
port?: `${number}`
cert?: string
key?: string
secure?: 'true'
open?: 'true'
username?: string
password?: string
alpaca?: 'true'
alpacaPort?: string
alpacaDiscoveryPort?: string
}
}
declare module '*.svg' {
const path: `${string}.svg`
export = path
}
declare module '*.png' {
const path: `${string}.png`
export = path
}
declare module '*.webp' {
const path: `${string}.webp`
export = path
}
declare module '*.ico' {
const path: `${string}.ico`
export = path
}
declare module '*.shared' {
const path: `${string}.shared`
export = path
}
declare module '*.sqlite' {
const db: import('bun:sqlite').Database
export = db
}
declare module '*.css' {
const path: `${string}.css`
export = path
}
declare module '*.module.css' {
const classes: { readonly [key: string]: string }
export = classes
}
declare module '*.csv' {
const text: string
export = text
}