From: Anton Kudryavtsev Date: Fri, 15 Dec 2017 11:47:38 +0000 (+0300) Subject: Fix Keyboard util TypeScript declaration X-Git-Tag: v6.6.0~3^2~342^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F10807%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Fix Keyboard util TypeScript declaration --- diff --git a/dist/js/foundation.d.ts b/dist/js/foundation.d.ts index 653403051..a0e6e063b 100644 --- a/dist/js/foundation.d.ts +++ b/dist/js/foundation.d.ts @@ -359,7 +359,7 @@ declare module FoundationSites { GetOffsets(element: Object, anchor: Object, position: string, vOffset: number, hOffset: number, isOverflow: boolean): Object; } - interface KeyBoard { + interface Keyboard { parseKey(event: any): string; handleKey(event: any, component: any, functions: any): void; findFocusable($element: Object): Object; @@ -472,7 +472,7 @@ declare module FoundationSites { // utils Box: Box; - KeyBoard: KeyBoard; + Keyboard: Keyboard; MediaQuery: MediaQuery; Motion: Motion; Move: Move;