Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Added IWebSocketConnection interface #16

Merged
merged 2 commits into from
Jan 22, 2020

Conversation

spoenemann
Copy link
Member

In eclipse-theia/theia#6854 I introduced an extension of the IConnection interface and a create function to add a property to an existing IConnection. It would be better to include support for such an extension directly in the library.

This change adds generic extension support to createConnection and uses that in createWebSocketConnection to include the IWebSocket in the created connection.

@spoenemann spoenemann requested a review from akosyakov January 15, 2020 12:06
@akosyakov
Copy link
Contributor

@spoenemann it does not compile

Copy link
Contributor

@akosyakov akosyakov left a comment

Choose a reason for hiding this comment

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

fine with me, but you will need to make a new release and then upgrade Theia

@spoenemann
Copy link
Member Author

@akosyakov I upgraded to Typescript 3.5.3, that resolves the compile error. Fine with that?

@spoenemann spoenemann merged commit 084b158 into TypeFox:master Jan 22, 2020
@spoenemann spoenemann deleted the web-socket-connection branch January 22, 2020 15:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants