mirror of
https://github.com/twitter/twemoji.git
synced 2025-01-15 19:52:34 +00:00
lint index.d.ts: Strings must use singlequote, Newline required at end of file but not found
This commit is contained in:
parent
9110fc85c0
commit
fffa763019
6
index.d.ts
vendored
6
index.d.ts
vendored
@ -29,7 +29,7 @@ declare interface TwemojiOptions {
|
|||||||
attributes?(): void;
|
attributes?(): void;
|
||||||
}
|
}
|
||||||
|
|
||||||
declare type twemoji = {
|
declare type Twemoji = {
|
||||||
convert: {
|
convert: {
|
||||||
fromCodePoint(hexCodePoint: string): string;
|
fromCodePoint(hexCodePoint: string): string;
|
||||||
toCodePoint(utf16surrogatePairs: string): string;
|
toCodePoint(utf16surrogatePairs: string): string;
|
||||||
@ -37,7 +37,7 @@ declare type twemoji = {
|
|||||||
parse(node: HTMLElement | string, options?: TwemojiOptions): void;
|
parse(node: HTMLElement | string, options?: TwemojiOptions): void;
|
||||||
};
|
};
|
||||||
|
|
||||||
declare module "twemoji" {
|
declare module 'twemoji' {
|
||||||
const twemoji: twemoji;
|
const twemoji: Twemoji;
|
||||||
export default twemoji;
|
export default twemoji;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user