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

Add x_restrict/xRestrict to Pixiv_Illust/PixivIllust types #43

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bluecomm42
Copy link

@bluecomm42 bluecomm42 commented Dec 2, 2020

What:

The Pixiv api returns an illust object that includes x_restrict, but the types don't reflect that.

Why:

When using TypeScript it complains that xRestrict is not a property of the PixivIllust object, even though it is.

How:

I added the missing properties.

Checklist:

  • Documentation - N/A
  • Tests - N/A
  • Ready to be merged

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