npm install --save @types/emojione
This package contains type definitions for emojione (https://github.com/Ranks/emojione).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/emojione.
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;
- Last updated: Mon, 06 Nov 2023 22:41:05 GMT
- Dependencies: none
These definitions were written by Danilo Bargen, and David Velasquez.