This repository has been archived by the owner on Dec 17, 2023. It is now read-only.
Replies: 1 comment 2 replies
-
Hey @jtbandes, I had the same experience. Did you manage to resolve it? PS. This is my first time using GitHub discussions. I guess it might be like StackOverflow and I'm not supposed to put questions here 😬 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello @nadeesha! I just tried using ts-prune for the first time on this repository and I'm confused by the results, because many/most of them seem to be false positives.
The repo is a monorepo with several packages. This is the command I ran to try out ts-prune on the biggest package (here's the tsconfig.json):
The results look like this:
For example, the first result is the default export of
App.tsx
. This is re-exported fromindex.tsx
, so I wouldn't expect it to be considered unused.For another example let's look at the default export from
OsContextSingleton.ts
— this is imported asimport OsContextSingleton from "@foxglove/studio-base/OsContextSingleton";
in several places (here's one example).Is it our
paths
setting that's throwing off ts-prune? Or am I doing something else wrong?Thanks for your help! This seems like a great project and it would be awesome if it worked for us.
Beta Was this translation helpful? Give feedback.
All reactions