@enonic-types/global 7.11.3 → 7.12.0-RC1
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.
- package/global.d.ts +9 -2
- package/package.json +1 -1
package/global.d.ts
CHANGED
|
@@ -193,11 +193,18 @@ declare const require: XpRequire;
|
|
|
193
193
|
* var path = resolve('./other.html');
|
|
194
194
|
*
|
|
195
195
|
* @example
|
|
196
|
-
* //
|
|
196
|
+
* // Resolve absolute
|
|
197
197
|
* var path = resolve('/path/to/other.html');
|
|
198
198
|
*
|
|
199
199
|
* @param {string} path Path to resolve.
|
|
200
200
|
* @returns {*} Reference to an object.
|
|
201
201
|
* @global
|
|
202
202
|
*/
|
|
203
|
-
declare const resolve: (path: string) =>
|
|
203
|
+
declare const resolve: (path: string) => {
|
|
204
|
+
getApplicationKey(): string;
|
|
205
|
+
getPath(): string;
|
|
206
|
+
getUri(): string;
|
|
207
|
+
isRoot(): boolean;
|
|
208
|
+
getName(): string;
|
|
209
|
+
getExtension(): string;
|
|
210
|
+
};
|