Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix attribution types #348

Merged
merged 3 commits into from May 29, 2023
Merged

Fix attribution types #348

merged 3 commits into from May 29, 2023

Conversation

tunetheweb
Copy link
Member

Fixes #331

@@ -81,7 +81,7 @@ export const onCLS = (
opts?: ReportOpts
) => {
unattributedOnCLS(
((metric: CLSMetric) => {
((metric: CLSMetricWithAttribution) => {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like it was missed previously. All the other metrics apart from CLS have this set correctly.

@tunetheweb tunetheweb merged commit 5154ee3 into main May 29, 2023
2 checks passed
@tunetheweb tunetheweb deleted the fix-attribution-types branch May 29, 2023 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

attribution typescript error
1 participant