diff --git a/lib/schematics/nest.collection.ts b/lib/schematics/nest.collection.ts index 791ada439..468346028 100644 --- a/lib/schematics/nest.collection.ts +++ b/lib/schematics/nest.collection.ts @@ -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', }, { diff --git a/test/lib/schematics/nest.collection.spec.ts b/test/lib/schematics/nest.collection.spec.ts index 915b137b3..f9ae714c4 100644 --- a/test/lib/schematics/nest.collection.spec.ts +++ b/test/lib/schematics/nest.collection.spec.ts @@ -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' },