@theia/plugin 1.30.0-next.14 → 1.30.0-next.16

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.30.0-next.14+26f9d943931",
3
+ "version": "1.30.0-next.16+c068f795c8a",
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": "26f9d943931b67aba0a5ae0f194b3e4c19d14a62"
35
+ "gitHead": "c068f795c8a5172ca8f78c4a1db0a3742c88cfdc"
36
36
  }
package/src/theia.d.ts CHANGED
@@ -315,7 +315,7 @@ export module '@theia/plugin' {
315
315
  * @return A position that reflects the given delta. Will return `this` position if the change
316
316
  * is not changing anything.
317
317
  */
318
- translate(change: { lineDelta?: number; characterDelta?: number; }): Position;
318
+ translate(change: { lineDelta?: number; characterDelta?: number }): Position;
319
319
 
320
320
  /**
321
321
  * Create a new position derived from this position.
@@ -333,7 +333,7 @@ export module '@theia/plugin' {
333
333
  * @return A position that reflects the given change. Will return `this` position if the change
334
334
  * is not changing anything.
335
335
  */
336
- with(change: { line?: number; character?: number; }): Position;
336
+ with(change: { line?: number; character?: number }): Position;
337
337
  }
338
338
 
339
339
  /**
@@ -8948,7 +8948,7 @@ export module '@theia/plugin' {
8948
8948
  * @param tokenType The token type.
8949
8949
  * @param tokenModifiers The token modifiers.
8950
8950
  */
8951
- push(range: Range, tokenType: string, tokenModifiers?: string[]): void;
8951
+ push(range: Range, tokenType: string, tokenModifiers?: readonly string[]): void;
8952
8952
 
8953
8953
  /**
8954
8954
  * Finish and create a `SemanticTokens` instance.