Skip to content

Add type definitions for Recommendations component #105

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

Merged
merged 2 commits into from
Jun 25, 2021

Conversation

tterb
Copy link
Contributor

@tterb tterb commented Jun 21, 2021

Description

I added the missing type definitions for the Recommendations component and cleaned up the existing definitions to remove unused definitions and resolve the "Statements not allowed in ambient contexts"(#82) error.

Motivation and Context

Fixes #104 and #82

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • All new and existing tests passed.

Copy link

@lucascaton lucascaton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just tested, all good @tterb. Thanks! 😃

@tterb
Copy link
Contributor Author

tterb commented Jun 25, 2021

@lucascaton Thanks for taking a look! I'll merge this now and try to publish a patch tomorrow.

@tterb tterb merged commit 482d820 into master Jun 25, 2021
@tterb tterb deleted the recommendations-type-defs branch June 25, 2021 02:45
@tterb
Copy link
Contributor Author

tterb commented Jun 26, 2021

@lucascaton Just published v1.1.1 with this fix.
Thanks for your help!

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.

[TypeScript] Module '"disqus-react"' has no exported member 'Recommendations' ts(2614)
2 participants