diff --git a/.eslintignore b/.eslintignore index 07ed7069..2c7ea48e 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1 +1,2 @@ -build/* \ No newline at end of file +build/* +/**/*.d.ts \ No newline at end of file diff --git a/src/lib/@types/index.d.ts b/src/lib/@types/index.d.ts index f1334db3..c9b7b701 100644 --- a/src/lib/@types/index.d.ts +++ b/src/lib/@types/index.d.ts @@ -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. */