mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2025-03-13 06:31:07 +08:00
Include TypeScript overload for new HTMLDivElement constructor signature for Keyboard
This commit is contained in:
parent
fa22886b0a
commit
ad21489f0f
File diff suppressed because one or more lines are too long
1
build/index.d.ts
vendored
1
build/index.d.ts
vendored
@ -192,6 +192,7 @@ declare module 'simple-keyboard' {
|
||||
|
||||
class Keyboard {
|
||||
constructor(selector: string, options: KeyboardOptions);
|
||||
constructor(selector: HTMLDivElement, options: KeyboardOptions)
|
||||
constructor(options: KeyboardOptions);
|
||||
|
||||
/**
|
||||
|
1
src/lib/@types/index.d.ts
vendored
1
src/lib/@types/index.d.ts
vendored
@ -192,6 +192,7 @@ declare module 'simple-keyboard' {
|
||||
|
||||
class Keyboard {
|
||||
constructor(selector: string, options: KeyboardOptions);
|
||||
constructor(selector: HTMLDivElement, options: KeyboardOptions)
|
||||
constructor(options: KeyboardOptions);
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user