-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: handle type mismatching due base-controller type change
- Loading branch information
1 parent
d912f25
commit 81e2d18
Showing
2 changed files
with
44 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/node_modules/@metamask/base-controller/dist/RestrictedControllerMessenger.d.ts b/node_modules/@metamask/base-controller/dist/RestrictedControllerMessenger.d.ts | ||
index 423c1a9..5c62cb3 100644 | ||
--- a/node_modules/@metamask/base-controller/dist/RestrictedControllerMessenger.d.ts | ||
+++ b/node_modules/@metamask/base-controller/dist/RestrictedControllerMessenger.d.ts | ||
@@ -15,7 +15,7 @@ import type { ActionConstraint, ActionHandler, ControllerMessenger, EventConstra | ||
* @template AllowedEvent - A type union of the 'type' string for any allowed events. | ||
* This must not include internal events that are in the messenger's namespace. | ||
*/ | ||
-export declare class RestrictedControllerMessenger<Namespace extends string, Action extends ActionConstraint, Event extends EventConstraint, AllowedAction extends string, AllowedEvent extends string> { | ||
+export declare class RestrictedControllerMessenger<Namespace extends string, Action extends ActionConstraint, Event extends EventConstraint, AllowedAction extends string = string, AllowedEvent extends string = string > { | ||
#private; | ||
/** | ||
* Constructs a restricted controller messenger |