Added type hints to widget class. #17
Add code improvements to changelog
Adds type hints. Fixes #17