Adding type hint for variables if available

Signed-off-by: RedChrome <redchrome@gmx.de>