@micro-zoe/micro-app 1.0.0-beta.3 → 1.0.0-beta.5

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/lib/index.d.ts CHANGED
@@ -109,7 +109,7 @@ declare module '@micro-zoe/micro-app/prefetch' {
109
109
  }
110
110
 
111
111
  declare module '@micro-zoe/micro-app/libs/utils' {
112
- import type { Func, LocationQueryObject, MicroLocation, AttrsType, fiberTasks } from '@micro-app/types';
112
+ import type { Func, LocationQueryObject, MicroLocation, AttrsType, fiberTasks, MicroAppElementTagNameMap } from '@micro-app/types';
113
113
  export const version = "__MICRO_APP_VERSION__";
114
114
  export const isBrowser: boolean;
115
115
  export const globalThis: any;
@@ -236,7 +236,7 @@ declare module '@micro-zoe/micro-app/libs/utils' {
236
236
  /**
237
237
  * Create pure elements
238
238
  */
239
- export function pureCreateElement<K extends keyof HTMLElementTagNameMap>(tagName: K, options?: ElementCreationOptions): HTMLElementTagNameMap[K];
239
+ export function pureCreateElement<K extends keyof MicroAppElementTagNameMap>(tagName: K, options?: ElementCreationOptions): MicroAppElementTagNameMap[K];
240
240
  /**
241
241
  * clone origin elements to target
242
242
  * @param origin Cloned element