From 82e242a806cd9ed19287c31635aa04e17e85c645 Mon Sep 17 00:00:00 2001 From: Francisco Hodge Date: Tue, 4 Dec 2018 20:06:32 -0500 Subject: [PATCH] Modified getInput return type --- src/lib/@types/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/@types/index.d.ts b/src/lib/@types/index.d.ts index a3d06ab2..f7daf5b4 100644 --- a/src/lib/@types/index.d.ts +++ b/src/lib/@types/index.d.ts @@ -152,7 +152,7 @@ declare module 'simple-keyboard' { * Get the keyboard’s input (You can also get it from the onChange prop). * @param {string} [inputName] optional - the internal input to select */ - getInput(inputName?: string): void; + getInput(inputName?: string): string; /** * Set the keyboard’s input.