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(cli): Hide @types/yargs types from types #2907

Merged
merged 1 commit into from
Jun 18, 2019
Merged

Conversation

RomainMuller
Copy link
Contributor

The settings.d.ts file was referencing yargs, but in fact only using the
yargs.Arguments type as a stand-in for a { [key: string]: unknown } alias.
Replaced with the more restrictive type so we do not have an exported
dependency on yargs types.

Fixes #2895


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license.

The settings.d.ts file was referencing `yargs`, but in fact only using the
`yargs.Arguments` type as a stand-in for a `{ [key: string]: unknown }` alias.
Replaced with the more restrictive type so we do not have an exported
dependency on `yargs` types.

Fixes #2895
@RomainMuller RomainMuller requested a review from a team as a code owner June 18, 2019 12:49
@RomainMuller RomainMuller self-assigned this Jun 18, 2019
@RomainMuller RomainMuller merged commit 095d8e2 into master Jun 18, 2019
@RomainMuller RomainMuller deleted the rmuller/hide-yargs branch June 18, 2019 15:55
@NGL321 NGL321 added the contribution/core This is a PR that came from AWS. label Sep 27, 2019
This was referenced Dec 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution/core This is a PR that came from AWS.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Include @types/ dependencies in dependencies not devDependencies
3 participants