`int|string` would be correct. We use `mixed` in the API but it should eventually get corrected.