mirror of
https://github.com/twitter/twemoji.git
synced 2024-12-27 21:15:19 +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
8
index.d.ts
vendored
8
index.d.ts
vendored
@ -29,7 +29,7 @@ declare interface TwemojiOptions {
|
||||
attributes?(): void;
|
||||
}
|
||||
|
||||
declare type twemoji = {
|
||||
declare type Twemoji = {
|
||||
convert: {
|
||||
fromCodePoint(hexCodePoint: string): string;
|
||||
toCodePoint(utf16surrogatePairs: string): string;
|
||||
@ -37,7 +37,7 @@ declare type twemoji = {
|
||||
parse(node: HTMLElement | string, options?: TwemojiOptions): void;
|
||||
};
|
||||
|
||||
declare module "twemoji" {
|
||||
const twemoji: twemoji;
|
||||
declare module 'twemoji' {
|
||||
const twemoji: Twemoji;
|
||||
export default twemoji;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user