Skip to content

Expose types and a nicer entrypoint for renderSimplified #1404

@LeoMcA

Description

@LeoMcA

In mdn/mcp#114 we're able to use the renderSimplified function instead of rolling our own, however:

  • We still have to import it from the out directory, not great, we should have a top level exposed through package.json
  • We don't expose any types with it

I remember dabbling in exposing types in our npm package in the past, and it being less than trivial. IIRC we can't rip our inline jsdoc types into a d.ts for shipping without some tsconfig changes which break things?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions