Skip to content

Commit

Permalink
Merge pull request nestjs#224 from nicolaslt/typos
Browse files Browse the repository at this point in the history
'setuped' => 'set up'
  • Loading branch information
kamilmysliwiec authored Nov 2, 2017
2 parents d257441 + 95c2d98 commit 7fe6de7
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions src/common/utils/decorators/exception-filters.decorator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ export const ExceptionFilters = (...filters: ExceptionFilter[]) => {
/**
* Setups exception filters to the chosen context.
* When the `@UseFilters()` is used on the controller level:
* - Exception Filter will be setuped to the every handler (every method)
* - Exception Filter will be set up to every handler (every method)
*
* When the `@UseFilters()` is used on the handle level:
* - Exception Filter will be setuped only to specified method
* - Exception Filter will be set up only to specified method
*
* @param {ExceptionFilter[]} ...filters (instances)
*/
export const UseFilters = (...filters: ExceptionFilter[]) => defineFiltersMetadata(...filters);
export const UseFilters = (...filters: ExceptionFilter[]) => defineFiltersMetadata(...filters);
4 changes: 2 additions & 2 deletions src/common/utils/decorators/use-guards.decorator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import { GUARDS_METADATA } from '../../constants';
/**
* Setups guards to the chosen context.
* When the `@UseGuards()` is used on the controller level:
* - Guard will be setuped to the every handler (every method)
* - Guard will be set up to every handler (every method)
*
* When the `@UseGuards()` is used on the handle level:
* - Guard will be setuped only to specified method
* - Guard will be set up only to specified method
*
* @param {} ...guards (types)
*/
Expand Down
4 changes: 2 additions & 2 deletions src/common/utils/decorators/use-interceptors.decorator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import { INTERCEPTORS_METADATA } from '../../constants';
/**
* Setups interceptors to the chosen context.
* When the `@UseInterceptors()` is used on the controller level:
* - Interceptor will be setuped to the every handler (every method)
* - Interceptor will be set up to every handler (every method)
*
* When the `@UseInterceptors()` is used on the handle level:
* - Interceptor will be setuped only to specified method
* - Interceptor will be set up only to specified method
*
* @param {} ...interceptors (types)
*/
Expand Down
4 changes: 2 additions & 2 deletions src/common/utils/decorators/use-pipes.decorator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import { PIPES_METADATA } from '../../constants';
/**
* Setups pipes to the chosen context.
* When the `@UsePipes()` is used on the controller level:
* - Pipe will be setuped to the every handler (every method)
* - Pipe will be set up to every handler (every method)
*
* When the `@UsePipes()` is used on the handle level:
* - Pipe will be setuped only to specified method
* - Pipe will be set up only to specified method
*
* @param {PipeTransform[]} ...pipes (instances)
*/
Expand Down

0 comments on commit 7fe6de7

Please sign in to comment.