Include TypeScript overload for new HTMLDivElement constructor signature for Keyboard

This commit is contained in:
Patrick Holloway 2020-03-12 18:23:36 -04:00
parent fa22886b0a
commit ad21489f0f
3 changed files with 3 additions and 1 deletions

File diff suppressed because one or more lines are too long

1
build/index.d.ts vendored
View File

@ -192,6 +192,7 @@ declare module 'simple-keyboard' {
class Keyboard {
constructor(selector: string, options: KeyboardOptions);
constructor(selector: HTMLDivElement, options: KeyboardOptions)
constructor(options: KeyboardOptions);
/**

View File

@ -192,6 +192,7 @@ declare module 'simple-keyboard' {
class Keyboard {
constructor(selector: string, options: KeyboardOptions);
constructor(selector: HTMLDivElement, options: KeyboardOptions)
constructor(options: KeyboardOptions);
/**