Skip to content

Commit fb97e85

Browse files
authored
Update README: checkAncestors (#3046)
1 parent bc3ce2b commit fb97e85

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/compute-baseline/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,14 +108,14 @@ Use the `toJSON()` method to get a `web-features`-like plain JSON representation
108108

109109
Sometimes it can be helpful to know if parent features have less support than the specific feature you're checking (for example, the parent is behind a prefix or flag) when computing a status for a deeply-nested feature.
110110
This is typically most interesting when checking a single key.
111-
Use the `withAncestors` option:
111+
Use the `checkAncestors` option:
112112

113113
```javascript
114114
import { computeBaseline } from "compute-baseline";
115115

116116
computeBaseline({
117117
compatKeys: ["api.Notification.body"],
118-
withAncestors: true,
118+
checkAncestors: true,
119119
});
120120
```
121121

0 commit comments

Comments
 (0)