Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reuslt.twitterImage is improperly typed as string | undefined #160

Closed
alexng353 opened this issue Feb 5, 2023 · 3 comments
Closed

reuslt.twitterImage is improperly typed as string | undefined #160

alexng353 opened this issue Feb 5, 2023 · 3 comments

Comments

@alexng353
Copy link

Typescript claims that it's a string, but it can occasionally be successfully casted to an imageObject type

image

image
image

@jshemas
Copy link
Owner

jshemas commented Feb 5, 2023

Hello. I've added an twitterImageObject type in [email protected].

@alexng353
Copy link
Author

Thanks m8. There's also a bug that I'm making a new issue on, causing a segmentation fault while using 'jest' and 'supertest' to test an express.js endpoint. I'll link an example repository for recreating it as well. At this point I've dropped back to 4.11.1, since that version does not include the error I mentioned.

@alexng353
Copy link
Author

#162

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

No branches or pull requests

2 participants