mol_wire_lib 1.0.756 → 1.0.758
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
|
@@ -1277,6 +1277,34 @@ var $;
|
|
|
1277
1277
|
var $;
|
|
1278
1278
|
(function ($_1) {
|
|
1279
1279
|
$mol_test({
|
|
1280
|
+
'test types'($) {
|
|
1281
|
+
class A {
|
|
1282
|
+
static a() {
|
|
1283
|
+
return Promise.resolve('');
|
|
1284
|
+
}
|
|
1285
|
+
static b() {
|
|
1286
|
+
return $mol_wire_sync(this).a();
|
|
1287
|
+
}
|
|
1288
|
+
}
|
|
1289
|
+
},
|
|
1290
|
+
});
|
|
1291
|
+
})($ || ($ = {}));
|
|
1292
|
+
//mol/wire/sync/sync.test.ts
|
|
1293
|
+
;
|
|
1294
|
+
"use strict";
|
|
1295
|
+
var $;
|
|
1296
|
+
(function ($_1) {
|
|
1297
|
+
$mol_test({
|
|
1298
|
+
'test types'($) {
|
|
1299
|
+
class A {
|
|
1300
|
+
static a() {
|
|
1301
|
+
return '';
|
|
1302
|
+
}
|
|
1303
|
+
static b() {
|
|
1304
|
+
return $mol_wire_async(this).a();
|
|
1305
|
+
}
|
|
1306
|
+
}
|
|
1307
|
+
},
|
|
1280
1308
|
async 'Latest method calls wins'($) {
|
|
1281
1309
|
class NameLogger extends $mol_object2 {
|
|
1282
1310
|
static $ = $;
|