Merge pull request #451 from patrickjholloway/el-constructor-overload

Add TypeScript overload for new element constructor signature for Keyboard
This commit is contained in:
Francisco Hodge
2020-03-12 19:35:19 -04:00
committed by GitHub
3 changed files with 3 additions and 1 deletions
File diff suppressed because one or more lines are too long
+1
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);
/**
+1
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);
/**