Skip to content

Commit

Permalink
docs: fix typos in .terminalWidth example (#2382)
Browse files Browse the repository at this point in the history
Co-authored-by: Benjamin E. Coe <bencoe@google.com>
  • Loading branch information
shadowspawn and bcoe committed Jan 4, 2024
1 parent d92984d commit 136a79a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/typescript.md
Expand Up @@ -131,8 +131,8 @@ import { hideBin } from 'yargs/helpers';

const yargsInstance = yargs(hideBin(process.argv));

cosnt args = yargsInstance
.wrap(myYargs.terminalWidth())
const args = yargsInstance
.wrap(yargsInstance.terminalWidth())
// .otherMethods(...)
.argv

Expand Down

0 comments on commit 136a79a

Please sign in to comment.