mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2025-01-19 16:52:59 +08:00
Modified getInput return type
This commit is contained in:
parent
4a9d485d5b
commit
82e242a806
2
src/lib/@types/index.d.ts
vendored
2
src/lib/@types/index.d.ts
vendored
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user