use types instead of interfaces

This commit is contained in:
Thomas Ruoff
2021-06-08 23:02:52 +02:00
parent dbe3904759
commit 498f212ee0
10 changed files with 56 additions and 71 deletions

View File

@@ -1,6 +1,6 @@
import { VALIDATION_ERRORS } from '../db/enums'
interface ValidationErrors {
type ValidationErrors = {
[key: string]: { properties: { message: string }; kind: string }
}