Skip to content

Commit

Permalink
Update docs for TypeDoc import
Browse files Browse the repository at this point in the history
Resolves #2826
  • Loading branch information
Gerrit0 committed Jan 2, 2025
1 parent 9a1a719 commit 0e52193
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion site/development/internationalization.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ declared in the `TranslatableStrings` interface. To do this, use declaration
merging to define the expected number of placeholders for each translation string.

```ts
import td from "typedoc";
import * as td from "typedoc";

declare module "typedoc" {
interface TranslatableStrings {
Expand Down
2 changes: 1 addition & 1 deletion site/development/plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ generally published as ESM to avoid `require(esm)` experimental warnings.

```js
// @ts-check
import td from "typedoc";
import * as td from "typedoc";
/** @param {td.Application} app */
export function load(app) {
// Add event listeners to app, app.converter, etc.
Expand Down
2 changes: 1 addition & 1 deletion site/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ for details on where options are read from.
TypeDoc exposes an API which can be used to run it without any configuration files.

```js
import td from "typedoc";
import * as td from "typedoc";

// Application.bootstrap also exists, which will not load plugins
// Also accepts an array of option readers if you want to disable
Expand Down

0 comments on commit 0e52193

Please sign in to comment.