@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 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: Function) => any);
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: Function) => any);
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: Function) => any);
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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unhead/schema",
3
3
  "type": "module",
4
- "version": "1.9.2",
4
+ "version": "1.9.3",
5
5
  "author": "Harlan Wilton <harlan@harlanzw.com>",
6
6
  "license": "MIT",
7
7
  "funding": "https://github.com/sponsors/harlan-zw",