Skip to content

Commit

Permalink
fix(fast-element): remove unnecessary null check in volatile decorator
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Eisenberg committed Aug 4, 2020
1 parent 3f26430 commit 4a3ce8f
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -239,7 +239,7 @@ export function volatile(target: {}, name, descriptor) {
return Object.assign({}, descriptor, {
get: function (this: any) {
trackVolatile();
return descriptor.get?.apply(this);
return descriptor.get!.apply(this);
},
});
}
Expand Down

0 comments on commit 4a3ce8f

Please sign in to comment.