Skip to content

Commit

Permalink
Set name for SnapController (#3052)
Browse files Browse the repository at this point in the history
`SnapController`'s name was set to `string` rather than
`"SnapController"`, which causes some problems with type inference in
MetaMask/metamask-extension#30034.
  • Loading branch information
Mrtenz authored Jan 31, 2025
1 parent 0c7eb2e commit dfcdee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/snaps-controllers/src/snaps/SnapController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -825,7 +825,7 @@ const name = 'SnapController';
*/

export class SnapController extends BaseController<
string,
typeof name,
SnapControllerState,
SnapControllerMessenger
> {
Expand Down

0 comments on commit dfcdee2

Please sign in to comment.