improve jsdoc comments

This commit is contained in:
Kevin Jahns
2019-04-11 13:18:35 +02:00
parent ed3b31e58f
commit 31ff7ac78c
32 changed files with 477 additions and 114 deletions

View File

@@ -1,6 +1,3 @@
/**
* @module types
*/
import {
YMap,
@@ -20,6 +17,9 @@ export class YXmlHook extends YMap {
*/
constructor (hookName) {
super()
/**
* @type {string}
*/
this.hookName = hookName
}
@@ -82,6 +82,9 @@ export class YXmlHook extends YMap {
/**
* @param {decoding.Decoder} decoder
* @return {YXmlHook}
*
* @private
* @function
*/
export const readYXmlHook = decoder =>
new YXmlHook(decoding.readVarString(decoder))