mirror of
https://github.com/nestjs/nest.git
synced 2026-02-21 23:11:44 +00:00
style: address lint issues
This commit is contained in:
@@ -489,7 +489,7 @@ export class NestApplication
|
||||
if (this.appOptions.instrument?.instanceDecorator) {
|
||||
return instances.map(
|
||||
instance =>
|
||||
this.appOptions.instrument!.instanceDecorator!(instance) as T,
|
||||
this.appOptions.instrument!.instanceDecorator(instance) as T,
|
||||
);
|
||||
}
|
||||
return instances;
|
||||
|
||||
@@ -373,7 +373,7 @@ export class NestMicroservice
|
||||
if (this.appOptions.instrument?.instanceDecorator) {
|
||||
return instances.map(
|
||||
instance =>
|
||||
this.appOptions.instrument!.instanceDecorator!(instance) as T,
|
||||
this.appOptions.instrument!.instanceDecorator(instance) as T,
|
||||
);
|
||||
}
|
||||
return instances;
|
||||
|
||||
Reference in New Issue
Block a user