mol_wire_lib 1.0.757 → 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/node.test.js
CHANGED
|
@@ -3921,6 +3921,34 @@ var $;
|
|
|
3921
3921
|
var $;
|
|
3922
3922
|
(function ($_1) {
|
|
3923
3923
|
$mol_test({
|
|
3924
|
+
'test types'($) {
|
|
3925
|
+
class A {
|
|
3926
|
+
static a() {
|
|
3927
|
+
return Promise.resolve('');
|
|
3928
|
+
}
|
|
3929
|
+
static b() {
|
|
3930
|
+
return $mol_wire_sync(this).a();
|
|
3931
|
+
}
|
|
3932
|
+
}
|
|
3933
|
+
},
|
|
3934
|
+
});
|
|
3935
|
+
})($ || ($ = {}));
|
|
3936
|
+
//mol/wire/sync/sync.test.ts
|
|
3937
|
+
;
|
|
3938
|
+
"use strict";
|
|
3939
|
+
var $;
|
|
3940
|
+
(function ($_1) {
|
|
3941
|
+
$mol_test({
|
|
3942
|
+
'test types'($) {
|
|
3943
|
+
class A {
|
|
3944
|
+
static a() {
|
|
3945
|
+
return '';
|
|
3946
|
+
}
|
|
3947
|
+
static b() {
|
|
3948
|
+
return $mol_wire_async(this).a();
|
|
3949
|
+
}
|
|
3950
|
+
}
|
|
3951
|
+
},
|
|
3924
3952
|
async 'Latest method calls wins'($) {
|
|
3925
3953
|
class NameLogger extends $mol_object2 {
|
|
3926
3954
|
static $ = $;
|