Fixed duplicate onKeyReleased type

This commit is contained in:
Francisco Hodge 2019-08-19 08:25:21 -04:00
parent ba9c9a6a4e
commit 34d6d6a3f7
7 changed files with 5 additions and 15 deletions

View File

@ -1,6 +1,6 @@
/*! /*!
* *
* simple-keyboard v2.26.1 * simple-keyboard v2.26.2
* https://github.com/hodgef/simple-keyboard * https://github.com/hodgef/simple-keyboard
* *
* Copyright (c) Francisco Hodge (https://github.com/hodgef) * Copyright (c) Francisco Hodge (https://github.com/hodgef)

File diff suppressed because one or more lines are too long

5
build/index.d.ts vendored
View File

@ -178,11 +178,6 @@ declare module 'simple-keyboard' {
* Executes the callback function on input change. Returns the input object with all defined inputs. * Executes the callback function on input change. Returns the input object with all defined inputs.
*/ */
onChangeAll?: (inputs: any) => any; onChangeAll?: (inputs: any) => any;
/**
* Executes the callback function on key release.
*/
onKeyReleased?: () => void;
} }
class Keyboard { class Keyboard {

View File

@ -1,6 +1,6 @@
/*! /*!
* *
* simple-keyboard v2.26.1 * simple-keyboard v2.26.2
* https://github.com/hodgef/simple-keyboard * https://github.com/hodgef/simple-keyboard
* *
* Copyright (c) Francisco Hodge (https://github.com/hodgef) * Copyright (c) Francisco Hodge (https://github.com/hodgef)

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "simple-keyboard", "name": "simple-keyboard",
"version": "2.26.1", "version": "2.26.2",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@ -1,6 +1,6 @@
{ {
"name": "simple-keyboard", "name": "simple-keyboard",
"version": "2.26.1", "version": "2.26.2",
"description": "On-screen Javascript Virtual Keyboard", "description": "On-screen Javascript Virtual Keyboard",
"main": "build/index.js", "main": "build/index.js",
"types": "build/index.d.ts", "types": "build/index.d.ts",

View File

@ -178,11 +178,6 @@ declare module 'simple-keyboard' {
* Executes the callback function on input change. Returns the input object with all defined inputs. * Executes the callback function on input change. Returns the input object with all defined inputs.
*/ */
onChangeAll?: (inputs: any) => any; onChangeAll?: (inputs: any) => any;
/**
* Executes the callback function on key release.
*/
onKeyReleased?: () => void;
} }
class Keyboard { class Keyboard {