-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
refactor: clean TS errors, add TS rules, cmn types #45
refactor: clean TS errors, add TS rules, cmn types #45
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for helping improving the code documentation, i made some little comments
@@ -81,7 +87,8 @@ const parseShareIntent = (value, options): ShareIntent => { | |||
type: isMedia ? "media" : "file", | |||
}; | |||
} | |||
options.debug && console.debug("useShareIntent[parsed] ", result); | |||
options.debug && | |||
console.debug("useShareIntent[parsed] ", JSON.stringify(result, null, 4)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
041f784
to
4bed6a0
Compare
@ChristopherGabba I updated this PR, is that fine for you ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @achorein, I appreciate you giving me a few wins on my first commit ever, looks good. :)
* refactor: clean TS errors, add TS rules, cmn types --------- Co-authored-by: Anselme Chorein <[email protected]> Co-authored-by: achorein <[email protected]>
Summary
This is my first PR to an open source project ever, so feel free to shoot down.
Trying to keep this PR small and management because I'm still learning. Feel free to shut down this PR.
Todo
I added some TODO text to the types that eventually would be ideal to clean up and get one common type. I'm not bold enough to mess with the native code yet.
Issue
No Github issues. Just trying to add some comments and be helpful.