add comment for type hinting (cherry picked from commit d492d14)