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() {
|
get template() {
|
||||||
return html`
|
return html`
|
||||||
<button on:click=${() => ++this.props.count}>
|
<button on:click=${() => this.props.count = 'hey'}>
|
||||||
${this.props.count}
|
${this.props.count}
|
||||||
</button>
|
</button>
|
||||||
`;
|
`;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "web-component-base",
|
"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",
|
"description": "A zero-dependency, ~600 Bytes (minified & gzipped), JS base class for creating reactive custom elements easily",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"exports": {
|
"exports": {
|
||||||
|
|
Loading…
Reference in a new issue