Skip to content

Commit

Permalink
ref: json type imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Sv443 committed Jan 3, 2025
1 parent 9d45f5b commit 1e0a28c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ import type { BytmDialog, ExImDialog, createCircularBtn, createHotkeyInput, crea
import type { fetchLyricsUrlTop, sanitizeArtists, sanitizeSong } from "./features/lyrics.js";
import type { getLyricsCacheEntry } from "./features/lyricsCache.js";
import type { showPrompt } from "./dialogs/prompt.js";
import resources from "../assets/resources.json" with { type: "json" }; // eslint-disable-line @typescript-eslint/no-unused-vars
import locales from "../assets/locales.json" with { type: "json" }; // eslint-disable-line @typescript-eslint/no-unused-vars
import resources from "../assets/resources.json" with { type: "json" };
import locales from "../assets/locales.json" with { type: "json" };

void ["type imports only", resources, locales];

//#region other

Expand Down

0 comments on commit 1e0a28c

Please sign in to comment.