Type hint bugfix
Merge pull request #22 from JindrichPilar/2.x

Type hint bugfix