Skip to content

Commit

Permalink
TypeScript時の関数の戻り値の型を追加
Browse files Browse the repository at this point in the history
  • Loading branch information
ienaga committed Aug 30, 2023
1 parent 41f4253 commit 59d1094
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ export class ${name}ViewModel extends ViewModel
* @method
* @public
*/
unbind (view: View)
unbind (view: View): void
{
console.log(view);
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@next2d/view-generator",
"version": "1.5.2",
"version": "1.5.3",
"description": "Generate the View class required for routing.",
"author": "Toshiyuki Ienaga<ienaga@tvon.jp>",
"license": "MIT",
Expand Down

0 comments on commit 59d1094

Please sign in to comment.