Skip to content

Upcoming Typedoc 0.28.2 may break existing @inline behavior #799

Closed
@LekoArts

Description

@LekoArts

What package is the bug related to?

typedoc-plugin-markdown

Describe the issue

Hello!

For the issue TypeStrong/typedoc#2923 I've been in contact with the Typedoc maintainer and tried out the current unreleased master branch in my project. With TypeStrong/typedoc@6376273 I'm seeing current and expected behavior of @inline for Returns change.

I think this is somewhat expected since the underlying incoming data is changed now. So I wanted to give you a heads up about this 👍

I'll spend some time today to look into what needs changing.

TypeDoc configuration

I've created a reproduction at https://github.com/lekoarts-demos/typedoc-plugin-markdown-scratchpad/blob/inline-returns-issue/issues/tbd/docs/functions/useExample.mdx

  • The comments went missing
  • Subsequently the table itself went away

It's now a "Type declaration" and has the information here: https://github.com/lekoarts-demos/typedoc-plugin-markdown-scratchpad/blob/inline-returns-issue/issues/tbd/docs/type-aliases/UseExampleReturn.mdx

Expected behavior

If I run that same example with current released version of Typedoc it looks like this: https://github.com/lekoarts-demos/typedoc-plugin-markdown-scratchpad/blob/inline-returns-issue-old-behavior/issues/tbd/docs/functions/useExample.mdx

So I guess a new table with the new Typedoc version could look like this:

Name Type Description
isLoaded boolean A boolean that indicates whether Clerk has completed initialization. Initially false, becomes true once Clerk loads.
isSignedIn boolean | undefined A boolean that indicates whether a user is currently signed in.
orgRole string | undefined | null The current user's role in their active organization.

So a concise version of the Type declaration table, inlined into the one page of useExample

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue raised as a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions