You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NamespaceScope defines a finish() method. That method is referenced in the AbstractScope class method end, in a this.namespaceScopes.forEach((value) => value.finish(cb));. Yet Knip is reporting it as unused:
$ pnpm lint:knip:production
> ts-api-utils@1.0.3 lint:knip:production /Users/josh/repos/ts-api-utils
> knip --config knip.production.jsonc --production
Analyzing workspace ....
The CJS build of Vite's Node API is deprecated. See https://vitejs.dev/guide/troubleshooting
Unused exported class members (1)
finish NamespaceScope src/usage/scopes.ts:358:2
ELIFECYCLE Command failed with exit code 1.
The text was updated successfully, but these errors were encountered:
👋 Reporting JoshuaKGoldberg/ts-api-utils#343 over here. The relevant classes in /~https://github.com/JoshuaKGoldberg/ts-api-utils/blob/8c747294f24d0adca8817f4028832b855d907b5b/src/usage/scopes.ts are:
abstract class AbstractScope implements Scope
class NonRootScope extends AbstractScope
class NamespaceScope extends NonRootScope
NamespaceScope
defines afinish()
method. That method is referenced in theAbstractScope
class methodend
, in athis.namespaceScopes.forEach((value) => value.finish(cb));
. Yet Knip is reporting it as unused:The text was updated successfully, but these errors were encountered: