Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(): update alias interface and interceptor #1668

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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