Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

expose types #861

Merged
merged 2 commits into from
Apr 12, 2024
Merged

expose types #861

merged 2 commits into from
Apr 12, 2024

Conversation

Dashron
Copy link
Contributor

@Dashron Dashron commented Apr 12, 2024

PR App Fix RM-XYZ

🧰 Changes

build and export typescript types.

🧬 QA & Testing

@@ -86,7 +86,7 @@ export const html = (text: string, opts = {}) => {
unimplemented('html export');
};

export const mdast = (text: string, opts = {}) => {
export const mdast: any = (text: string, opts = {}) => {
Copy link
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
4 of 5 checks passed
@Dashron Dashron deleted the betaExportTypes branch April 12, 2024 18:45
@rafegoldberg
Copy link
Contributor

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