Skip to content

Conversation

jakebailey
Copy link
Member

This should make #56817 easier to reason about, since knip --fix doesn't remove @internal or anything.

@typescript-bot typescript-bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Apr 17, 2024
const jsdocStart = "/**";

/** @type {Map<import("@typescript-eslint/utils").TSESTree.Node, boolean>} */
const isExportedCache = new Map();
Copy link
Member Author

Choose a reason for hiding this comment

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

This closure is created per-file so there's no leaking happening here via the Map.

@jakebailey jakebailey merged commit 967d618 into microsoft:main Apr 17, 2024
@jakebailey jakebailey deleted the eslint-unexported-at-internal branch April 17, 2024 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants