Skip to content

feat: Add more advanced types#98

Open
sopelj wants to merge 1 commit intoinertiajs:mainfrom
sopelj:feature/improve-typing
Open

feat: Add more advanced types#98
sopelj wants to merge 1 commit intoinertiajs:mainfrom
sopelj:feature/improve-typing

Conversation

@sopelj
Copy link
Copy Markdown

@sopelj sopelj commented Mar 2, 2026

Hi, I'm not sure what the proper procedure is, but I made a few typing changes to hopefully more faithfully transfer the types used in user's projects. Maybe it can be of use.

I replaced some of the Any types with TypeVars. This still allows passing anything, but it should preserve the user's types if they have specified them instead of them being lost and replaced with Any. This should also handle the unpacking of props in callables.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant