Skip to content

Commit

Permalink
No need to show all argument variations, we use TypeScript after all
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Dec 20, 2021
1 parent c5aea74 commit a959508
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,6 @@ const dom = new DOM('<div class="greeting">Hello World!</div>');
const html = dom.toString();

// Create a new `DOM` object with one HTML tag
const div = DOM.newTag('div');
const div = DOM.newTag('div', {class: 'greeting'});
const div = DOM.newTag('div', {class: 'greeting'}, 'Hello World!');
```

Expand Down

0 comments on commit a959508

Please sign in to comment.