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

New TypeDoc option "markedOptions" #1412

Merged
merged 5 commits into from Dec 9, 2020
Merged

New TypeDoc option "markedOptions" #1412

merged 5 commits into from Dec 9, 2020

Conversation

krisztianb
Copy link
Contributor

Closes #1395

Copy link
Collaborator

@Gerrit0 Gerrit0 left a comment

Choose a reason for hiding this comment

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

I really dislike the theme tests... need to find a better solution. One small comment

) ?? {}) as Marked.MarkedOptions;

if (
typeof markedOptions === "object" &&
Copy link
Collaborator

Choose a reason for hiding this comment

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

We also need a check here for null

Copy link
Contributor Author

@krisztianb krisztianb Dec 7, 2020

Choose a reason for hiding this comment

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

I think you missed the null coalescing a few lines above. But I'm always open for better solutions.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Oops! Looks like you're right, should be able to merge tonight.

@Gerrit0 Gerrit0 merged commit 2bf6e49 into TypeStrong:master Dec 9, 2020
@Gerrit0
Copy link
Collaborator

Gerrit0 commented Dec 9, 2020

Thanks!

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.

Disable email address escaping with HTML character references
2 participants