-
Notifications
You must be signed in to change notification settings - Fork 17
Closed
Description
It looks like the extra params on the getWebsiteStats and getWebsiteMetrics are not marked as optional.
So in this function
const { data } = await client().getWebsiteStats(websiteId, {
startAt: 1685566800000,
endAt: 1686916052440,
url: '/about'
});You get this error
Argument of type '{ startAt: number; endAt: number; url: string; }' is not assignable to parameter of type '{ startAt: number; endAt: number; url: string; referrer: string; title: string; query: string; event: string; os: string; browser: string; device: string; country: string; region: string; city: string; }'.Metadata
Metadata
Assignees
Labels
No labels