*Add type import assert

This commit is contained in:
Derrick Hammer 2022-07-05 16:19:59 -04:00
parent 7c13ab7f3f
commit 56ee75ffca
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
import { proxyRpcMethod } from "./common.js"; import { proxyRpcMethod } from "./common.js";
import { RpcMethodList } from "./index.js"; import { RpcMethodList } from "./index.js";
import * as chainNetworks from "../networks.json"; import * as chainNetworks from "../networks.json" assert { type: "json" };
export default { export default {
getAccountInfo: proxyRpcMethod("getAccountInfo", [ getAccountInfo: proxyRpcMethod("getAccountInfo", [

View File

@ -1,4 +1,4 @@
import * as chainNetworks from "./networks.json"; import * as chainNetworks from "./networks.json" assert { type: "json" };
type networks = { [net: string]: string }; type networks = { [net: string]: string };