hyoo_sync_client 0.0.196 → 0.0.197
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/node.d.ts +14 -2
- package/node.deps.json +1 -1
- package/node.js.map +1 -1
- package/node.test.js +28 -0
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.d.ts +14 -2
- package/web.deps.json +1 -1
- package/web.js.map +1 -1
- package/web.test.js +28 -0
- package/web.test.js.map +1 -1
package/web.test.js
CHANGED
|
@@ -1282,6 +1282,34 @@ var $;
|
|
|
1282
1282
|
var $;
|
|
1283
1283
|
(function ($_1) {
|
|
1284
1284
|
$mol_test({
|
|
1285
|
+
'test types'($) {
|
|
1286
|
+
class A {
|
|
1287
|
+
static a() {
|
|
1288
|
+
return Promise.resolve('');
|
|
1289
|
+
}
|
|
1290
|
+
static b() {
|
|
1291
|
+
return $mol_wire_sync(this).a();
|
|
1292
|
+
}
|
|
1293
|
+
}
|
|
1294
|
+
},
|
|
1295
|
+
});
|
|
1296
|
+
})($ || ($ = {}));
|
|
1297
|
+
//mol/wire/sync/sync.test.ts
|
|
1298
|
+
;
|
|
1299
|
+
"use strict";
|
|
1300
|
+
var $;
|
|
1301
|
+
(function ($_1) {
|
|
1302
|
+
$mol_test({
|
|
1303
|
+
'test types'($) {
|
|
1304
|
+
class A {
|
|
1305
|
+
static a() {
|
|
1306
|
+
return '';
|
|
1307
|
+
}
|
|
1308
|
+
static b() {
|
|
1309
|
+
return $mol_wire_async(this).a();
|
|
1310
|
+
}
|
|
1311
|
+
}
|
|
1312
|
+
},
|
|
1285
1313
|
async 'Latest method calls wins'($) {
|
|
1286
1314
|
class NameLogger extends $mol_object2 {
|
|
1287
1315
|
static $ = $;
|