feat: example of type mismatch
This commit is contained in:
parent
bea93f69f7
commit
75f914606f
2 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
`;
|
||||
|
|
|
@ -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": {
|
||||
|
|
Loading…
Reference in a new issue