Skip to content

MetaForge V0.8.0

Compare
Choose a tag to compare
@shuritch shuritch released this 08 Nov 15:48
· 7 commits to main since this release

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 }',
  },
});