Skip to content

Commit

Permalink
chore: Update package.json version to 2.0.4 and abstract template() r…
Browse files Browse the repository at this point in the history
…eturn type in View.ts
  • Loading branch information
vikraj66 committed Jun 7, 2024
1 parent f4db5e2 commit 74cdac0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wayofjs",
"version": "2.0.3",
"version": "2.0.4",
"description": "A library for managing models and views",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/core/views/View.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export abstract class View<T extends Model<K>, K extends HasId> {
this.bindModel();
}

abstract template(): string | HTMLElement;
abstract template(): string | HTMLElement | HTMLElement[];

protected html = html;

Expand Down

0 comments on commit 74cdac0

Please sign in to comment.