@enonic-types/global 7.16.2 → 8.0.0-A3

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/global.d.ts +6 -6
  2. package/package.json +2 -2
package/global.d.ts CHANGED
@@ -16,7 +16,7 @@ declare global {
16
16
  * @global
17
17
  * @namespace
18
18
  */
19
- declare const app: App;
19
+ const app: App;
20
20
 
21
21
  /**
22
22
  * Logging functions.
@@ -40,10 +40,10 @@ declare global {
40
40
  * @global
41
41
  * @namespace
42
42
  */
43
- declare const log: Log;
43
+ const log: Log;
44
44
 
45
45
  /**
46
- * Javascript to Java bridge functions.
46
+ * JavaScript to Java bridge functions.
47
47
  *
48
48
  * @example
49
49
  * var bean = __.newBean('com.enonic.xp.MyJavaUtils');
@@ -54,7 +54,7 @@ declare global {
54
54
  * @global
55
55
  * @namespace
56
56
  */
57
- declare const __: DoubleUnderscore;
57
+ const __: DoubleUnderscore;
58
58
 
59
59
  /**
60
60
  * This globally available function will load a JavaScript file and return the exports as objects.
@@ -76,7 +76,7 @@ declare global {
76
76
  * @returns {object} Exports from loaded javascript.
77
77
  * @global
78
78
  */
79
- declare const require: XpRequire;
79
+ const require: XpRequire;
80
80
 
81
81
  /**
82
82
  * Resolves a path to another file. Can use relative or absolute path.
@@ -93,7 +93,7 @@ declare global {
93
93
  * @returns {*} Reference to an object.
94
94
  * @global
95
95
  */
96
- declare const resolve: Resolve;
96
+ const resolve: Resolve;
97
97
  }
98
98
 
99
99
  // Making sure the file is a module
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enonic-types/global",
3
- "version": "7.16.2",
3
+ "version": "8.0.0-A3",
4
4
  "description": "Global variables and functions type definition.",
5
5
  "types": "global.d.ts",
6
6
  "files": [
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "homepage": "https://github.com/enonic/xp/tree/master#readme",
29
29
  "dependencies": {
30
- "@enonic-types/core": "7.16.2"
30
+ "@enonic-types/core": "8.0.0-A3"
31
31
  },
32
32
  "publishConfig": {
33
33
  "access": "public"