mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2026-02-03 00:06:50 +08:00
Export types. Fixes #865
This commit is contained in:
@@ -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.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user