Last active 1752447716

Uma descrição

teste.ts Raw
1import { App, Editor, Menu } from 'obsidian'
2
3/*
4 Cursor Coordinate
5*/
6
7export interface Coords
8{
9 top: number
10 left: number
11 right: number
12 bottom: number
13}
14
15/*
16 Export Types
17*/
18
19export type ContextMenu = Menu & { DOM: HTMLElement }
20export type GistrAPI = App & { Commands: { RunCommandByID: Function } }
21export type GistrEditor = Editor &
22{
23 cm: CodeMirror.Editor & { coordsPos: Function }
24 coordsCur: Function
25 coordsPos: Function
26 hasFocus: Function
27 getSelection: Function
28}
29