[feature] add types option
[bump] version 0.5.0