Skip to content

Commit 4f15e11

Browse files
chore(readme): use better example snippet for undocumented params
1 parent 96e2b2e commit 4f15e11

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -279,9 +279,8 @@ parameter. This library doesn't validate at runtime that the request matches the
279279
send will be sent as-is.
280280

281281
```ts
282-
client.foo.create({
283-
foo: 'my_param',
284-
bar: 12,
282+
client.files.upload({
283+
// ...
285284
// @ts-expect-error baz is not yet public
286285
baz: 'undocumented option',
287286
});

0 commit comments

Comments
 (0)