Skip to content

Commit

Permalink
Remove DefaultThemeRenderContext.iconsCache
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit0 committed Apr 29, 2024
1 parent 64447fa commit 9946b92
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -13,6 +13,7 @@
- API: Deprecated `BindOption` decorator has been removed.
- API: `DeclarationReflection.indexSignature` has been renamed to `DeclarationReflection.indexSignatures`.
Note: This also affects JSON serialization. TypeDoc will support JSON output from 0.25 until 0.28.
- API: `DefaultThemeRenderContext.iconsCache` has been removed as it is no longer needed.

### Features

Expand Down
2 changes: 1 addition & 1 deletion src/lib/models/reflections/abstract.ts
Expand Up @@ -496,7 +496,7 @@ export abstract class Reflection {
* Traverse most potential child reflections of this reflection.
*
* Note: This may not necessarily traverse child reflections contained within the `type` property
* of the reflection, and should not be relied on for this. Support for checking object types will likely be removed in v0.26.
* of the reflection, and should not be relied on for this. Support for checking object types will likely be removed in v0.27.
*
* The given callback will be invoked for all children, signatures and type parameters
* attached to this reflection.
Expand Down
9 changes: 1 addition & 8 deletions src/lib/output/themes/default/DefaultThemeRenderContext.ts
Expand Up @@ -9,7 +9,7 @@ import {
type DeclarationReflection,
type Reflection,
} from "../../../models";
import { JSX, type NeverIfInternal, type Options } from "../../../utils";
import { type NeverIfInternal, type Options } from "../../../utils";
import type { DefaultTheme } from "./DefaultTheme";
import { defaultLayout } from "./layouts/default";
import { index } from "./partials";
Expand Down Expand Up @@ -74,13 +74,6 @@ export class DefaultThemeRenderContext {
this._refIcons = buildRefIcons(icons, this);
}

/**
* @deprecated Will be removed in 0.26, no longer required.
*/
iconsCache(): JSX.Element {
return JSX.createElement(JSX.Fragment, null);
}

/**
* Icons available for use within the page.
*
Expand Down

0 comments on commit 9946b92

Please sign in to comment.