fix usage with typescript (#405)
* fix usage with typescript - export Base within codec - Codec is not generic - use wildcard import for json rpc types * remove unsued generic + remove unsued import * import Codec instead of Base * use correct import for codec type * replace Base by Codec import and usage * remove unsued import
This commit is contained in:
committed by
Amaury Martiny
parent
7fc67826d7
commit
141f761063
Vendored
-1
@@ -3,7 +3,6 @@
|
||||
// of the ISC license. See the LICENSE file for details.
|
||||
|
||||
import { ReplaySubject, Observable } from 'rxjs';
|
||||
import interfaces from '@polkadot/jsonrpc/types';
|
||||
|
||||
export type RpcRxInterface$Method = (...params: Array<any>) => Observable<any> | ReplaySubject<any>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user