@@ -71,6 +71,7 @@ const tree = function * (source, base) {
71
71
}
72
72
73
73
/**
74
+ *
74
75
* @template T
75
76
* @param {T } source
76
77
* @param {string[] } path
@@ -100,7 +101,7 @@ const get = (source, path) => {
100
101
*/
101
102
class Block {
102
103
/**
103
- * @param {Object } options
104
+ * @param {object } options
104
105
* @param {CID<T, C, A, V> } options.cid
105
106
* @param {API.ByteView<T> } options.bytes
106
107
* @param {T } options.value
@@ -131,6 +132,7 @@ class Block {
131
132
}
132
133
133
134
/**
135
+ *
134
136
* @param {string } [path]
135
137
* @return {API.BlockCursorView<unknown> }
136
138
*/
@@ -143,7 +145,7 @@ class Block {
143
145
* @template {unknown} T - Logical type of the data encoded in the block
144
146
* @template {number} Code - multicodec code corresponding to codec used to encode the block
145
147
* @template {number} Alg - multicodec code corresponding to the hashing algorithm used in CID creation.
146
- * @param {Object } options
148
+ * @param {object } options
147
149
* @param {T } options.value
148
150
* @param {API.BlockEncoder<Code, T> } options.codec
149
151
* @param {API.MultihashHasher<Alg> } options.hasher
@@ -169,7 +171,7 @@ const encode = async ({ value, codec, hasher }) => {
169
171
* @template {unknown} T - Logical type of the data encoded in the block
170
172
* @template {number} Code - multicodec code corresponding to codec used to encode the block
171
173
* @template {number} Alg - multicodec code corresponding to the hashing algorithm used in CID creation.
172
- * @param {Object } options
174
+ * @param {object } options
173
175
* @param {API.ByteView<T> } options.bytes
174
176
* @param {API.BlockDecoder<Code, T> } options.codec
175
177
* @param {API.MultihashHasher<Alg> } options.hasher
@@ -188,7 +190,7 @@ const decode = async ({ bytes, codec, hasher }) => {
188
190
}
189
191
190
192
/**
191
- * @typedef {Object } RequiredCreateOptions
193
+ * @typedef {object } RequiredCreateOptions
192
194
* @property {CID } options.cid
193
195
*/
194
196
@@ -220,7 +222,7 @@ const createUnsafe = ({ bytes, cid, value: maybeValue, codec }) => {
220
222
* @template {number} Code - multicodec code corresponding to codec used to encode the block
221
223
* @template {number} Alg - multicodec code corresponding to the hashing algorithm used in CID creation.
222
224
* @template {API.Version} V - CID version
223
- * @param {Object } options
225
+ * @param {object } options
224
226
* @param {API.Link<T, Code, Alg, V> } options.cid
225
227
* @param {API.ByteView<T> } options.bytes
226
228
* @param {API.BlockDecoder<Code, T> } options.codec
0 commit comments