mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 14:57:10 +00:00
Export as namespace
This commit is contained in:
Vendored
+15
-15
@@ -3,18 +3,18 @@
|
||||
// Definitions by: Danilo Bargen <https://github.com/dbrgn/>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare var emojione: {
|
||||
sprites: boolean,
|
||||
imagePathPNG: string,
|
||||
imagePathSVG: string,
|
||||
imagePathSVGSprites: string,
|
||||
imageType: 'png' | 'svg',
|
||||
unicodeAlt: boolean,
|
||||
ascii: boolean,
|
||||
unicodeRegexp: string,
|
||||
cacheBustParam: string,
|
||||
toShort: (str: string) => string,
|
||||
toImage: (str: string) => string,
|
||||
shortnameToImage: (str: string) => string,
|
||||
unicodeToImage: (str: string) => string,
|
||||
};
|
||||
export as namespace emojione;
|
||||
|
||||
export var sprites: boolean;
|
||||
export var imagePathPNG: string;
|
||||
export var imagePathSVG: string;
|
||||
export var imagePathSVGSprites: string;
|
||||
export var imageType: 'png' | 'svg';
|
||||
export var unicodeAlt: boolean;
|
||||
export var ascii: boolean;
|
||||
export var unicodeRegexp: string;
|
||||
export var cacheBustParam: string;
|
||||
export function toShort(str: string): string;
|
||||
export function toImage(str: string): string;
|
||||
export function shortnameToImage(str: string): string;
|
||||
export function unicodeToImage(str: string): string;
|
||||
|
||||
Reference in New Issue
Block a user