Bump Substrate metadata (#5329)
This commit is contained in:
@@ -4,6 +4,5 @@
|
||||
import { isFunction } from '@polkadot/util';
|
||||
|
||||
export function hasEq (o: unknown): o is { eq: (other: unknown) => boolean } {
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
|
||||
return isFunction((o as any).eq);
|
||||
return isFunction((o as { eq: unknown }).eq);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user