Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Include module in Flow declaration #22

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 1 commit into from
Oct 8, 2019
Merged

Include module in Flow declaration #22

merged 1 commit into from
Oct 8, 2019

Conversation

dgraham
Copy link
Contributor

@dgraham dgraham commented Oct 8, 2019

Fixes an error importing the class.

import ClipboardCopyElement from '@github/clipboard-copy-element

Error: Importing from an untyped module makes it any and is not safe!

Fixes an error importing the class.

`import ClipboardCopyElement from '@github/clipboard-copy-element`
> Error: Importing from an untyped module makes it `any` and is not safe!
@dgraham dgraham requested a review from a team October 8, 2019 01:17
Copy link
Contributor

@koddsson koddsson left a comment

Choose a reason for hiding this comment

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

Looks good!

Copy link
Contributor

@keithamus keithamus left a comment

Choose a reason for hiding this comment

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

👍

@dgraham dgraham merged commit 8f93a98 into master Oct 8, 2019
@dgraham dgraham deleted the flow-type-module branch October 8, 2019 14:49
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.

3 participants