*Add type import assert
This commit is contained in:
parent
7c13ab7f3f
commit
56ee75ffca
|
@ -1,6 +1,6 @@
|
|||
import { proxyRpcMethod } from "./common.js";
|
||||
import { RpcMethodList } from "./index.js";
|
||||
import * as chainNetworks from "../networks.json";
|
||||
import * as chainNetworks from "../networks.json" assert { type: "json" };
|
||||
|
||||
export default {
|
||||
getAccountInfo: proxyRpcMethod("getAccountInfo", [
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import * as chainNetworks from "./networks.json";
|
||||
import * as chainNetworks from "./networks.json" assert { type: "json" };
|
||||
|
||||
type networks = { [net: string]: string };
|
||||
|
||||
|
|
Loading…
Reference in New Issue