Skip to content

Conversation

Darshan808
Copy link

Fixes #33

Issue: When there is no description in Google Forms, the value is set to null. Since the current code only handles description as undefined or a string, TypeScript raises a type incompatibility error.

Type 'null' is not assignable to type 'string | undefined'.

Solution: Added optional null type to the description field to handle this error.

@cnkeats
Copy link

cnkeats commented Jun 9, 2024

Also encountered this, though it was easily mitigated with a description. Still a good change.

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.

BUG: The from json type does not match with GoogleForm type in typescript

2 participants