@unhead/schema 1.9.2 → 1.9.3
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/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -542,7 +542,7 @@ interface UseScriptOptions<T> extends HeadEntryOptions {
|
|
|
542
542
|
* - `Promise` - Load the script when the promise resolves.
|
|
543
543
|
* - `Function` - Register a callback function to load the script.
|
|
544
544
|
*/
|
|
545
|
-
trigger?: 'manual' | Promise<void> | ((fn:
|
|
545
|
+
trigger?: 'manual' | Promise<void> | ((fn: any) => any);
|
|
546
546
|
/**
|
|
547
547
|
* Context to run events with. This is useful in Vue to attach the current instance context before
|
|
548
548
|
* calling the event, allowing the event to be reactive.
|
package/dist/index.d.mts
CHANGED
|
@@ -542,7 +542,7 @@ interface UseScriptOptions<T> extends HeadEntryOptions {
|
|
|
542
542
|
* - `Promise` - Load the script when the promise resolves.
|
|
543
543
|
* - `Function` - Register a callback function to load the script.
|
|
544
544
|
*/
|
|
545
|
-
trigger?: 'manual' | Promise<void> | ((fn:
|
|
545
|
+
trigger?: 'manual' | Promise<void> | ((fn: any) => any);
|
|
546
546
|
/**
|
|
547
547
|
* Context to run events with. This is useful in Vue to attach the current instance context before
|
|
548
548
|
* calling the event, allowing the event to be reactive.
|
package/dist/index.d.ts
CHANGED
|
@@ -542,7 +542,7 @@ interface UseScriptOptions<T> extends HeadEntryOptions {
|
|
|
542
542
|
* - `Promise` - Load the script when the promise resolves.
|
|
543
543
|
* - `Function` - Register a callback function to load the script.
|
|
544
544
|
*/
|
|
545
|
-
trigger?: 'manual' | Promise<void> | ((fn:
|
|
545
|
+
trigger?: 'manual' | Promise<void> | ((fn: any) => any);
|
|
546
546
|
/**
|
|
547
547
|
* Context to run events with. This is useful in Vue to attach the current instance context before
|
|
548
548
|
* calling the event, allowing the event to be reactive.
|