Skip to content

Commit 5beafd5

Browse files
chore(readme): use better example snippet for undocumented params
1 parent acfff05 commit 5beafd5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

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

514514
```ts
515-
client.foo.create({
516-
foo: 'my_param',
517-
bar: 12,
515+
client.messages.create({
516+
// ...
518517
// @ts-expect-error baz is not yet public
519518
baz: 'undocumented option',
520519
});

0 commit comments

Comments
 (0)