Fix typing error introduced by 0.9.7

* not sure why this didn't break the builds :/
Remove type information that can be inferred instead