mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2025-02-22 01:29:39 +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' {
|
||||
interface KeyboardLayoutObject {
|
||||
export interface KeyboardLayoutObject {
|
||||
[key: string]: string[];
|
||||
}
|
||||
|
||||
interface KeyboardButtonTheme {
|
||||
export interface KeyboardButtonTheme {
|
||||
class: string;
|
||||
buttons: string;
|
||||
}
|
||||
|
||||
interface KeyboardButtonAttributes {
|
||||
export interface KeyboardButtonAttributes {
|
||||
attribute: string;
|
||||
value: string;
|
||||
buttons: string;
|
||||
}
|
||||
|
||||
interface KeyboardOptions {
|
||||
export interface KeyboardOptions {
|
||||
/**
|
||||
* Modify the keyboard layout.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user