forked from patak-dev/vite-plugin-terminal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
client.d.ts
25 lines (25 loc) · 768 Bytes
/
client.d.ts
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
declare module 'virtual:terminal' {
export const terminal: {
assert: (assertion: boolean, obj: any) => void
error: (...obj: any[]) => void
info: (...obj: any[]) => void
log: (...obj: any[]) => void
table: (obj: any) => void
warn: (...obj: any[]) => void
group: () => void
groupCollapsed: () => void
groupEnd: () => void
time: (id: string) => void
timeLog: (id: string) => void
timeEnd: (id: string) => void
clear: () => void
count: (label?: string) => void
countReset: (label?: string) => void
dir: (object: any) => void
dirxml: (object: any) => void
trace: (...args: any[]) => void
profile: (...args: any[]) => void
profileEnd: (...args: any[]) => void
}
export default terminal
}