Skip to content

Commit

Permalink
Apply ExtractAvailable{Actions,Events} utility types
Browse files Browse the repository at this point in the history
Co-authored-by: Elliot Winkler <elliot.winkler@gmail.com>
  • Loading branch information
MajorLift and mcmire authored Jul 17, 2024
1 parent c35943c commit ab6681e
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,10 @@ async function setupAssetContractControllers({
let provider: Provider;

const controllerMessenger = new ControllerMessenger<
| NetworkControllerActions
| AssetsContractControllerActions
| AssetsContractAllowedActions,
| ExtractAvailableAction<AssetsContractControllerMessenger>
| NetworkControllerActions,
| ExtractAvailableEvent<AssetsContractControllerMessenger>
| NetworkControllerEvents
| AssetsContractControllerEvents
| AssetsContractAllowedEvents
>();
const networkController = new NetworkController({
infuraProjectId,
Expand Down

0 comments on commit ab6681e

Please sign in to comment.