Skip to content

Commit

Permalink
Add getMeta in method example
Browse files Browse the repository at this point in the history
  • Loading branch information
aedart committed Jan 31, 2024
1 parent b0096c4 commit cffb55d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/support/src/meta/meta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ const registry: WeakMap<object, MetadataRecord> = new WeakMap<object, MetadataRe
* ```ts
* @meta('my-key', 'my-value)
* class A {}
*
* getMeta(A, 'my-key'); // 'my-value'
* ```
*
* @see getMeta
Expand Down

0 comments on commit cffb55d

Please sign in to comment.