pawajs 2.0.1 → 2.0.2
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/index.d.ts +4 -3
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -264,9 +264,10 @@ export function RegisterComponent(...args: (string | Function)[]): void;
|
|
|
264
264
|
|
|
265
265
|
export namespace RegisterComponent {
|
|
266
266
|
/**
|
|
267
|
-
* Registers components lazily. The component's bundle is only fetched
|
|
267
|
+
* Registers components lazily. The component's bundle is only fetched during runime encounter.
|
|
268
|
+
* (nam,import) or ([names,...],import)
|
|
268
269
|
*/
|
|
269
|
-
export function lazy(...args: (string | Function)[]): Promise<void>;
|
|
270
|
+
export function lazy(...args: (string | Array<string> | Function)[]): Promise<void>;
|
|
270
271
|
}
|
|
271
272
|
|
|
272
273
|
/**
|
|
@@ -367,7 +368,7 @@ export function setStateContext(context: any): any;
|
|
|
367
368
|
* @param {string | null | string[]} [section] - Persistence key or dependency array.
|
|
368
369
|
* @returns {State<T>} Reactive state object.
|
|
369
370
|
*/
|
|
370
|
-
export function $state<T>(initialValue: StateInput<T>, section?: string | null | string[]): State<T>;
|
|
371
|
+
export function $state<T>(initialValue: StateInput<T>, section?: string | null | Function[] | Object[] | string[]): State<T>;
|
|
371
372
|
|
|
372
373
|
export function restoreContext(state_context: any): void;
|
|
373
374
|
|