Skip to content
This repository was archived by the owner on Nov 6, 2018. It is now read-only.

Commit dac28bf

Browse 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

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

src/extension/extensionHost.ts

-1
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
}

src/sourcegraph.d.ts

-8
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)