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/node.test.js
CHANGED
|
@@ -5852,6 +5852,34 @@ var $;
|
|
|
5852
5852
|
var $;
|
|
5853
5853
|
(function ($_1) {
|
|
5854
5854
|
$mol_test({
|
|
5855
|
+
'test types'($) {
|
|
5856
|
+
class A {
|
|
5857
|
+
static a() {
|
|
5858
|
+
return Promise.resolve('');
|
|
5859
|
+
}
|
|
5860
|
+
static b() {
|
|
5861
|
+
return $mol_wire_sync(this).a();
|
|
5862
|
+
}
|
|
5863
|
+
}
|
|
5864
|
+
},
|
|
5865
|
+
});
|
|
5866
|
+
})($ || ($ = {}));
|
|
5867
|
+
//mol/wire/sync/sync.test.ts
|
|
5868
|
+
;
|
|
5869
|
+
"use strict";
|
|
5870
|
+
var $;
|
|
5871
|
+
(function ($_1) {
|
|
5872
|
+
$mol_test({
|
|
5873
|
+
'test types'($) {
|
|
5874
|
+
class A {
|
|
5875
|
+
static a() {
|
|
5876
|
+
return '';
|
|
5877
|
+
}
|
|
5878
|
+
static b() {
|
|
5879
|
+
return $mol_wire_async(this).a();
|
|
5880
|
+
}
|
|
5881
|
+
}
|
|
5882
|
+
},
|
|
5855
5883
|
async 'Latest method calls wins'($) {
|
|
5856
5884
|
class NameLogger extends $mol_object2 {
|
|
5857
5885
|
static $ = $;
|