From a53ebccb9473e069c89f2dc8c85d901e2e80890e Mon Sep 17 00:00:00 2001 From: Andrey Frimuchkov Date: Wed, 10 Apr 2019 16:00:39 +0300 Subject: [PATCH] Change transform type for SerializerOptions --- types/jsonapi-serializer/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/jsonapi-serializer/index.d.ts b/types/jsonapi-serializer/index.d.ts index 4d9344bc28..2368981378 100644 --- a/types/jsonapi-serializer/index.d.ts +++ b/types/jsonapi-serializer/index.d.ts @@ -29,7 +29,7 @@ export interface SerializerOptions { pluralizeType?: boolean; typeForAttribute?: TypeForAttribute; meta?: object; - transform?: (() => void); + transform?: Transform; } export interface KeyForAttribute {