mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-29 19:12:27 +08:00
chore(types): remove redundant interface
This commit is contained in:
parent
3db93cdf24
commit
0776f17ebb
@ -5,7 +5,7 @@ interface Category {
|
||||
id: number;
|
||||
}
|
||||
|
||||
interface Icon {
|
||||
export interface Icon {
|
||||
name: string;
|
||||
slug: string;
|
||||
category_id: number;
|
||||
|
@ -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>;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user