Skip to content

Commit acf62dd

Browse files
committed
dep: add @types
1 parent ffca0ec commit acf62dd

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

src/types.ts

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
/*
2+
Module: Obsidian
3+
*/
4+
5+
declare module 'obsidian'
6+
{
7+
interface App
8+
{
9+
commands:
10+
{
11+
executeCommandById: any
12+
}
13+
}
14+
15+
interface Workspace
16+
{
17+
onLayoutChange( ): void
18+
}
19+
}
20+
21+
/*
22+
Header leaf button base
23+
*/
24+
25+
export interface LeafButtonBase
26+
{
27+
id: string
28+
icon: string
29+
name: string
30+
}

0 commit comments

Comments
 (0)