mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2026-04-30 00:00:04 +08:00
add overloaded constructor type definition
This commit is contained in:
Vendored
+1
@@ -124,6 +124,7 @@ declare module 'simple-keyboard' {
|
||||
|
||||
export class Keyboard {
|
||||
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.
|
||||
|
||||
Reference in New Issue
Block a user