Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
simonabadoiu committed Aug 17, 2023
1 parent bc46e95 commit 6e05195
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ export default async function (manager: Manager, settings: ComponentSettings) {
pageview: boolean,
ecomPayload?: any

Check warning on line 38 in src/index.ts

View workflow job for this annotation

GitHub Actions / build-test (18.x)

Unexpected any. Specify a different type
) => {
let { client, payload } = event
// eslint-disable-next-line prefer-const
const { client } = event
let { payload } = event
const parsedUserAgent = UAParser(client.userAgent)
if (ecomPayload) {
payload = ecomPayload
Expand Down

0 comments on commit 6e05195

Please sign in to comment.