@@ -75,7 +75,7 @@ declare class FS {
75
75
* @param fileTypes {Array.<string>} The file extensions (without the dot) for the types
76
76
* of files that can be selected. Ignored when chooseDirectory=true.
77
77
*
78
- * @return An object with these properties:
78
+ * @return { Object } An object with these properties:
79
79
* <ul><li>"data": An array of the full names of the selected files.</li>
80
80
* <li>"err": The status of the operation, one of
81
81
* <br>NO_ERROR
@@ -102,7 +102,7 @@ declare class FS {
102
102
* friendlyFilePrefix = "Images (*.gif;*.jpg;*.jpeg;*.png;*.bmp;*.webp;*.svg)";
103
103
* @param prompt {string} String for OK button (mac only, default is "Open" on mac, "Open" or "Select Folder" on win).
104
104
*
105
- * @return An object with these properties:
105
+ * @return { Object } An object with these properties:
106
106
* <ul><li>"data": An array of the full names of the selected files.</li>
107
107
* <li>"err": The status of the operation, one of
108
108
* <br>NO_ERROR
@@ -127,7 +127,7 @@ declare class FS {
127
127
* @param prompt {string} String for Save button (mac only, default is "Save" on mac and win).
128
128
* @param nameFieldLabel {string} String displayed in front of the file name text field (mac only, "File name:" on win).
129
129
*
130
- * @return An object with these properties:
130
+ * @return { Object } An object with these properties:
131
131
* <ul><li>"data": The file path selected to save at or "" if canceled</li>
132
132
* <li>"err": The status of the operation, one of
133
133
* <br>NO_ERROR
@@ -141,7 +141,7 @@ declare class FS {
141
141
*
142
142
* @param path {string} The path of the folder to read.
143
143
*
144
- * @return An object with these properties:
144
+ * @return { Object } An object with these properties:
145
145
* <ul><li>"data": An array of the names of the contained files (excluding '.' and '..'.</li>
146
146
* <li>"err": The status of the operation, one of:
147
147
* <br>NO_ERROR
@@ -157,7 +157,7 @@ declare class FS {
157
157
*
158
158
* @param path {string} The path of the folder to create.
159
159
*
160
- * @return An object with this property:
160
+ * @return { Object } An object with this property:
161
161
* <ul><li>"err": The status of the operation, one of:
162
162
* <br>NO_ERROR
163
163
* <br>ERR_UNKNOWN
@@ -186,7 +186,7 @@ declare class FS {
186
186
*
187
187
* @param path {string} The path of the file or folder.
188
188
*
189
- * @return An object with these properties:
189
+ * @return { Object } An object with these properties:
190
190
* <ul><li>"data": An object with properties
191
191
* <br>isFile (boolean)
192
192
* <br>isDirectory (boolean)
@@ -207,7 +207,7 @@ declare class FS {
207
207
* @param encoding {string} The encoding of the contents of file, one of
208
208
* UTF8 (the default) or Base64.
209
209
*
210
- * @return An object with these properties:
210
+ * @return { Object } An object with these properties:
211
211
* <ul><li>"data": The file contents. </li>
212
212
* <li>"err": The status of the operation, one of
213
213
* <br>NO_ERROR
@@ -228,7 +228,7 @@ declare class FS {
228
228
* @param encoding {string} The encoding of the contents of file, one of
229
229
* UTF8 (the default) or Base64.
230
230
*
231
- * @return An object with this property:
231
+ * @return { Object } An object with this property:
232
232
* <ul><li>"err": The status of the operation, one of:
233
233
* <br>NO_ERROR
234
234
* <br>ERR_UNKNOWN
@@ -245,7 +245,7 @@ declare class FS {
245
245
* @param path {string} The path of the file or folder.
246
246
* @param mode {number} The permissions in numeric format (for example, 0777).
247
247
*
248
- * @return An object with this property:
248
+ * @return { Object } An object with this property:
249
249
* <ul><li>"err": The status of the operation, one of:
250
250
* <br>NO_ERROR
251
251
* <br>ERR_UNKNOWN
@@ -259,7 +259,7 @@ declare class FS {
259
259
*
260
260
* @param path {string} The path of the file to delete.
261
261
*
262
- * @return An object with this property:
262
+ * @return { Object } An object with this property:
263
263
* <ul><li>"err": The status of the operation, one of:
264
264
* <br>NO_ERROR
265
265
* <br>ERR_UNKNOWN
@@ -282,7 +282,7 @@ declare class Process {
282
282
* @param arguments {list} The arguments to create process. The first one is the full path of the executable,
283
283
* followed by the arguments of the executable.
284
284
*
285
- * @return An object with these properties:
285
+ * @return { Object } An object with these properties:
286
286
* <ul><li>"data": The pid of the process, or -1 on error. </li>
287
287
* <li>"err": The status of the operation, one of
288
288
* <br>NO_ERROR
@@ -301,7 +301,7 @@ declare class Process {
301
301
* @param pid {int} The pid of the process.
302
302
* @param callback {function} The handler function for the standard output callback.
303
303
*
304
- * @return An object with this property:
304
+ * @return { Object } An object with this property:
305
305
* <ul><li>"err": The status of the operation, one of:
306
306
* <br>NO_ERROR
307
307
* <br>ERR_UNKNOWN
@@ -316,7 +316,7 @@ declare class Process {
316
316
* @param pid {int} The pid of the process.
317
317
* @param callback {function} The handler function for the standard error callback.
318
318
*
319
- * @return An object with this property:
319
+ * @return { Object } An object with this property:
320
320
* <ul><li>"err": The status of the operation, one of:
321
321
* <br>NO_ERROR
322
322
* <br>ERR_UNKNOWN
@@ -331,7 +331,7 @@ declare class Process {
331
331
* @param pid {int} The pid of the process
332
332
* @param data {string} The data to write.
333
333
*
334
- * @return An object with this property:
334
+ * @return { Object } An object with this property:
335
335
* <ul><li>"err": The status of the operation, one of:
336
336
* <br>NO_ERROR
337
337
* <br>ERR_UNKNOWN
@@ -345,7 +345,7 @@ declare class Process {
345
345
*
346
346
* @param pid {int} The pid of the process.
347
347
*
348
- * @return An object with these properties:
348
+ * @return { Object } An object with these properties:
349
349
* <ul><li>"data": The path of the working directory. </li>
350
350
* <li>"err": The status of the operation, one of
351
351
* <br>NO_ERROR
@@ -360,7 +360,7 @@ declare class Process {
360
360
*
361
361
* @param pid {int} The pid of the process.
362
362
*
363
- * @return An object with this property:
363
+ * @return { Object } An object with this property:
364
364
* <ul><li>"err": The status of the operation, one of:
365
365
* <br>NO_ERROR
366
366
* <br>ERR_UNKNOWN
@@ -389,7 +389,7 @@ declare class Process {
389
389
*
390
390
* @param pid {int} The pid of the process.
391
391
*
392
- * @return An object with these properties:
392
+ * @return { Object } An object with these properties:
393
393
* <ul><li>"data": True if the process is running, false otherwise. </li>
394
394
* <li>"err": The status of the operation, one of
395
395
* <br>NO_ERROR
@@ -404,7 +404,7 @@ declare class Process {
404
404
*
405
405
* @param pid {int} The pid of the process
406
406
*
407
- * @return An object with this property:
407
+ * @return { Object } An object with this property:
408
408
* <ul><li>"err": The status of the operation, one of:
409
409
* <br>NO_ERROR
410
410
* <br>ERR_UNKNOWN
@@ -415,6 +415,7 @@ declare class Process {
415
415
}
416
416
417
417
declare interface EncodingConvertion {
418
+
418
419
utf8_to_b64 ( str : string ) : string ;
419
420
420
421
b64_to_utf8 ( base64str : string ) : string ;
@@ -439,7 +440,7 @@ declare class Encoding {
439
440
*/
440
441
readonly Base64 = "Base64" ;
441
442
442
- convertion : EncodingConvertion
443
+ convertion : EncodingConvertion ;
443
444
}
444
445
445
446
declare class Util {
@@ -463,7 +464,7 @@ declare class Util {
463
464
* "file:///C:/log.txt"
464
465
* "mailto:test@adobe.com"
465
466
*
466
- * @return An object with this property:
467
+ * @return { Object } An object with this property:
467
468
* <ul><li>"err": The status of the operation, one of:
468
469
* <br>NO_ERROR
469
470
* <br>ERR_UNKNOWN
@@ -479,7 +480,7 @@ declare class Util {
479
480
*
480
481
* @param callback {function} The handler function.
481
482
*
482
- * @return An object with this property:
483
+ * @return { Object } An object with this property:
483
484
* <ul><li>"err": The status of the operation, one of:
484
485
* <br>NO_ERROR
485
486
* <br>ERR_INVALID_PARAMS</li></ul>
@@ -492,7 +493,7 @@ declare class Util {
492
493
* @param username {string} proxy username
493
494
* @param password {string} proxy password
494
495
*
495
- * @return An object with this property:
496
+ * @return { Object } An object with this property:
496
497
* <ul><li>"err": The status of the operation, one of
497
498
* <br>NO_ERROR
498
499
* <br>ERR_INVALID_PARAMS </li>
0 commit comments