Skip to content

Commit 2c7f648

Browse files
committed
Fix README error
1 parent 6c8d6d7 commit 2c7f648

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ To load the "attribution" build, change any `import` statements that reference `
100100
+ import {onLCP, onINP, onCLS} from 'web-vitals/attribution';
101101
```
102102

103-
Usage for each of the imported function is identical to the standard build, but when importing from the attribution build, the [metrics](#metrics) objects will contain an additional [`attribution`](#attribution) property.
103+
Usage for each of the imported function is identical to the standard build, but when importing from the attribution build, the [metric](#metric) objects will contain an additional [`attribution`](#attribution) property.
104104

105105
See [Send attribution data](#send-attribution-data) for usage examples, and the [`attribution` reference](#attribution) for details on what values are added for each metric.
106106

@@ -580,6 +580,8 @@ interface FCPMetric extends Metric {
580580

581581
##### `FIDMetric`
582582

583+
_This interface is deprecated and will be removed in next major release_
584+
583585
```ts
584586
interface FIDMetric extends Metric {
585587
name: 'FID';
@@ -694,7 +696,7 @@ Calculates the [FCP](https://web.dev/articles/fcp) value for the current page an
694696

695697
#### `onFID()`
696698

697-
_Deprecated and will be removed in next major release_
699+
_This function is deprecated and will be removed in next major release_
698700

699701
```ts
700702
function onFID(callback: (metric: FIDMetric) => void, opts?: ReportOpts): void;

0 commit comments

Comments
 (0)