Skip to content

Commit

Permalink
Fix type problems in angular components
Browse files Browse the repository at this point in the history
  • Loading branch information
tmeasday committed Sep 16, 2022
1 parent 3b92e53 commit 90575ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default class FormComponent {

complete = false;

handleSubmit(event) {
handleSubmit(event: SubmitEvent) {
event.preventDefault();
this.onSuccess.emit(this.value);
setTimeout(() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default class PreComponent {
* An object to render
*/
@Input()
object: Object = null;
object?: Object;

/**
* The code to render
Expand Down

0 comments on commit 90575ba

Please sign in to comment.