mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* Add types for convert-layout ( https://github.com/ai/convert-layout ) * Add missed layouts, fix tsc warnings * Fix tslint and common mistakes * Simplify definition structure for convert-layout
55 lines
1.1 KiB
TypeScript
55 lines
1.1 KiB
TypeScript
// Type definitions for convert-layout 0.5
|
|
// Project: https://github.com/ai/convert-layout#readme
|
|
// Definitions by: Mikhail Aksenov <https://github.com/xeningem>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 2.1
|
|
declare var layouts: { [id: string]: layout };
|
|
declare var lang_layout: layout;
|
|
|
|
declare const convert_layout: {
|
|
by: layout;
|
|
de: layout;
|
|
es: layout;
|
|
he: layout;
|
|
kk: layout;
|
|
ru: layout;
|
|
uk: layout;
|
|
};
|
|
|
|
declare module "convert-layout" {
|
|
export = convert_layout;
|
|
}
|
|
|
|
declare module "convert-layout/by" {
|
|
export = lang_layout;
|
|
}
|
|
|
|
declare module "convert-layout/de" {
|
|
export = lang_layout;
|
|
}
|
|
|
|
declare module "convert-layout/es" {
|
|
export = lang_layout;
|
|
}
|
|
|
|
declare module "convert-layout/he" {
|
|
export = lang_layout;
|
|
}
|
|
|
|
declare module "convert-layout/kk" {
|
|
export = lang_layout;
|
|
}
|
|
|
|
declare module "convert-layout/ru" {
|
|
export = lang_layout;
|
|
}
|
|
|
|
declare module "convert-layout/uk" {
|
|
export = lang_layout;
|
|
}
|
|
|
|
interface layout {
|
|
toEn(s: string): string;
|
|
fromEn(s: string): string;
|
|
}
|