-
-
Notifications
You must be signed in to change notification settings - Fork 318
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Prerequisites
- I'm using the latest version
- I've read the relevant documentation
- I've searched for existing issues
- I've checked the list of known issues
- I've read the issue reproduction guide
Reproduction url
https://github.com/remcohaszing/knip-repro-dynamic-import
Reproduction access
- I've made sure the reproduction is publicly accessible
Description of the issue
entry.ts imports dynamically module.ts. It then logs the module.
If a module is imported dynamically, Knip will try to find out what members are unused. This is great. However, if the members are not analyzable, I think Knip should assume all members are used.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working