add typehinting
minor #500 add typehinting (keradus)

This PR was merged into the 1.0.x-dev branch.

Discussion
----------

add typehinting

Commits
-------

5db6ff9 add typehinting
Fixed some docblocks