Skip to content

Commit f397af3

Browse files
authored
Combined multiple imports from the same module
Multiple imports from '@nestjs/common' can be combined into one
1 parent af88637 commit f397af3

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

sample/01-cats-app/src/common/pipes/parse-int.pipe.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import { BadRequestException } from '@nestjs/common';
2-
import { PipeTransform, Injectable, ArgumentMetadata } from '@nestjs/common';
1+
import { BadRequestException, PipeTransform, Injectable, ArgumentMetadata } from '@nestjs/common';
32

43
@Injectable()
54
export class ParseIntPipe implements PipeTransform<string> {

0 commit comments

Comments
 (0)