From ede2ce04b1cf4b3bb5b70fff842345d4d4d45ca9 Mon Sep 17 00:00:00 2001 From: Armno Date: Wed, 28 Nov 2018 11:56:00 +0700 Subject: [PATCH] add overloaded constructor type definition --- src/lib/@types/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/@types/index.d.ts b/src/lib/@types/index.d.ts index 3e4dbe24..948b4d84 100644 --- a/src/lib/@types/index.d.ts +++ b/src/lib/@types/index.d.ts @@ -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.