Export types. Fixes #865

This commit is contained in:
Francisco Hodge 2021-01-13 14:26:48 -05:00
parent 852d3049ef
commit eb7d8df9cf
2 changed files with 6 additions and 5 deletions

View File

@ -1 +1,2 @@
build/* build/*
/**/*.d.ts

View File

@ -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.
*/ */