fix: improve typings

This commit is contained in:
Arvid Norlin
2024-02-15 16:22:44 +01:00
parent 4beb8da0b9
commit 09b28edb48
3 changed files with 17 additions and 10 deletions

View File

@@ -1,7 +1,3 @@
export type WindowWithDataLayer = Window & {
datalayer: { [key: string]: any }
}
export type TrackingProps = {
pageData: {
pageId: string
@@ -21,3 +17,12 @@ export type TrackingData = {
publishedDate: string
createdDate: string
}
export type SiteSectionObject = {
sitesection1: string
sitesection2: string
sitesection3: string
sitesection4: string
sitesection5: string
sitesection6: string
}