Add type hints to:
Code: ${{CODE_TO_TYPE}}
Strictness level: ${{STRICTNESS}}
Tools: ${{TYPE_CHECKING_TOOLS}}
Implement:
- Basic type annotations
- Generic types
- Optional and Union
- TypeVar and Generic
- Protocol classes
- Type narrowing
- mypy configuration
- Runtime validationOr press ⌘C to copy
Replace these placeholders with your own content before using the prompt.
[{CODE_TO_TYPE][{STRICTNESS][{TYPE_CHECKING_TOOLS]