-
Notifications
You must be signed in to change notification settings - Fork 102
Add TypeScript declaration files #117
Conversation
e6ed23a to
b588672
Compare
|
After I started working on creating types for this package myself I found this PR. I think it looks great! |
|
@nielsdB97 I added the |
|
@nielsdB97 I see that the CI check is hanging, is that a known issue or does something need to be done? |
|
@janjakubnanista for some reason the Karma tests can't be run since travis is failing to spawn a Chrome instance to run them against. According to this comment it might help to clear the Travis NPM cache, but it could also be that a new run will work, as I don't see any related code changes. |
|
is there anything I could do to retry the CI build? |
ggoldens
left a comment
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.
LGTM
|
@msach22 should this PR be pointing to dev branch? |
|
@janjakubnanista Thanks for the PR. Could you please open it against the dev branch? |
|
Rebasing to dev. |
msach22
left a comment
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.
LGTM
|
@janjakubnanista thanks for your PR! I closed it and reopened since travis jobs were not working. Now I see it's not passing. Can you check it? Thanks! |
3e23059 to
f7fe151
Compare
@ggoldens I see that karma is failing to capture the chrome browser for unit test, this looks like an unrelated issue at first sight (I remember issues like these with karma from a ling time ago but can't quite remember what it was). Does this issue maybe appear in other PRs? |
I opened another PR to fix travis: #135 |
|
@janjakubnanista thanks for the PR. One quick question: shouldn't we add the Something like: |
|
@enricop89 Yes indeed! Moreover there now is a new script in |
|
@janjakubnanista thanks, could you please push the changes? I'll review them |
Fixes #91
TypeScript types were missing for
opentok-reactwhich is a pain for all TypeScript developers using the library at the moment.I added the .d.ts files for both
opentok-reactand the baseopentokmodule. This is not ideal ofc sinceopentoktypes should not live in this project. If there is a better place to put them please let me know! It also makes this pull request very large :(I also added
tsdtests for the types I created, these will check the prop types of all exported components.