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
[localize] Fix and document msgdesc comments #1445
Conversation
📊 Tachometer Benchmark ResultsSummarynop-update
render
update
Results⏱ lit-element-list
render
update
update-reflect
⏱ lit-html-kitchen-sink
render
update
nop-update
⏱ lit-html-repeat
render
update
⏱ lit-html-template-heavy
render
update
⏱ updating-element-list
render
update
update-reflect
|
8b2643e
to
2bbd805
Compare
@@ -250,9 +250,10 @@ export class XliffFormatter implements Formatter { | |||
|
|||
if (descStack.length > 0) { | |||
// https://docs.oasis-open.org/xliff/v1.2/os/xliff-core.html#note | |||
const note = document.createElement('note'); | |||
const note = doc.createElement('note'); |
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.
ouch!
Can you remove the "DOM"
lib from the tsconfig? Hopefully TS would catch this.
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.
Done. (But DOM types still get loaded because the xmldom
package I'm loading has a reference to them)
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.
Filed an issue here: DefinitelyTyped/DefinitelyTyped#49953
// msgdesc:
comments.Fixes #1444