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

mithril.js.org: wrong type hint for iteeable parameters #2720

Closed
WinterSilence opened this issue Jan 28, 2022 · 1 comment
Closed

mithril.js.org: wrong type hint for iteeable parameters #2720

WinterSilence opened this issue Jan 28, 2022 · 1 comment
Assignees
Labels
Type: Bug For bugs and any other unexpected breakage

Comments

@WinterSilence
Copy link

Types hints like as <code>Array&lt;Stream&gt;</code> must be convertin to <code>Array<Stream></code>.
For example, https://mithril.js.org/stream.html#streamcombine

@WinterSilence WinterSilence added the Type: Bug For bugs and any other unexpected breakage label Jan 28, 2022
@WinterSilence
Copy link
Author

WinterSilence commented Feb 10, 2022

@StephanHoyer it's can't help in current case, this code converting by page generator(as hugo/jekyll), you must find template for current block and disable escaping for this variable.
p.s. easy hint on future:

el.innerText = 'Array<Stream>'; 
console.log(el.innerHTML); // "Array&lt;Stream&gt;"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug For bugs and any other unexpected breakage
Projects
None yet
Development

No branches or pull requests

2 participants