mol_dump_lib 0.0.102 → 0.0.104
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
|
@@ -7933,6 +7933,24 @@ var $;
|
|
|
7933
7933
|
;
|
|
7934
7934
|
"use strict";
|
|
7935
7935
|
var $;
|
|
7936
|
+
(function ($_1) {
|
|
7937
|
+
$mol_test({
|
|
7938
|
+
'test types'($) {
|
|
7939
|
+
class A {
|
|
7940
|
+
static a() {
|
|
7941
|
+
return Promise.resolve('');
|
|
7942
|
+
}
|
|
7943
|
+
static b() {
|
|
7944
|
+
return $mol_wire_sync(this).a();
|
|
7945
|
+
}
|
|
7946
|
+
}
|
|
7947
|
+
},
|
|
7948
|
+
});
|
|
7949
|
+
})($ || ($ = {}));
|
|
7950
|
+
//mol/wire/sync/sync.test.ts
|
|
7951
|
+
;
|
|
7952
|
+
"use strict";
|
|
7953
|
+
var $;
|
|
7936
7954
|
(function ($) {
|
|
7937
7955
|
function $mol_wait_timeout_async(timeout) {
|
|
7938
7956
|
const promise = $mol_promise();
|
|
@@ -7953,6 +7971,16 @@ var $;
|
|
|
7953
7971
|
var $;
|
|
7954
7972
|
(function ($_1) {
|
|
7955
7973
|
$mol_test({
|
|
7974
|
+
'test types'($) {
|
|
7975
|
+
class A {
|
|
7976
|
+
static a() {
|
|
7977
|
+
return '';
|
|
7978
|
+
}
|
|
7979
|
+
static b() {
|
|
7980
|
+
return $mol_wire_async(this).a();
|
|
7981
|
+
}
|
|
7982
|
+
}
|
|
7983
|
+
},
|
|
7956
7984
|
async 'Latest method calls wins'($) {
|
|
7957
7985
|
class NameLogger extends $mol_object2 {
|
|
7958
7986
|
static $ = $;
|