Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(docs): TypeScript import to prevent a future major release warning #1441

Merged
merged 1 commit into from Oct 7, 2019
Merged

fix(docs): TypeScript import to prevent a future major release warning #1441

merged 1 commit into from Oct 7, 2019

Commits on Oct 7, 2019

  1. docs: fix TypeScript import to prevent a future major release warning

    Importing using `import yargs from 'yargs';` prevents a warning log to console about the `parsed` property being dropped in a future major version.
    
    In future major releases of yargs, "parsed" will be a private field. Use the return value of ".parse()" or ".argv" instead
    
    Closes #1439
    jdbruijn committed Oct 7, 2019
    Copy the full SHA
    b5a458e View commit details
    Browse the repository at this point in the history