Skip to content

Commit

Permalink
Merge pull request #1668 from Tony133/chore/update-alias-interface-an…
Browse files Browse the repository at this point in the history
…d-interceptor

chore(): update alias interface and interceptor
  • Loading branch information
kamilmysliwiec committed Jul 8, 2022
2 parents e6354e6 + b7d26e4 commit 54b0768
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/schematics/nest.collection.ts
Expand Up @@ -57,12 +57,12 @@ export class NestCollection extends AbstractCollection {
},
{
name: 'interceptor',
alias: 'in',
alias: 'itc',
description: 'Generate an interceptor declaration',
},
{
name: 'interface',
alias: 'interface',
alias: 'itf',
description: 'Generate an interface',
},
{
Expand Down
4 changes: 2 additions & 2 deletions test/lib/schematics/nest.collection.spec.ts
Expand Up @@ -49,8 +49,8 @@ describe('Nest Collection', () => {
{ name: 'filter', alias: 'f' },
{ name: 'gateway', alias: 'ga' },
{ name: 'guard', alias: 'gu' },
{ name: 'interceptor', alias: 'in' },
{ name: 'interface', alias: 'interface' },
{ name: 'interceptor', alias: 'itc' },
{ name: 'interface', alias: 'itf' },
{ name: 'middleware', alias: 'mi' },
{ name: 'module', alias: 'mo' },
{ name: 'pipe', alias: 'pi' },
Expand Down

0 comments on commit 54b0768

Please sign in to comment.