mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2025-01-19 16:52:59 +08:00
add overloaded constructor type definition
This commit is contained in:
parent
10380099e6
commit
ede2ce04b1
1
src/lib/@types/index.d.ts
vendored
1
src/lib/@types/index.d.ts
vendored
@ -124,6 +124,7 @@ declare module 'simple-keyboard' {
|
|||||||
|
|
||||||
export class Keyboard {
|
export class Keyboard {
|
||||||
constructor(selector: string, options: KeyboardOptions);
|
constructor(selector: string, options: KeyboardOptions);
|
||||||
|
constructor(options: KeyboardOptions);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Adds/Modifies an entry to the `buttonTheme`. Basically a way to add a class to a button.
|
* Adds/Modifies an entry to the `buttonTheme`. Basically a way to add a class to a button.
|
||||||
|
Loading…
Reference in New Issue
Block a user