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

feat: add page.setContent #17

Merged
merged 1 commit into from
Oct 9, 2023
Merged

feat: add page.setContent #17

merged 1 commit into from
Oct 9, 2023

Conversation

lowlighter
Copy link
Contributor

@lowlighter lowlighter commented Oct 9, 2023

write: (html: string) => void;
close: () => void;
};
};
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I wasn't too sure how to enable the dom typing just for this block code 😅
I can change it if you know how to achieve this

Copy link
Owner

Choose a reason for hiding this comment

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

As far as I am aware, there isn't really a way to achieve this functionality unfortunately. Triple slash directives only seem to be valid at the top level, which is really unfortunate.

@lino-levan lino-levan marked this pull request as ready for review October 9, 2023 16:57
Copy link
Owner

@lino-levan lino-levan left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

@lino-levan lino-levan merged commit 3a1ec6a into lino-levan:main Oct 9, 2023
4 checks passed
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