Skip to content

Commit

Permalink
use assert for type assertion for all.json
Browse files Browse the repository at this point in the history
  • Loading branch information
ycmjason authored Sep 8, 2024
1 parent 7debcd7 commit b2082f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion emoji.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Emoji } from "./types.ts";
import emojis from "./all.json" with { type: "json" };
import emojis from "./all.json" assert { type: "json" };
import { reUnicode } from "./unicode.ts";

export type { Emoji };
Expand Down

0 comments on commit b2082f4

Please sign in to comment.