typhint on interface