mol_jsx_lib 0.0.936 → 0.0.938

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mol_jsx_lib",
3
- "version": "0.0.936",
3
+ "version": "0.0.938",
4
4
  "exports": {
5
5
  "node": {
6
6
  "import": "./node.mjs",
package/web.d.ts CHANGED
@@ -42,7 +42,7 @@ declare namespace $ {
42
42
  declare namespace $ {
43
43
  let $mol_jsx_prefix: string;
44
44
  let $mol_jsx_crumbs: string;
45
- let $mol_jsx_booked: Set<string> | null;
45
+ let $mol_jsx_booked: null | Set<string>;
46
46
  let $mol_jsx_document: $mol_jsx.JSX.ElementClass['ownerDocument'];
47
47
  const $mol_jsx_frag = "";
48
48
  function $mol_jsx<Props extends $mol_jsx.JSX.IntrinsicAttributes, Children extends Array<Node | string>>(Elem: string | ((props: Props, ...children: Children) => Element), props: Props, ...childNodes: Children): Element | DocumentFragment;
@@ -114,9 +114,9 @@ declare namespace $ {
114
114
 
115
115
  declare namespace $ {
116
116
  class $mol_object2 {
117
- static $: typeof $$;
117
+ static $: $;
118
118
  [Symbol.toStringTag]: string;
119
- [$mol_ambient_ref]: typeof $$;
119
+ [$mol_ambient_ref]: $;
120
120
  get $(): $;
121
121
  set $(next: $);
122
122
  static create<Instance>(this: new (init?: (instance: any) => void) => Instance, init?: (instance: $mol_type_writable<Instance>) => void): Instance;
@@ -174,7 +174,7 @@ declare namespace $ {
174
174
  declare namespace $ {
175
175
  let $mol_wire_auto_sub: $mol_wire_sub | null;
176
176
  function $mol_wire_auto(next?: $mol_wire_sub | null): $mol_wire_sub | null;
177
- const $mol_wire_affected: (number | $mol_wire_sub)[];
177
+ const $mol_wire_affected: ($mol_wire_sub | number)[];
178
178
  }
179
179
 
180
180
  declare namespace $ {
@@ -349,9 +349,9 @@ declare namespace $ {
349
349
  declare namespace $ {
350
350
  function $mol_wire_method<Host extends object, Args extends readonly any[]>(host: Host, field: PropertyKey, descr?: TypedPropertyDescriptor<(...args: Args) => any>): {
351
351
  value: (this: Host, ...args: Args) => any;
352
- enumerable?: boolean | undefined;
353
- configurable?: boolean | undefined;
354
- writable?: boolean | undefined;
352
+ enumerable?: boolean;
353
+ configurable?: boolean;
354
+ writable?: boolean;
355
355
  get?: (() => (...args: Args) => any) | undefined;
356
356
  set?: ((value: (...args: Args) => any) => void) | undefined;
357
357
  };
@@ -404,9 +404,9 @@ declare namespace $ {
404
404
  declare namespace $ {
405
405
  function $mol_wire_plex<Args extends [any, ...any[]]>(host: object, field: string, descr?: TypedPropertyDescriptor<(...args: Args) => any>): {
406
406
  value: (this: typeof host, ...args: Args) => any;
407
- enumerable?: boolean | undefined;
408
- configurable?: boolean | undefined;
409
- writable?: boolean | undefined;
407
+ enumerable?: boolean;
408
+ configurable?: boolean;
409
+ writable?: boolean;
410
410
  get?: (() => (...args: Args) => any) | undefined;
411
411
  set?: ((value: (...args: Args) => any) => void) | undefined;
412
412
  };
@@ -423,7 +423,7 @@ declare namespace $ {
423
423
  attributes: Partial<Pick<this, Exclude<keyof this, 'valueOf'>>>;
424
424
  ownerDocument: typeof $mol_jsx_document;
425
425
  className: string;
426
- get childNodes(): (string | Node)[];
426
+ get childNodes(): Array<Node | string>;
427
427
  valueOf(): HTMLElement;
428
428
  abstract render(): HTMLElement;
429
429
  }