Skip to content

Commit

Permalink
Update src/codecs/codec.js
Browse files Browse the repository at this point in the history
Co-authored-by: Irakli Gozalishvili <contact@gozala.io>
  • Loading branch information
rvagg and Gozala authored Mar 31, 2021
1 parent 1f91319 commit c518544
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/codecs/codec.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @param {Code} options.code
* @param {(data:T) => Uint8Array} options.encode
* @param {(bytes:Uint8Array) => T} options.decode
* @returns {import('./interface'). BlockCodec<Code, T>}
* @returns {import('./interface').BlockCodec<Code, T>}
*/
export const codec = ({ name, code, decode, encode }) => {
const decoder = new Decoder(name, code, decode)
Expand Down

0 comments on commit c518544

Please sign in to comment.