added missing type hints
Merge pull request #3196 from wokim/master

added missing type hints