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/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 $ = $;