Skip to content

Conversation

ryanking13
Copy link
Member

This fixes a bug while I was working on pyodide/pyodide#5746.

I noticed that a docstring of a property inside an interface that has arrow function is not rendered in the docs.

For example,

interface MyInterface {
  /**
    * This should be rendered
    */
  prop: () => void;
}

The docstring "This should be rendered" is not rendered in the docs.

Copy link
Member

@hoodmane hoodmane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

ryanking13 and others added 2 commits September 17, 2025 19:34
Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
@ryanking13
Copy link
Member Author

Thanks for the review!

@ryanking13 ryanking13 merged commit bb39c7c into pyodide:master Sep 17, 2025
11 checks passed
@ryanking13 ryanking13 deleted the interface-rendering branch September 17, 2025 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants