From c7c80ceeebf7670b7fd67ffde2c6b52a34462419 Mon Sep 17 00:00:00 2001 From: Thiago Martins Date: Tue, 7 Nov 2023 13:18:29 -0300 Subject: [PATCH] chore: remove additional parameters type --- src/interfaces/default-attributes-factory.interface.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/interfaces/default-attributes-factory.interface.ts b/src/interfaces/default-attributes-factory.interface.ts index 566de32..59adbed 100644 --- a/src/interfaces/default-attributes-factory.interface.ts +++ b/src/interfaces/default-attributes-factory.interface.ts @@ -4,15 +4,11 @@ export type AdditionalParams = { transientParams?: Transient; }; -type DefaultAttributes = ( +type DefaultAttributes = | T | { [K in keyof T]?: T[K] | Association; - } -) & - Partial<{ - [key: string]: unknown; - }>; + }; export type DefaultAttributesFactory = ( params: AdditionalParams

,