Skip to content

Commit

Permalink
Fix TrackingConsentWithNulls type (#145)
Browse files Browse the repository at this point in the history
* Update Typo

* Update package.json

* prettier

---------

Co-authored-by: Cami <[email protected]>
  • Loading branch information
JonnavithulaGirish and csmccarthy authored Nov 5, 2024
1 parent 12982d8 commit 5213391
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,9 @@ export const TrackingConsentWithNulls = t.record(
t.union([t.boolean, t.undefined, t.null]),
);
/** Type override */
export type TrackingConsentWithNulls = t.TypeOf<typeof TrackingConsent>;
export type TrackingConsentWithNulls = t.TypeOf<
typeof TrackingConsentWithNulls
>;

const TCFReservedMetadata = t.partial({
tcString: t.string,
Expand Down

0 comments on commit 5213391

Please sign in to comment.