mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2025-05-10 16:27:10 +08:00
Export types. Fixes #865
This commit is contained in:
parent
852d3049ef
commit
eb7d8df9cf
@ -1 +1,2 @@
|
|||||||
build/*
|
build/*
|
||||||
|
/**/*.d.ts
|
8
src/lib/@types/index.d.ts
vendored
8
src/lib/@types/index.d.ts
vendored
@ -1,20 +1,20 @@
|
|||||||
declare module 'simple-keyboard' {
|
declare module 'simple-keyboard' {
|
||||||
interface KeyboardLayoutObject {
|
export interface KeyboardLayoutObject {
|
||||||
[key: string]: string[];
|
[key: string]: string[];
|
||||||
}
|
}
|
||||||
|
|
||||||
interface KeyboardButtonTheme {
|
export interface KeyboardButtonTheme {
|
||||||
class: string;
|
class: string;
|
||||||
buttons: string;
|
buttons: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface KeyboardButtonAttributes {
|
export interface KeyboardButtonAttributes {
|
||||||
attribute: string;
|
attribute: string;
|
||||||
value: string;
|
value: string;
|
||||||
buttons: string;
|
buttons: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface KeyboardOptions {
|
export interface KeyboardOptions {
|
||||||
/**
|
/**
|
||||||
* Modify the keyboard layout.
|
* Modify the keyboard layout.
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user