Skip to content

Commit 0920a64

Browse files
committed
refactor(dtos)!: remove .dto file extension
Signed-off-by: Lexus Drumgold <[email protected]>
1 parent 8ea82cc commit 0920a64

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
File renamed without changes.

src/dtos/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
* @module exceptions/dtos
44
*/
55

6-
export type { ExceptionDataDTO } from './exception-data.dto'
7-
export type { ValidationExceptionDTO } from './validation-exception.dto'
6+
export type { ExceptionDataDTO } from './exception-data'
7+
export type { ValidationExceptionDTO } from './validation-exception'

src/dtos/validation-exception.dto.ts renamed to src/dtos/validation-exception.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import type { ValidationError } from 'class-validator'
77
import type ExceptionCode from 'src/enums/exception-code'
8-
import type { ExceptionDataDTO } from './exception-data.dto'
8+
import type { ExceptionDataDTO } from './exception-data'
99

1010
/**
1111
* `ValidationExceptionData` data transfer object.

0 commit comments

Comments
 (0)