Skip to content

Update return type hint#116

Open
IronSean wants to merge 1 commit intovienthuong:masterfrom
TorqIT:fix/return-type-hint
Open

Update return type hint#116
IronSean wants to merge 1 commit intovienthuong:masterfrom
TorqIT:fix/return-type-hint

Conversation

@IronSean
Copy link
Copy Markdown

@IronSean IronSean commented Mar 19, 2026

If json_decode fails it will return null, which then causes a TypeError because it does not match the hinted array return type.

@IronSean IronSean changed the title Update return type to hint that if json_decode fails it will return n… Update return type hint Mar 19, 2026
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