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;
|
id: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface Icon {
|
export interface Icon {
|
||||||
name: string;
|
name: string;
|
||||||
slug: string;
|
slug: string;
|
||||||
category_id: number;
|
category_id: number;
|
||||||
|
@ -4,6 +4,7 @@ import attributeService from "../services/attributes.js";
|
|||||||
import server from "../services/server.js";
|
import server from "../services/server.js";
|
||||||
import type FNote from "../entities/fnote.js";
|
import type FNote from "../entities/fnote.js";
|
||||||
import type { EventData } from "../components/app_context.js";
|
import type { EventData } from "../components/app_context.js";
|
||||||
|
import type { Icon } from "./icon_list.js";
|
||||||
|
|
||||||
const TPL = `
|
const TPL = `
|
||||||
<div class="note-icon-widget dropdown">
|
<div class="note-icon-widget dropdown">
|
||||||
@ -81,11 +82,6 @@ const TPL = `
|
|||||||
</div>
|
</div>
|
||||||
</div>`;
|
</div>`;
|
||||||
|
|
||||||
interface Icon {
|
|
||||||
className?: string;
|
|
||||||
name: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface IconToCountCache {
|
interface IconToCountCache {
|
||||||
iconClassToCountMap: Record<string, number>;
|
iconClassToCountMap: Record<string, number>;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user