wrapito 13.4.0 → 13.5.0-beta1
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.ts +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -62,7 +62,7 @@ interface WrapOptions<SetupOptions = DefaultUserSetupOptions> {
|
|
|
62
62
|
interface WrapExtensionAPI {
|
|
63
63
|
addResponses: (responses: Array<WrapResponse>) => unknown;
|
|
64
64
|
}
|
|
65
|
-
type Extension<UserInteraction extends InteractionDescriptor = InteractionDescriptor> = <T>(extensionAPI: WrapExtensionAPI, args: T) => Wrap<UserInteraction
|
|
65
|
+
type Extension<UserInteraction extends InteractionDescriptor = InteractionDescriptor> = <T>(extensionAPI: WrapExtensionAPI, args: T) => Wrap<UserInteraction> | void;
|
|
66
66
|
type Extensions<UserInteraction extends InteractionDescriptor = InteractionDescriptor> = {
|
|
67
67
|
[key: string]: Extension<UserInteraction>;
|
|
68
68
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -62,7 +62,7 @@ interface WrapOptions<SetupOptions = DefaultUserSetupOptions> {
|
|
|
62
62
|
interface WrapExtensionAPI {
|
|
63
63
|
addResponses: (responses: Array<WrapResponse>) => unknown;
|
|
64
64
|
}
|
|
65
|
-
type Extension<UserInteraction extends InteractionDescriptor = InteractionDescriptor> = <T>(extensionAPI: WrapExtensionAPI, args: T) => Wrap<UserInteraction
|
|
65
|
+
type Extension<UserInteraction extends InteractionDescriptor = InteractionDescriptor> = <T>(extensionAPI: WrapExtensionAPI, args: T) => Wrap<UserInteraction> | void;
|
|
66
66
|
type Extensions<UserInteraction extends InteractionDescriptor = InteractionDescriptor> = {
|
|
67
67
|
[key: string]: Extension<UserInteraction>;
|
|
68
68
|
};
|