Skip to content

Commit

Permalink
fix: add .js extension to imported file (#370)
Browse files Browse the repository at this point in the history
Add .js extension to imported file

Added `.js` extension since compiler gives an error `Relative import paths need explicit file extensions in EcmaScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean './rpc.js'?` with `"moduleResolution": "NodeNext"` option.
  • Loading branch information
AlexMesser authored Nov 3, 2022
1 parent 02a9bef commit 129b9cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/message/decodeRpc.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { IRPC, RPC } from './rpc'
import type { IRPC, RPC } from './rpc.js'
import protobuf from 'protobufjs/minimal.js'

export type DecodeRPCLimits = {
Expand Down

0 comments on commit 129b9cd

Please sign in to comment.