Skip to content

Conversation

@aatxe
Copy link
Contributor

@aatxe aatxe commented Apr 17, 2025

This PR revises the existing OOP example based on the fact that the previous one does not actually have working autocomplete in the old or new solvers. This alternative approach is fundamentally similar, but explicitly annotates the self type on each method, ensuring that you get autocomplete both inside the method definitions and when interacting with a constructed object of that type.

@aatxe aatxe merged commit 67897e9 into master Apr 17, 2025
@aatxe aatxe deleted the awe/improve-oop-example branch April 17, 2025 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants