chore(types): remove redundant interface

This commit is contained in:
Elian Doran 2025-01-18 01:24:04 +02:00
parent 3db93cdf24
commit 0776f17ebb
No known key found for this signature in database
2 changed files with 2 additions and 6 deletions

View File

@ -5,7 +5,7 @@ interface Category {
id: number;
}
interface Icon {
export interface Icon {
name: string;
slug: string;
category_id: number;

View File

@ -4,6 +4,7 @@ import attributeService from "../services/attributes.js";
import server from "../services/server.js";
import type FNote from "../entities/fnote.js";
import type { EventData } from "../components/app_context.js";
import type { Icon } from "./icon_list.js";
const TPL = `
<div class="note-icon-widget dropdown">
@ -81,11 +82,6 @@ const TPL = `
</div>
</div>`;
interface Icon {
className?: string;
name: string;
}
interface IconToCountCache {
iconClassToCountMap: Record<string, number>;
}