Skip to content

Commit

Permalink
chore: update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilmysliwiec committed Aug 17, 2023
1 parent e63313b commit 566eb8c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/core/services/reflector.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,8 @@ export type ReflectableDecorator<T> = ((opts?: T) => CustomDecorator) & {
export class Reflector {
/**
* Creates a decorator that can be used to decorate classes and methods with metadata.
* The decorator will also add the class to the collection of discoverable classes (by metadata key).
* Decorated classes can be discovered using the `getProviders` and `getControllers` methods.
* @param metadataKey The metadata key to use.
* Can be used as a strongly-typed alternative to `@SetMetadata`.
* @param options Decorator options.
* @returns A decorator function.
*/
static createDecorator<T>(
Expand Down

0 comments on commit 566eb8c

Please sign in to comment.