-
-
Notifications
You must be signed in to change notification settings - Fork 112
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
Re-export HTML
type in TokamakDOM
#275
Re-export HTML
type in TokamakDOM
#275
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wouldn't it be more maintainable if TokamakDOM
re-exported the symbol with public typealias HTML = TokamakStaticHTML.HTML
, for example in DynamicHTML.swift
or wherever is more suitable?
@MaxDesiatov As far as I understand, |
They aren't mutually exclusive, |
8bfaafb
to
cd5bbae
Compare
HTML
type in TokamakDOM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, thank you!
@kateinoigakukun I've sent you an invitation to the Tokamak team, feel free to merge 🙂 |
d922d4c
Please merge this PR 🙏 I don't have commit permission 🤔 |
Sorry about that, I've updated the permissions, feel free to merge and let me know if there are any problems. |
HTML
should be available when targeting dynamic HTML. Without this symlink, we need to import onlyHTML
to avoid protocol conformance conflict.e.g. https://github.com/kateinoigakukun/swiftwasm-pad/blob/9dc42e0ac6c37f6a408fdf5cbd37358b5eebb070/Frontend/Sources/SwiftWasmPad/App.swift#L4