MetaForge V0.8.0
Update 2023-11-08
JSDOC
To have JSDOC comments in your type annotations you need to add $meta
field to your
schema; Also, your $meta
properties should start with @
;
Example
({
reciever: 'number',
money: 'number',
$meta: {
'@version': 'v1',
'@name': 'Pay check',
'@description': 'Cash settlement',
'@example': '<caption>Check example</caption>\n{ money: 100, reciever: 2 }',
},
});