Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

Commit

Permalink
fix @emit return value to make it transparent
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidEspinola committed May 7, 2019
1 parent a4d384e commit 17f5f98
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/vue-property-decorator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ export function Emit(event?: string): MethodDecorator {
} else {
emit(returnValue)
}

return returnValue
}
}
}
Expand Down

0 comments on commit 17f5f98

Please sign in to comment.