mirror of
https://github.com/vale981/tridactyl
synced 2025-03-05 17:41:40 -05:00
tridactyl.d.ts: Add focus with arguments to HTMLElement interface
This commit is contained in:
parent
4981a3618e
commit
34d8363224
1 changed files with 6 additions and 0 deletions
6
src/tridactyl.d.ts
vendored
6
src/tridactyl.d.ts
vendored
|
@ -16,6 +16,12 @@ interface Window {
|
|||
eval(str: string): any
|
||||
}
|
||||
|
||||
interface HTMLElement {
|
||||
// Let's be future proof:
|
||||
// https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus
|
||||
focus(options: any): void
|
||||
}
|
||||
|
||||
declare function exportFunction(
|
||||
func: Function,
|
||||
targetScope: object,
|
||||
|
|
Loading…
Add table
Reference in a new issue