Skip to content

Commit

Permalink
Added missing optional (software-mansion#2229)
Browse files Browse the repository at this point in the history
## Description

Added missing optional to the callback in animation builder - this broke building script.
  • Loading branch information
piaskowyk authored Jul 29, 2021
1 parent 3c611d9 commit d1111c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class LayoutAnimationBuilder implements ILayoutAnimationBuilder {
overshootClampingV?: number;
restDisplacementThresholdV?: number;
restSpeedThresholdV?: number;
callbackV: (finished: boolean) => void;
callbackV?: (finished: boolean) => void;

static duration(durationMs: number): LayoutAnimationBuilder {
const instance = new LayoutAnimationBuilder();
Expand Down

0 comments on commit d1111c2

Please sign in to comment.