add overloaded constructor type definition

This commit is contained in:
Armno 2018-11-28 11:56:00 +07:00
parent 10380099e6
commit ede2ce04b1
No known key found for this signature in database
GPG Key ID: AF781F1A2DDF1E59

View File

@ -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.