Skip to content

Commit

Permalink
fixed doc-types
Browse files Browse the repository at this point in the history
  • Loading branch information
frol committed Feb 26, 2021
1 parent 7ca8a37 commit e197b83
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions lib/providers/json-rpc-provider.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions lib/providers/json-rpc-provider.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/providers/json-rpc-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export class JsonRpcProvider extends Provider {

/**
* Gets EXPERIMENTAL_genesis_config from RPC
* @returns {Promise<GenesisConfig>}
* @returns {Promise<NearProtocolConfig>}
*/
async experimental_genesisConfig(): Promise<NearProtocolConfig> {
const deprecate = depd('JsonRpcProvider.experimental_protocolConfig({ sync_checkpoint: \'genesis\' })');
Expand All @@ -136,7 +136,7 @@ export class JsonRpcProvider extends Provider {

/**
* Gets EXPERIMENTAL_protocol_config from RPC
* @returns {Promise<ProtocolConfig>}
* @returns {Promise<NearProtocolConfig>}
*/
async experimental_protocolConfig(blockReference: BlockReference): Promise<NearProtocolConfig> {
try {
Expand Down

0 comments on commit e197b83

Please sign in to comment.