Fix api.query.*.* typings (#1583)
This commit is contained in:
committed by
Jaco Greeff
parent
7bd593c8f7
commit
ca186a4b2c
@@ -2,6 +2,10 @@
|
||||
// This software may be modified and distributed under the terms
|
||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
||||
|
||||
// `query.types` adds module augmentation so that `api.query.*.*` gets typed.
|
||||
// Import that file to make these types effective.
|
||||
import './query.types';
|
||||
|
||||
import { Constants } from '@polkadot/metadata/Decorated/types';
|
||||
import { UserRpc } from '@polkadot/rpc-core/types';
|
||||
import { Hash, RuntimeVersion } from '@polkadot/types/interfaces';
|
||||
|
||||
Reference in New Issue
Block a user