Skip to content

Commit

Permalink
Merge pull request #3 from fullstackdeveloperbilbao/angular-elements-…
Browse files Browse the repository at this point in the history
…as-html-docs

docs: remove any casting for angular elements
  • Loading branch information
jonancastelo authored Apr 23, 2024
2 parents 88477d8 + 961ace4 commit 10aeb49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ Then, create the element, set properties and use it in the chart:
```ts
const translationEl: NgElement & WithProperties<TranslationComponent> =
document.createElement(translationElementTag) as any;
document.createElement(translationElementTag);

translationEl.setAttribute(
'translation-key',
Expand Down

0 comments on commit 10aeb49

Please sign in to comment.