InterfaceTypes -> keyof InterfaceRegistry (#1928)
* InterfaceTypes -> keyof InterfaceRegistry * Renames
This commit is contained in:
@@ -10,7 +10,7 @@ interface RpcParamOptions {
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
export default function createParam (name: string, type: InterfaceTypes, { isOptional = false }: RpcParamOptions = { isOptional: false }): RpcParam {
|
||||
export default function createParam (name: string, type: keyof InterfaceTypes, { isOptional = false }: RpcParamOptions = { isOptional: false }): RpcParam {
|
||||
return {
|
||||
isOptional,
|
||||
name,
|
||||
|
||||
Reference in New Issue
Block a user