mol_jsx_lib 0.0.625 → 0.0.627
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
|
@@ -4022,6 +4022,34 @@ var $;
|
|
|
4022
4022
|
var $;
|
|
4023
4023
|
(function ($_1) {
|
|
4024
4024
|
$mol_test({
|
|
4025
|
+
'test types'($) {
|
|
4026
|
+
class A {
|
|
4027
|
+
static a() {
|
|
4028
|
+
return Promise.resolve('');
|
|
4029
|
+
}
|
|
4030
|
+
static b() {
|
|
4031
|
+
return $mol_wire_sync(this).a();
|
|
4032
|
+
}
|
|
4033
|
+
}
|
|
4034
|
+
},
|
|
4035
|
+
});
|
|
4036
|
+
})($ || ($ = {}));
|
|
4037
|
+
//mol/wire/sync/sync.test.ts
|
|
4038
|
+
;
|
|
4039
|
+
"use strict";
|
|
4040
|
+
var $;
|
|
4041
|
+
(function ($_1) {
|
|
4042
|
+
$mol_test({
|
|
4043
|
+
'test types'($) {
|
|
4044
|
+
class A {
|
|
4045
|
+
static a() {
|
|
4046
|
+
return '';
|
|
4047
|
+
}
|
|
4048
|
+
static b() {
|
|
4049
|
+
return $mol_wire_async(this).a();
|
|
4050
|
+
}
|
|
4051
|
+
}
|
|
4052
|
+
},
|
|
4025
4053
|
async 'Latest method calls wins'($) {
|
|
4026
4054
|
class NameLogger extends $mol_object2 {
|
|
4027
4055
|
static $ = $;
|