Skip to content

Add dependencies for import types - #95

Merged
Nathan Shively-Sanders (sandersn) merged 3 commits into
microsoft:masterfrom
jablko:patch-7
Sep 25, 2020
Merged

Add dependencies for import types#95
Nathan Shively-Sanders (sandersn) merged 3 commits into
microsoft:masterfrom
jablko:patch-7

Conversation

@jablko

Copy link
Copy Markdown
Contributor

@sandersn

Copy link
Copy Markdown
Member

Fixup PR is DefinitelyTyped/DefinitelyTyped#44092

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

One minor style request before I merge.

}

default:
ts.forEachChild(node, recur);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

this seems pretty reasonable; I bet performance is (1) a lot worse (2) not noticeably worse.

We should keep an eye on large packages just in case.

Comment thread packages/definitions-parser/src/lib/module-info.ts Outdated
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
@jablko

Copy link
Copy Markdown
Contributor Author

I just tested DefinitelyTyped/DefinitelyTyped#44092 locally, on top of DefinitelyTyped HEAD, and marked it ready for review. It's ready to merge as soon as this change is released.

@sandersn

Copy link
Copy Markdown
Member

I'll merge/ship/merge tomorrow morning (PDT) so that I have all day to respond to problems.

@sandersn

Copy link
Copy Markdown
Member

This is done now.

Nathan Shively-Sanders (sandersn) pushed a commit that referenced this pull request Nov 29, 2021
Add 'no-single-element-tuple-type' rule
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Files that are only referenced using typeof import(…) must be added to OTHER_FILES.txt import types don't create dependencies

2 participants