mirror of
https://github.com/go-gitea/gitea.git
synced 2026-09-02 19:13:25 +09:00
refactor: improve types in the frontend, misc fixes (#39142)
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
export type InplaceRenderPlugin = {
|
||||
name: string;
|
||||
canHandle: (filename: string, mimeType: string) => boolean;
|
||||
render: (container: HTMLElement, fileUrl: string, options?: any) => Promise<void>;
|
||||
render: (container: HTMLElement, fileUrl: string) => Promise<void>;
|
||||
};
|
||||
|
||||
export type FrontendRenderOptions = {
|
||||
|
||||
Reference in New Issue
Block a user