diff options
author | Alex Dima <alexdima@microsoft.com> | 2019-11-21 11:38:15 +0300 |
---|---|---|
committer | Alex Dima <alexdima@microsoft.com> | 2019-11-21 11:38:30 +0300 |
commit | b63e626066cd3a2ab1872bba6e614d87e4de6ac4 (patch) | |
tree | eaf3dbba1f4307ded7e981801aa4957a2eee774f /src/typings | |
parent | ee54b6ea61ddc34a6a4922a4ea78161f135d0825 (diff) |
Remove .d.ts from typings folder (#83421)
Diffstat (limited to 'src/typings')
-rw-r--r-- | src/typings/native-keymap.d.ts | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/src/typings/native-keymap.d.ts b/src/typings/native-keymap.d.ts deleted file mode 100644 index 8526b115ec4..00000000000 --- a/src/typings/native-keymap.d.ts +++ /dev/null @@ -1,71 +0,0 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. - *--------------------------------------------------------------------------------------------*/ - -declare module 'native-keymap' { - - export interface IWindowsKeyMapping { - vkey: string; - value: string; - withShift: string; - withAltGr: string; - withShiftAltGr: string; - } - export interface IWindowsKeyboardMapping { - [code: string]: IWindowsKeyMapping; - } - export interface ILinuxKeyMapping { - value: string; - withShift: string; - withAltGr: string; - withShiftAltGr: string; - } - export interface ILinuxKeyboardMapping { - [code: string]: ILinuxKeyMapping; - } - export interface IMacKeyMapping { - value: string; - withShift: string; - withAltGr: string; - withShiftAltGr: string; - valueIsDeadKey: boolean; - withShiftIsDeadKey: boolean; - withAltGrIsDeadKey: boolean; - withShiftAltGrIsDeadKey: boolean; - } - export interface IMacKeyboardMapping { - [code: string]: IMacKeyMapping; - } - - export type IKeyboardMapping = IWindowsKeyboardMapping | ILinuxKeyboardMapping | IMacKeyboardMapping; - - export function getKeyMap(): IKeyboardMapping; - - export interface IWindowsKeyboardLayoutInfo { - name: string; - id: string; - text: string; - } - - export interface ILinuxKeyboardLayoutInfo { - model: string; - layout: string; - variant: string; - options: string; - rules: string; - } - - export interface IMacKeyboardLayoutInfo { - id: string; - lang: string; - } - - export type IKeyboardLayoutInfo = IWindowsKeyboardLayoutInfo | ILinuxKeyboardLayoutInfo | IMacKeyboardLayoutInfo; - - export function getCurrentKeyboardLayout(): IKeyboardLayoutInfo; - - export function onDidChangeKeyboardLayout(callback: () => void): void; - - export function isISOKeyboard(): boolean; -} |