refactor(types): loosen module.AppModule interface (#19951)

This commit is contained in:
Julien Robert
2024-04-04 14:21:02 +00:00
committed by GitHub
parent edd1c71072
commit 649dfaa8c5
7 changed files with 5 additions and 75 deletions
-3
View File
@@ -50,8 +50,6 @@ type AppModuleBasic interface {
HasName
HasGRPCGateway
HasAminoCodec
appmodulev2.HasRegisterInterfaces
}
// AppModule is the form for an application module. Most of
@@ -61,7 +59,6 @@ type AppModule interface {
HasName
appmodulev2.AppModule
appmodulev2.HasRegisterInterfaces
}
// HasName allows the module to provide its own name for legacy purposes.