Fix api.query.*.* typings (#1583)

This commit is contained in:
Amaury Martiny
2019-11-18 13:59:02 +01:00
committed by Jaco Greeff
parent 7bd593c8f7
commit ca186a4b2c
+4
View File
@@ -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';