Skip to content

expose types - #861

Merged
Dashron merged 2 commits into
betafrom
betaExportTypes
Apr 12, 2024
Merged

Dashron merged 2 commits into
betafrom
betaExportTypes

Conversation

@Dashron

@Dashron Dashron commented Apr 12, 2024

Copy link
Copy Markdown
Contributor
PR App Fix RM-XYZ

🧰 Changes

build and export typescript types.

🧬 QA & Testing

Comment thread index.tsx
};

export const mdast = (text: string, opts = {}) => {
export const mdast: any = (text: string, opts = {}) => {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

ts can't infer this type because it would require exporting types from remark. This was my lazy way of fixing it, but we should improve this.

@Dashron
Dashron merged commit c17091a into beta Apr 12, 2024
@Dashron
Dashron deleted the betaExportTypes branch April 12, 2024 18:45
@rafegoldberg

Copy link
Copy Markdown
Collaborator

This PR was released!

🚀 Changes included in v6.75.0-beta.26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants