fix
This commit is contained in:
parent
c1cff1361f
commit
de27d254f4
|
@ -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' with { type: 'json' };
|
import _emojilist from './emojilist.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,
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
"$schema": "https://json.schemastore.org/tsconfig",
|
"$schema": "https://json.schemastore.org/tsconfig",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"target": "ES2022",
|
"target": "ES2022",
|
||||||
"module": "nodenext",
|
"module": "ES2022",
|
||||||
"moduleResolution": "nodenext",
|
"moduleResolution": "bundler",
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
"declarationMap": true,
|
"declarationMap": true,
|
||||||
"sourceMap": false,
|
"sourceMap": false,
|
||||||
|
|
Loading…
Reference in New Issue