@unhead/schema 1.10.0-beta.2 → 1.10.0-beta.4
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 +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -537,8 +537,8 @@ interface ScriptInstance<T extends BaseScriptApi> {
|
|
|
537
537
|
* @internal
|
|
538
538
|
*/
|
|
539
539
|
_cbs: {
|
|
540
|
-
loaded: ((instance: T) => void | Promise<void>)[];
|
|
541
|
-
error: ((err?: Error) => void | Promise<void>)[];
|
|
540
|
+
loaded: null | ((instance: T) => void | Promise<void>)[];
|
|
541
|
+
error: null | ((err?: Error) => void | Promise<void>)[];
|
|
542
542
|
};
|
|
543
543
|
}
|
|
544
544
|
type UseFunctionType<T, U> = T extends {
|
package/dist/index.d.mts
CHANGED
|
@@ -537,8 +537,8 @@ interface ScriptInstance<T extends BaseScriptApi> {
|
|
|
537
537
|
* @internal
|
|
538
538
|
*/
|
|
539
539
|
_cbs: {
|
|
540
|
-
loaded: ((instance: T) => void | Promise<void>)[];
|
|
541
|
-
error: ((err?: Error) => void | Promise<void>)[];
|
|
540
|
+
loaded: null | ((instance: T) => void | Promise<void>)[];
|
|
541
|
+
error: null | ((err?: Error) => void | Promise<void>)[];
|
|
542
542
|
};
|
|
543
543
|
}
|
|
544
544
|
type UseFunctionType<T, U> = T extends {
|
package/dist/index.d.ts
CHANGED
|
@@ -537,8 +537,8 @@ interface ScriptInstance<T extends BaseScriptApi> {
|
|
|
537
537
|
* @internal
|
|
538
538
|
*/
|
|
539
539
|
_cbs: {
|
|
540
|
-
loaded: ((instance: T) => void | Promise<void>)[];
|
|
541
|
-
error: ((err?: Error) => void | Promise<void>)[];
|
|
540
|
+
loaded: null | ((instance: T) => void | Promise<void>)[];
|
|
541
|
+
error: null | ((err?: Error) => void | Promise<void>)[];
|
|
542
542
|
};
|
|
543
543
|
}
|
|
544
544
|
type UseFunctionType<T, U> = T extends {
|