Skip to content

Commit

Permalink
Tidying: fix deprecation warning on Extractor.hx (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
9Morello authored Mar 2, 2024
1 parent 037aebe commit b455e73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tink/validation/Extractor.hx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class ExtractorBase {
public function new() {}

function extractInt64(value:Dynamic) {
if(Int64.is(value)) return value;
if(Int64.isInt64(value)) return value;

if(Std.is(value, Int)) {
var v:Int = value;
Expand All @@ -29,4 +29,4 @@ class ExtractorBase {

throw tink.validation.Error.UnexpectedType(path, 'Int64', value);
}
}
}

0 comments on commit b455e73

Please sign in to comment.