Cleanup imports from @polkadot/util (#315)
* Cleanup imports from @polkadot/util * Example imports * Alphabetic imports
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
import { RpcMethodOpt, RpcMethod } from '../types';
|
||||
|
||||
import isUndefined from '@polkadot/util/is/undefined';
|
||||
import { isUndefined } from '@polkadot/util';
|
||||
|
||||
export default function createMethod (section: string, method: string, { description, isDeprecated = false, isHidden = false, isSigned = false, params, pubsub, type }: RpcMethodOpt): RpcMethod {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user