@theia/plugin 1.29.0-next.34 → 1.29.0-next.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/theia.d.ts +3 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theia/plugin",
3
- "version": "1.29.0-next.34+d27ebe7496c",
3
+ "version": "1.29.0-next.37+f3a81e7dfe2",
4
4
  "description": "Theia - Plugin API",
5
5
  "types": "./src/theia.d.ts",
6
6
  "publishConfig": {
@@ -32,5 +32,5 @@
32
32
  "nyc": {
33
33
  "extends": "../../configs/nyc.json"
34
34
  },
35
- "gitHead": "d27ebe7496c574ac92886b41e04a414b9fa8b69b"
35
+ "gitHead": "f3a81e7dfe2fb3968220ae715f2af67a7b759099"
36
36
  }
package/src/theia.d.ts CHANGED
@@ -4491,7 +4491,7 @@ export module '@theia/plugin' {
4491
4491
  * @param token A token that can be used to signal cancellation.
4492
4492
  * @return A promise that resolves to the selection or `undefined`.
4493
4493
  */
4494
- export function showQuickPick(readonly items: string[] | Thenable<readonly string[]>, options: QuickPickOptions, token?: CancellationToken): Thenable<string | undefined>;
4494
+ export function showQuickPick(items: readonly string[] | Thenable<readonly string[]>, options?: QuickPickOptions, token?: CancellationToken): Thenable<string | undefined>;
4495
4495
 
4496
4496
  /**
4497
4497
  * Shows a selection list allowing multiple selections.
@@ -4501,7 +4501,7 @@ export module '@theia/plugin' {
4501
4501
  * @param token A token that can be used to signal cancellation.
4502
4502
  * @return A promise that resolves to the selected items or `undefined`.
4503
4503
  */
4504
- export function showQuickPick(readonly items: string[] | Thenable<readonly string[]>, options: QuickPickOptions & { canPickMany: true }, token?: CancellationToken): Thenable<string[] | undefined>;
4504
+ export function showQuickPick(items: readonly string[] | Thenable<readonly string[]>, options: QuickPickOptions & { canPickMany: true }, token?: CancellationToken): Thenable<string[] | undefined>;
4505
4505
 
4506
4506
  /**
4507
4507
  * Shows a selection list.
@@ -4511,7 +4511,7 @@ export module '@theia/plugin' {
4511
4511
  * @param token A token that can be used to signal cancellation.
4512
4512
  * @return A promise that resolves to the selected item or `undefined`.
4513
4513
  */
4514
- export function showQuickPick<T extends QuickPickItem>(items: readonly T[] | Thenable<readonly T[]>, options: QuickPickOptions, token?: CancellationToken): Thenable<T | undefined>;
4514
+ export function showQuickPick<T extends QuickPickItem>(items: readonly T[] | Thenable<readonly T[]>, options?: QuickPickOptions, token?: CancellationToken): Thenable<T | undefined>;
4515
4515
 
4516
4516
  /**
4517
4517
  * Shows a selection list allowing multiple selections.