Skip to content

Conversation

gabritto
Copy link
Member

Fixes #43488

@typescript-bot typescript-bot added the For Milestone Bug PRs that fix a bug with a specific milestone label Aug 19, 2021
@@ -6513,6 +6513,8 @@ namespace ts {
subModuleName: string;
/** Version of the package, e.g. "1.2.3" */
version: string;
/** Whether the package bundles its own type declarations. */
bundlesTypes?: boolean;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if there's a more official naming for this option, I'm open to renaming it

@gabritto gabritto requested a review from andrewbranch August 19, 2021 23:35
@gabritto gabritto merged commit 84b0578 into main Aug 20, 2021
@gabritto gabritto deleted the gabritto/issue43488 branch August 20, 2021 18:12
BobobUnicorn pushed a commit to BobobUnicorn/TypeScript that referenced this pull request Oct 24, 2021
)

* Fix incorrect suggestion for package that bundles types

* determine if a package ships types from its files

* update new error message
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
For Milestone Bug PRs that fix a bug with a specific milestone
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Do not suggest installing @types for packages that have types
3 participants