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

Move types that were in xmpp-jid to xmpp__jid, since they are for @xmpp/jid, not xmpp-jid. #15279

Merged
2 commits merged into from
Mar 24, 2017

Conversation

ghost
Copy link

@ghost ghost commented Mar 21, 2017

#15263 was a mistake. xmpp-jid provides its own types, but those types were actually for @xmpp/jid.
This is a tentative PR based on the assumption that xmpp__jid is the naming scheme we will use. Needs approval first. @mhegazy @vladima @RyanCavanaugh

I don't think @types/xmpp-jid would have worked in the first place anyway, since it was written in an external module style and would only have matched imports to xmpp-jid anyway. @PJakcson (ref: #14702)

@ghost ghost force-pushed the xmpp__jid branch from 40703b5 to fb288b2 Compare March 21, 2017 15:17
@dt-bot
Copy link
Member

dt-bot commented Mar 21, 2017

xmpp__jid/index.d.ts

Checklist

@mhegazy
Copy link
Contributor

mhegazy commented Mar 23, 2017

@andy-ms can you file an issue to track supporting this on the compiler side for module resolution. we also need to document it at some point.

@ghost
Copy link
Author

ghost commented Mar 23, 2017

OK, microsoft/TypeScript#14819

@ghost
Copy link
Author

ghost commented Mar 23, 2017

Ran npm deprecate @types/xmpp-jid "'xmpp-jid' provides its own types. For typings of '@xmpp/jid', use '@types/xmpp__jid'.".

@ghost ghost force-pushed the xmpp__jid branch from 90b3f0f to 155f75e Compare March 24, 2017 15:39
@ghost ghost merged commit 91df45d into master Mar 24, 2017
@ghost ghost deleted the xmpp__jid branch March 24, 2017 16:32
This pull request was closed.
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.

5 participants