Skip to content

Commit

Permalink
Remove type adnotations from mocks.js (#613)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakub-gonet authored Feb 18, 2020
1 parent 4735181 commit 33f8273
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions mock.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,11 @@ const getValue = node => {
};

class AnimatedValue {
" __value": number;

constructor(val: number) {
constructor(val) {
this[" __value"] = val;
}

setValue(val: number) {
setValue(val) {
this[" __value"] = val;
}
}
Expand Down

0 comments on commit 33f8273

Please sign in to comment.