feat: example of type mismatch

This commit is contained in:
Ayo 2023-12-08 22:40:27 +01:00
parent bea93f69f7
commit 75f914606f
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@ export class Counter extends WebComponent {
};
get template() {
return html`
<button on:click=${() => ++this.props.count}>
<button on:click=${() => this.props.count = 'hey'}>
${this.props.count}
</button>
`;

View file

@ -1,6 +1,6 @@
{
"name": "web-component-base",
"version": "2.0.0-beta.9",
"version": "2.0.0-beta.10",
"description": "A zero-dependency, ~600 Bytes (minified & gzipped), JS base class for creating reactive custom elements easily",
"type": "module",
"exports": {