fix type hinting in readme.md example