Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Nov 6, 2018. It is now read-only.

Commit dac28bf

Browse filesBrowse files
committed
feat: remove sourcegraph.internal.rawConnection (not needed anymore)
No known extensions use this, and it should not be needed anymore. All functionality is exposed via the TypeScript API. BREAKING CHANGE: `sourcegraph.internal.rawConnection` is removed.
1 parent 95691b2 commit dac28bf
Copy full SHA for dac28bf

2 files changed

-9Lines changed: 0 additions & 9 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/extension/extensionHost.ts‎

Copy file name to clipboardExpand all lines: src/extension/extensionHost.ts
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ function createExtensionHandle(connection: Connection): typeof sourcegraph {
127127
internal: {
128128
sync,
129129
updateContext: updates => context.updateContext(updates),
130-
rawConnection: connection,
131130
},
132131
}
133132
}
Collapse file

‎src/sourcegraph.d.ts‎

Copy file name to clipboardExpand all lines: src/sourcegraph.d.ts
-8Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -829,14 +829,6 @@ declare module 'sourcegraph' {
829829
* @param updates The updates to apply to the context. If a context property's value is null, it is deleted from the context.
830830
*/
831831
export function updateContext(updates: ContextValues): void
832-
833-
/**
834-
* The underlying connection to the Sourcegraph extension client.
835-
*
836-
* @deprecated
837-
* @internal
838-
*/
839-
export const rawConnection: any
840832
}
841833

842834
/**

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.