diff --git a/src/tink/macro/Types.hx b/src/tink/macro/Types.hx index 7d50e00..4c5b230 100644 --- a/src/tink/macro/Types.hx +++ b/src/tink/macro/Types.hx @@ -308,7 +308,7 @@ class Types { if (types.length == 1) return Success(types[1]); #if haxe4 - return TIntersection(types); + return Success(TIntersection(types)); #end var paths = [], fields = [];