You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 30, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: packages/sourcegraph-extension-api/src/sourcegraph.d.ts
+11-1Lines changed: 11 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -17,8 +17,18 @@ declare module 'sourcegraph' {
17
17
unsubscribe(): void
18
18
}
19
19
20
+
/**
21
+
* @deprecated In the future the API will use the [native `URL` API](https://developer.mozilla.org/en-US/docs/Web/API/URL)
22
+
*/
20
23
exportclassURI{
24
+
/**
25
+
* @deprecated In the future the API will use the [native `URL` API](https://developer.mozilla.org/en-US/docs/Web/API/URL), which does not contain this method.
26
+
*/
21
27
staticparse(value: string): URI
28
+
29
+
/**
30
+
* @deprecated In the future the API will use the [native `URL` API](https://developer.mozilla.org/en-US/docs/Web/API/URL), which does not contain this method.
31
+
*/
22
32
staticfile(path: string): URI
23
33
24
34
constructor(value: string)
@@ -28,7 +38,7 @@ declare module 'sourcegraph' {
28
38
/**
29
39
* Returns a JSON representation of this Uri.
30
40
*
31
-
* @return An object.
41
+
* @deprecated In the future the API will use the [native `URL` API](https://developer.mozilla.org/en-US/docs/Web/API/URL), which returns a string instead of an object.
0 commit comments