fix type error
This commit is contained in:
parent
0bc4273166
commit
c1cff1361f
|
@ -12,7 +12,7 @@ export type UnicodeEmojiDef = {
|
||||||
};
|
};
|
||||||
|
|
||||||
// initial converted from https://github.com/muan/emojilib/commit/242fe68be86ed6536843b83f7e32f376468b38fb
|
// initial converted from https://github.com/muan/emojilib/commit/242fe68be86ed6536843b83f7e32f376468b38fb
|
||||||
import _emojilist from './emojilist.json';
|
import _emojilist from './emojilist.json' with { type: 'json' };
|
||||||
|
|
||||||
export const emojilist: UnicodeEmojiDef[] = _emojilist.map(x => ({
|
export const emojilist: UnicodeEmojiDef[] = _emojilist.map(x => ({
|
||||||
name: x[1] as string,
|
name: x[1] as string,
|
||||||
|
|
Loading…
Reference in New Issue