mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
31 lines
1.0 KiB
TypeScript
31 lines
1.0 KiB
TypeScript
// Type definitions for emojione 2.2
|
|
// Project: https://github.com/Ranks/emojione, https://www.emojione.com
|
|
// Definitions by: Danilo Bargen <https://github.com/dbrgn>
|
|
// David Velasquez <https://github.com/sliker>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
export as namespace emojione;
|
|
|
|
export let sprites: boolean;
|
|
export let imagePathPNG: string;
|
|
export let imagePathSVG: string;
|
|
export let imagePathSVGSprites: string;
|
|
export let imageType: 'png' | 'svg';
|
|
export let unicodeAlt: boolean;
|
|
export let ascii: boolean;
|
|
export let unicodeRegexp: string;
|
|
export let cacheBustParam: string;
|
|
export let emojioneList: {
|
|
[key: string]: {
|
|
unicode: string[];
|
|
fname: string;
|
|
uc: string;
|
|
isCanonical: boolean;
|
|
};
|
|
};
|
|
export function toShort(str: string): string;
|
|
export function toImage(str: string): string;
|
|
export function shortnameToImage(str: string): string;
|
|
export function unicodeToImage(str: string): string;
|
|
export function shortnameToUnicode(str: string): string;
|