Skip to content

Commit 29230ec

Browse files
committed
fix: doc
1 parent 80b9a2f commit 29230ec

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/contents/tools/pict-online.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ IF [os] = "iOS" THEN [machine] = "iPhone";
4242
const rows = model.make();
4343
```
4444

45-
If you only want to apply constraints to factors you already have in code, you can pass `model.filter` directly to `make` as a `preFilter`:
45+
If you only want to apply constraints to factors you already have in code, you can pass `model.constraints` to `make`:
4646

4747
```typescript
4848
import { make } from "covertable";
@@ -62,7 +62,7 @@ IF [os] = "iOS" THEN [machine] = "iPhone";
6262
`);
6363

6464
make({ machine, os, browser }, {
65-
preFilter: model.filter,
65+
constraints: model.constraints,
6666
});
6767
```
6868

0 commit comments

Comments
 (0)