diff --git a/Source/Function/TypeDoc.ts b/Source/Function/TypeDoc.ts index fa2ba672..57aa1d7e 100644 --- a/Source/Function/TypeDoc.ts +++ b/Source/Function/TypeDoc.ts @@ -6,12 +6,8 @@ export const load = (app: Application) => { class extends DefaultTheme { override getRenderContext( pageEvent: PageEvent - ): ThemeContext { - return new ThemeContext( - this, - pageEvent, - this.application.options - ); + ): Context { + return new Context(this, pageEvent, this.application.options); } } ); @@ -19,5 +15,5 @@ export const load = (app: Application) => { export default load; -import type { Application } from "typedoc"; +import type { Application, PageEvent, Reflection } from "typedoc"; import { DefaultTheme, DefaultThemeRenderContext } from "typedoc";