there's no such thing as "typedef structure", a typedef is always just an alias.
but there's two structure notations, the "short" one you used for the var doesn't support metadata, but you can use the same notation as with typedef for the var type as well, e.g.:
var mything:{@test(3) var phoneNumber:String;} = ...
вторник, 16 августа 2016 г., 15:24:21 UTC+3 пользователь Drakim написал: