From 52133912a6763f4ef7b0c27a63224adaff6b0dde Mon Sep 17 00:00:00 2001 From: Girish J Date: Tue, 5 Nov 2024 11:42:16 -0500 Subject: [PATCH] Fix TrackingConsentWithNulls type (#145) * Update Typo * Update package.json * prettier --------- Co-authored-by: Cami <50341430+csmccarthy@users.noreply.github.com> --- src/core.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/core.ts b/src/core.ts index b8eb99f..e976f3f 100644 --- a/src/core.ts +++ b/src/core.ts @@ -580,7 +580,9 @@ export const TrackingConsentWithNulls = t.record( t.union([t.boolean, t.undefined, t.null]), ); /** Type override */ -export type TrackingConsentWithNulls = t.TypeOf; +export type TrackingConsentWithNulls = t.TypeOf< + typeof TrackingConsentWithNulls +>; const TCFReservedMetadata = t.partial({ tcString: t.string,