Lowercase bool type (#225)
* Lowercase bool * bool as Bool (keeping to uppercase naming in files)
This commit is contained in:
committed by
Amaury Martiny
parent
70ea6e0d3c
commit
17aa24c61f
@@ -7,7 +7,7 @@ import { RxBalance, RxBalanceMap, RxReferendumVote } from './types';
|
||||
import BN from 'bn.js';
|
||||
import { EMPTY, Observable } from 'rxjs';
|
||||
import { switchMap, defaultIfEmpty, map } from 'rxjs/operators';
|
||||
import { AccountId, Balance, Bool, BlockNumber, Moment, ReferendumIndex } from '@polkadot/types/index';
|
||||
import { AccountId, Balance, bool as Bool, BlockNumber, Moment, ReferendumIndex } from '@polkadot/types/index';
|
||||
import isString from '@polkadot/util/is/string';
|
||||
|
||||
import ApiCalls from './Calls';
|
||||
|
||||
@@ -8,7 +8,7 @@ import BN from 'bn.js';
|
||||
import { Observable } from 'rxjs';
|
||||
import { map } from 'rxjs/operators';
|
||||
import storage from '@polkadot/storage/static';
|
||||
import { AccountId, Balance, Bool, BlockNumber, Index, Moment, Perbill, PropIndex, ReferendumIndex, u32 } from '@polkadot/types/index';
|
||||
import { AccountId, Balance, bool as Bool, BlockNumber, Index, Moment, Perbill, PropIndex, ReferendumIndex, u32 } from '@polkadot/types/index';
|
||||
import { Tuple } from '@polkadot/types/codec';
|
||||
|
||||
import ApiBase from './Base';
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
// of the ISC license. See the LICENSE file for details.
|
||||
|
||||
import { Observable } from 'rxjs';
|
||||
import { AccountId, Balance, BlockNumber, Bool, Header, PropIndex, Proposal, ReferendumIndex, u32, VoteThreshold } from '@polkadot/types/index';
|
||||
import { AccountId, Balance, BlockNumber, bool as Bool, Header, PropIndex, Proposal, ReferendumIndex, u32, VoteThreshold } from '@polkadot/types/index';
|
||||
import { Tuple } from '@polkadot/types/codec';
|
||||
|
||||
import ApiBase from './Base';
|
||||
|
||||
Reference in New Issue
Block a user