Skip to content

Commit

Permalink
Fix null inference
Browse files Browse the repository at this point in the history
  • Loading branch information
kLabz committed Feb 10, 2025
1 parent 27b4d99 commit 684fb42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tink/state/ObservableDate.hx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class ObservableDate implements ObservableObject<Bool> {

this.date = date;

var now = Date.now().getTime(),
var now:Null<Float> = Date.now().getTime(),
stamp = date.getTime();

var passed = now >= stamp;
Expand Down

0 comments on commit 684fb42

Please sign in to comment.