Skip to content

Commit

Permalink
Improve JSDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
aedart committed Jan 31, 2024
1 parent 46af35a commit b0096c4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/support/src/meta/meta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ const registry: WeakMap<object, MetadataRecord> = new WeakMap<object, MetadataRe
/**
* Store value as metadata, for given key.
*
* **Note**: _Method is intended to be used as a decorator!_
*
* @example
* ```ts
* @meta('my-key', 'my-value)
* class A {}
* ```
*
* @see getMeta
* @see getAllMeta
*
Expand Down

0 comments on commit b0096c4

Please sign in to comment.