SYMBOL INDEX (1519 symbols across 463 files) FILE: packages/docs/remark/fixInternalLinks.ts type LinkNode (line 5) | interface LinkNode extends Node { FILE: packages/docs/remark/transformDirectives.ts type DirectiveNode (line 5) | interface DirectiveNode extends Node { FILE: packages/docs/scripts/get-monthly-sponsorships-github.ts type Options (line 5) | type Options = { type SponsorActivity (line 12) | interface SponsorActivity { type GraphQLResponse (line 24) | interface GraphQLResponse { FILE: packages/docs/scripts/get-monthly-sponsorships-opencollective.ts constant RATE_EUR_TO_USD (line 4) | const RATE_EUR_TO_USD = 1.08; type Options (line 6) | type Options = { type Transaction (line 13) | interface Transaction { type Expense (line 27) | interface Expense { type GraphQLResponse (line 36) | interface GraphQLResponse { FILE: packages/docs/scripts/get-monthly-sponsorships.ts constant START_DATE (line 5) | const START_DATE = new Date('2023-11-01'); constant END_DATE (line 6) | const END_DATE = new Date(); FILE: packages/docs/src/pages/og/[...route].ts function encodeXML (line 53) | function encodeXML(text: string): string { function balanceText (line 62) | function balanceText(text: string, maxLen: number): string[] { FILE: packages/docs/src/pages/sitemap.txt.ts type Page (line 3) | interface Page { function GET (line 22) | async function GET(context: APIContext) { FILE: packages/docs/src/util/post.ts type Post (line 44) | interface Post { type UrlEntity (line 69) | interface UrlEntity { type MentionEntity (line 83) | interface MentionEntity { type AnnotationEntity (line 90) | interface AnnotationEntity { type ImageEntity (line 98) | interface ImageEntity { type User (line 104) | interface User { type Media (line 111) | interface Media { type PostWithUser (line 118) | interface PostWithUser extends Post { type PostResponse (line 123) | interface PostResponse { FILE: packages/knip/fixtures/barrel-namespace-chain/fn-consumer.ts function process (line 3) | function process(arg: unknown) { return arg; } FILE: packages/knip/fixtures/barrel-namespace-chain/utils.ts method log (line 2) | log(msg: string) { console.log(msg); } method warn (line 3) | warn(msg: string) { console.warn(msg); } FILE: packages/knip/fixtures/commonjs-tsconfig/dir/module1.ts function fn1 (line 1) | function fn1() { FILE: packages/knip/fixtures/commonjs-tsconfig/dir/module2.ts function fn2 (line 1) | function fn2() { FILE: packages/knip/fixtures/commonjs-tsconfig/dir/module3.js function fn3 (line 1) | function fn3() { FILE: packages/knip/fixtures/commonjs-tsconfig/dir/script2.js function identifier (line 1) | function identifier() {} FILE: packages/knip/fixtures/commonjs-tsconfig/dir/script3.js function identifier5 (line 1) | function identifier5() {} function identifier6 (line 2) | function identifier6() {} FILE: packages/knip/fixtures/commonjs-tsconfig/ts-ext.ts function fn (line 1) | function fn() {} FILE: packages/knip/fixtures/commonjs/dir/mod1.js function identifier (line 1) | function identifier() {} FILE: packages/knip/fixtures/commonjs/dir/mod2.js function identifier5 (line 1) | function identifier5() {} function identifier6 (line 2) | function identifier6() {} FILE: packages/knip/fixtures/commonjs/dir/mod3.js function identifier9 (line 1) | function identifier9() {} function identifier10 (line 2) | function identifier10() {} FILE: packages/knip/fixtures/commonjs/ts-ext.ts function fn (line 1) | function fn() {} FILE: packages/knip/fixtures/compilers/enum.ts type Enum (line 1) | enum Enum { FILE: packages/knip/fixtures/dependencies/my-module.ts function main (line 6) | async function main() { FILE: packages/knip/fixtures/dts-compiled/src/App.tsx function App (line 3) | function App() { FILE: packages/knip/fixtures/dts-compiled/src/ExampleQuery.graphql.d.ts type ExampleQueryQueryVariables (line 3) | type ExampleQueryQueryVariables = Types.Exact<{ [key: string]: never }>; type ExampleQueryQuery (line 5) | type ExampleQueryQuery = { FILE: packages/knip/fixtures/dts-compiled/src/UnusedQuery.graphql.d.ts type UnusedQueryQueryVariables (line 3) | type UnusedQueryQueryVariables = Types.Exact<{ [key: string]: never }>; type UnusedQueryQuery (line 5) | type UnusedQueryQuery = { FILE: packages/knip/fixtures/dts-compiled/src/types.ts type Exact (line 1) | type Exact = { [K in keyof T]: T[K... FILE: packages/knip/fixtures/dts/module-augmentation.ts type AppTheme (line 1) | interface AppTheme { type Theme (line 6) | interface Theme extends AppTheme {} FILE: packages/knip/fixtures/dts/types.d.ts type MyConfig (line 1) | interface MyConfig { FILE: packages/knip/fixtures/duplicate-exports-alias/specifier-default.ts function handler (line 1) | function handler() { FILE: packages/knip/fixtures/entry-exports-enum-members/fruit.ts type Fruit (line 3) | enum Fruit { type Farmer (line 8) | interface Farmer { FILE: packages/knip/fixtures/entry-exports-enum-members/tree.ts type Tree (line 3) | interface Tree { FILE: packages/knip/fixtures/entry-js/my-module.ts type AnyType (line 10) | type AnyType = any; FILE: packages/knip/fixtures/entry-js/my-namespace.ts type MyNamespace (line 5) | interface MyNamespace {} FILE: packages/knip/fixtures/enum-members-enumerated/directions.ts type Direction (line 1) | enum Direction { type Route (line 8) | interface Route { FILE: packages/knip/fixtures/enum-members-enumerated/fruits.ts type Fruits (line 1) | enum Fruits { FILE: packages/knip/fixtures/enum-members/index.ts type EntryEnum (line 7) | enum EntryEnum { function setCategory (line 12) | function setCategory(cat: Category) {} type CategoryKey (line 14) | type CategoryKey = keyof typeof Category; FILE: packages/knip/fixtures/enum-members/members.ts type UnexportedEnun (line 3) | enum UnexportedEnun { type MyEnum (line 7) | enum MyEnum { type Used (line 16) | type Used = EntryEnum; type TestEnum (line 20) | enum TestEnum { type Category (line 24) | enum Category { FILE: packages/knip/fixtures/export-default-type/class.js class MyClass (line 1) | class MyClass {} FILE: packages/knip/fixtures/export-default-type/function.js function fn (line 1) | function fn() {} FILE: packages/knip/fixtures/exports-default-interface/enum.ts type MyEnum (line 1) | enum MyEnum { FILE: packages/knip/fixtures/exports-default-interface/interface.ts type MyInterface (line 1) | interface MyInterface { FILE: packages/knip/fixtures/exports-default-interface/type.ts type MyType (line 1) | type MyType = unknown; FILE: packages/knip/fixtures/exports-special-characters/exports.ts class DollarMembers (line 6) | class DollarMembers { class $Dollar (line 13) | class $Dollar {} type $DollarType (line 15) | type $DollarType = string; type Characters (line 17) | enum Characters { FILE: packages/knip/fixtures/exports-special-characters/index.ts type Ref (line 3) | type Ref = Characters; FILE: packages/knip/fixtures/exports-value-refs-default/refs.ts type Lizard (line 1) | interface Lizard { class Reptile (line 5) | class Reptile { type Bird (line 11) | type Bird = { function logger (line 17) | function logger(s: string) { function setLogger (line 21) | function setLogger(log: typeof logger): void { type UnusedTypeInUnusedExport (line 25) | type UnusedTypeInUnusedExport = { id: number }; type UnusedInterface (line 27) | interface UnusedInterface { class UnusedClass (line 31) | class UnusedClass {} type UnusedTypeWithClass (line 33) | type UnusedTypeWithClass = typeof UnusedClass; FILE: packages/knip/fixtures/exports-value-refs/refs.ts type MyInterface (line 1) | interface MyInterface { type MyType (line 8) | type MyType = { class MyClass (line 12) | class MyClass {} class NotInExportedType (line 14) | class NotInExportedType {} type FnOptions (line 16) | interface FnOptions { function fn (line 20) | function fn(n: unknown, options?: FnOptions) {} type MyInterface2 (line 31) | interface MyInterface2 { FILE: packages/knip/fixtures/exports/default-named-class.ts class ClassName (line 1) | class ClassName {} FILE: packages/knip/fixtures/exports/default-named-function.ts function functionName (line 1) | function functionName() {} FILE: packages/knip/fixtures/exports/index.ts type Used (line 26) | type Used = MyNum | MyString | MyInterface; function main (line 31) | async function main() { type EntryFileExportType (line 38) | type EntryFileExportType = any; FILE: packages/knip/fixtures/exports/my-mix.ts type MixType (line 3) | interface MixType {} class MixClass (line 5) | class MixClass {} FILE: packages/knip/fixtures/exports/my-module.ts type MyAnyType (line 28) | type MyAnyType = any; FILE: packages/knip/fixtures/exports/my-namespace.ts type MyNamespace (line 5) | interface MyNamespace {} FILE: packages/knip/fixtures/exports/named-exports.ts function functionName (line 3) | function functionName() {} class className (line 4) | class className {} function exportedA (line 9) | function exportedA() {} function exportedB (line 10) | function exportedB() {} FILE: packages/knip/fixtures/exports/types.ts type MyNum (line 1) | type MyNum = number; type MyString (line 2) | type MyString = string; type MyEnum (line 3) | enum MyEnum {} type MyInterface (line 4) | interface MyInterface {} type MyType (line 6) | type MyType = 1; FILE: packages/knip/fixtures/fix-members/class.ts class Rectangle (line 1) | class Rectangle { method constructor (line 2) | constructor( method unusedGetter (line 9) | public get unusedGetter(): string { method unusedSetter (line 13) | private set unusedSetter(w: number) { method area (line 17) | area() { FILE: packages/knip/fixtures/fix-members/enums.ts type Directions (line 1) | enum Directions { type Fruits (line 8) | enum Fruits { FILE: packages/knip/fixtures/fix-members/namespaces.ts function swim (line 4) | function swim() {} FILE: packages/knip/fixtures/fix-workspaces/exports.ts type T (line 4) | type T = number; type U (line 7) | type U = number; FILE: packages/knip/fixtures/fix-workspaces/ignored.ts type T (line 4) | type T = number; FILE: packages/knip/fixtures/fix-workspaces/packages/ignored/exports.ts type T (line 4) | type T = number; FILE: packages/knip/fixtures/fix-workspaces/packages/lib/exports.ts type T (line 4) | type T = number; type U (line 7) | type U = number; FILE: packages/knip/fixtures/fix-workspaces/packages/lib/ignored.ts type T (line 4) | type T = number; FILE: packages/knip/fixtures/fix/ignored.ts type T (line 4) | type T = number; FILE: packages/knip/fixtures/fix/mod.ts type McInterFace (line 4) | interface McInterFace {} type McType (line 5) | type McType = {}; type McEnum (line 6) | enum McEnum {} class MyClass (line 18) | class MyClass {} type U (line 21) | type U = number; FILE: packages/knip/fixtures/fix/reexported.ts type Six (line 12) | type Six = any; type Seven (line 13) | type Seven = unknown; type Ten (line 16) | type Ten = unknown[]; FILE: packages/knip/fixtures/ignore-exports-used-in-file-false/imported.ts type ReferencedInterfaceInternally (line 1) | interface ReferencedInterfaceInternally { function referencedInternallyFunction (line 5) | function referencedInternallyFunction(value: unknown) { function usedFunction (line 9) | function usedFunction(options: ReferencedInterfaceInternally) { function declaredThenExportedDefault (line 13) | function declaredThenExportedDefault() {} function DeclaredThenExportedNamed (line 16) | function DeclaredThenExportedNamed() {} FILE: packages/knip/fixtures/ignore-exports-used-in-file-re-export/component.ts function Wrapper (line 5) | function Wrapper(props: ComponentProps) { FILE: packages/knip/fixtures/ignore-exports-used-in-file-re-export/interface.ts type ComponentProps (line 1) | interface ComponentProps { FILE: packages/knip/fixtures/ignore-exports-used-in-file-shorthand/src/fn.js function fn (line 1) | function fn() {} FILE: packages/knip/fixtures/ignore-exports-used-in-file-some/imported.ts type ReferencedNeverInterface (line 1) | interface ReferencedNeverInterface { type ReferencedInterfaceInternally (line 5) | interface ReferencedInterfaceInternally { function referencedInternallyFunction (line 10) | function referencedInternallyFunction(value: unknown) { function usedFunction (line 14) | function usedFunction(options: ReferencedInterfaceInternally) { function referencedNeverFunction (line 18) | function referencedNeverFunction() { FILE: packages/knip/fixtures/ignore-exports-used-in-file-typeof-class/src/api.ts function logger (line 1) | function logger(): void {} function setLogger (line 3) | function setLogger(fn: typeof logger): void { class TreeNode (line 7) | class TreeNode { class TreeLeaf (line 11) | class TreeLeaf { function createTree (line 15) | function createTree(): TreeNode { class Leaf (line 21) | class Leaf { type Collection (line 25) | interface Collection { class Node (line 29) | class Node { type Walker (line 33) | interface Walker { function internal (line 37) | function internal(w: Walker) { FILE: packages/knip/fixtures/ignore-exports-used-in-file/computed-access.ts constant QUERY_KEY (line 1) | const QUERY_KEY = 'live'; FILE: packages/knip/fixtures/ignore-exports-used-in-file/control-flow.ts constant WARRIOR (line 1) | const WARRIOR = 'warrior'; constant MAGE (line 2) | const MAGE = 'mage'; function selectClass (line 4) | function selectClass(role: string) { constant BASE_DAMAGE (line 13) | const BASE_DAMAGE = 10; function computeDamage (line 15) | function computeDamage(multiplier = BASE_DAMAGE) { FILE: packages/knip/fixtures/ignore-exports-used-in-file/expressions.ts function embark (line 3) | async function embark() { FILE: packages/knip/fixtures/ignore-exports-used-in-file/imported.ts type ReferencedNeverInterface (line 1) | interface ReferencedNeverInterface { type ReferencedInterfaceInternally (line 5) | interface ReferencedInterfaceInternally { function referencedInternallyFunction (line 10) | function referencedInternallyFunction(value: unknown) { function usedFunction (line 14) | function usedFunction(options: ReferencedInterfaceInternally) { function referencedNeverFunction (line 18) | function referencedNeverFunction() { function declaredThenExportedDefault (line 22) | function declaredThenExportedDefault() {} function DeclaredThenExportedNamed (line 25) | function DeclaredThenExportedNamed() {} class Paladin (line 31) | class Paladin { FILE: packages/knip/fixtures/ignore-exports-used-in-file/tagged-template.ts function enchant (line 1) | function enchant(strings: TemplateStringsArray, ...values: unknown[]) { FILE: packages/knip/fixtures/ignore-issues/src/generated/types.ts type UnusedType (line 3) | type UnusedType = string; FILE: packages/knip/fixtures/ignore-issues/src/model.generated.ts class GeneratedModel (line 2) | class GeneratedModel { method unusedMethod (line 3) | unusedMethod() { method anotherUnusedMethod (line 7) | anotherUnusedMethod() { FILE: packages/knip/fixtures/ignore-issues/src/regular.ts class RegularClass (line 4) | class RegularClass { method unusedMethod (line 5) | unusedMethod() { FILE: packages/knip/fixtures/ignore-members/MyClass.ts class BaseClass (line 1) | class BaseClass { method constructor (line 2) | constructor() {} method init (line 3) | init() {} method used (line 4) | used() {} method unused (line 5) | unused() {} class MyClass (line 8) | class MyClass extends BaseClass { method constructor (line 9) | constructor() { method ignored (line 12) | ignored() {} method init (line 13) | init() { method implemented (line 16) | implemented() { FILE: packages/knip/fixtures/ignore-members/enums.ts type Direction (line 1) | enum Direction { FILE: packages/knip/fixtures/import-star-iteration/fruit.ts class Orange (line 1) | class Orange { class Apple (line 5) | class Apple { FILE: packages/knip/fixtures/import-star-iteration/vegetables.ts class Broccoli (line 1) | class Broccoli { class Spinach (line 5) | class Spinach { FILE: packages/knip/fixtures/imports-dynamic-access/index.ts function fn (line 1) | async function fn() { FILE: packages/knip/fixtures/imports-namespace-with-nsexports/index.ts function usage (line 18) | function usage() { FILE: packages/knip/fixtures/imports-namespace/index.ts function usage (line 25) | function usage() { FILE: packages/knip/fixtures/imports-opaque/index.ts function fn (line 1) | function fn(a: any, b: any) { function asyncFn (line 5) | async function asyncFn(a: any) { function fnRun (line 24) | function fnRun(load: () => Promise) { FILE: packages/knip/fixtures/imports/import-g.ts function func (line 1) | function func() {} FILE: packages/knip/fixtures/imports/index.ts function main (line 22) | async function main() { function promiseAll (line 50) | function promiseAll() { function promiseTail (line 64) | function promiseTail() { FILE: packages/knip/fixtures/include-entry-exports-scripts/src/pages/index.js function IndexPage (line 3) | function IndexPage() { FILE: packages/knip/fixtures/include-entry-exports-scripts/src/script1.ts function sum (line 1) | function sum(a: number, b: number) { function multiply (line 5) | function multiply(a: number, b: number) { FILE: packages/knip/fixtures/include-entry-exports-scripts/src/script2.ts function subtract (line 1) | function subtract(a: number, b: number) { FILE: packages/knip/fixtures/include-entry-exports-scripts/src/script3.ts function calculate (line 3) | function calculate(a: number, b: number) { FILE: packages/knip/fixtures/include-entry-exports/index.ts type EntryType (line 5) | type EntryType = {}; type EntryInterface (line 6) | interface EntryInterface {} type EntryEnum (line 7) | enum EntryEnum {} FILE: packages/knip/fixtures/jsdoc-exports/module.test.js function configure (line 6) | function configure(config) {} FILE: packages/knip/fixtures/jsdoc-exports/module.ts function overloadFn (line 24) | function overloadFn(x: number | boolean): string | number { type UsedViaJSDoc (line 37) | interface UsedViaJSDoc { type UnusedInterface (line 41) | interface UnusedInterface { type InternalWithLineComment (line 47) | interface InternalWithLineComment {} FILE: packages/knip/fixtures/jsdoc/index.ts function fn (line 14) | function fn() { function doSomething1 (line 24) | function doSomething1(myValue) { function doSomething2 (line 33) | function doSomething2(myValue) { function lazyLoad (line 48) | function lazyLoad() {} FILE: packages/knip/fixtures/jsx/App.tsx function MainComponent (line 5) | function MainComponent() { FILE: packages/knip/fixtures/jsx/Component.tsx function MyComponent (line 3) | function MyComponent() { FILE: packages/knip/fixtures/load-esm-ts/index.ts function meow (line 13) | function meow(target: unknown, _: unknown) {} class Cat (line 16) | class Cat { method constructor (line 17) | constructor() { FILE: packages/knip/fixtures/module-block/types.ts type Identifier (line 2) | type Identifier = number; type NS_ID (line 6) | type NS_ID = MyNamespace.Identifier; FILE: packages/knip/fixtures/ns-spread-reexport/aliased-import.ts function useAliasedResolvers (line 4) | function useAliasedResolvers() { FILE: packages/knip/fixtures/ns-spread-reexport/consumer.ts function useUtils (line 4) | function useUtils() { FILE: packages/knip/fixtures/ns-spread-reexport/destructured.ts function useAnimal (line 6) | function useAnimal() { FILE: packages/knip/fixtures/ns-spread-reexport/index.ts function useResolvers (line 8) | function useResolvers() { FILE: packages/knip/fixtures/ns-spread-reexport/member-access.ts function useFruit (line 4) | function useFruit() { FILE: packages/knip/fixtures/plugins/astro-db/db/seed.ts function seed (line 4) | async function seed() { FILE: packages/knip/fixtures/plugins/astro/.astro/types.d.ts type Render (line 2) | interface Render { type Render (line 12) | interface Render { type Flatten (line 24) | type Flatten = T extends { [K: string]: infer U } ? U : never; type CollectionKey (line 26) | type CollectionKey = keyof AnyEntryMap; type CollectionEntry (line 27) | type CollectionEntry = Flatten; type ContentCollectionKey (line 29) | type ContentCollectionKey = keyof ContentEntryMap; type DataCollectionKey (line 30) | type DataCollectionKey = keyof DataEntryMap; type ImageFunction (line 33) | type ImageFunction = () => import('astro/zod').ZodObject type BaseSchemaWithoutEffects (line 51) | type BaseSchemaWithoutEffects = type BaseSchema (line 57) | type BaseSchema = BaseSchemaWithoutEffects | import('astro/zod').ZodEffects type SchemaContext (line 59) | type SchemaContext = { image: ImageFunction }; type DataCollectionConfig (line 61) | type DataCollectionConfig = { type ContentCollectionConfig (line 66) | type ContentCollectionConfig = { type CollectionConfig (line 71) | type CollectionConfig = ContentCollectionConfig | DataCollectionCo... type AllValuesOf (line 75) | type AllValuesOf = T extends any ? T[keyof T] : never; type ValidContentEntrySlug (line 76) | type ValidContentEntrySlug = AllValuesO... type ReturnTypeOrOriginal (line 150) | type ReturnTypeOrOriginal = T extends (...args: any[]) => infer R ? R... type InferEntrySchema (line 151) | type InferEntrySchema = import('astro/zod')... type ContentEntryMap (line 155) | type ContentEntryMap = { type AnyEntryMap (line 174) | type AnyEntryMap = ContentEntryMap & DataEntryMap; type ContentConfig (line 176) | type ContentConfig = typeof import('../src/content/config'); FILE: packages/knip/fixtures/plugins/astro/src/consts.ts constant SITE_TITLE (line 4) | const SITE_TITLE = 'Astro Blog'; constant SITE_DESCRIPTION (line 5) | const SITE_DESCRIPTION = 'Welcome to my website!'; constant UNUSED (line 6) | const UNUSED = true; FILE: packages/knip/fixtures/plugins/astro/src/pages/rss.xml.js function GET (line 5) | async function GET(context) { FILE: packages/knip/fixtures/plugins/cypress-multi-reporter/cypress/support/commands.ts function login (line 3) | function login() { FILE: packages/knip/fixtures/plugins/cypress/cypress/support/commands.ts function login (line 3) | function login() { FILE: packages/knip/fixtures/plugins/docusaurus/src/pages/index.js function HomepageHeader (line 8) | function HomepageHeader() { function Home (line 27) | function Home() { FILE: packages/knip/fixtures/plugins/expressive-code/app/page.tsx function Page (line 1) | function Page() { FILE: packages/knip/fixtures/plugins/nest/src/app.controller.ts class AppController (line 5) | class AppController { method constructor (line 6) | constructor(private readonly appService: AppService) {} method getHello (line 9) | getHello(): string { FILE: packages/knip/fixtures/plugins/nest/src/app.module.ts class AppModule (line 10) | class AppModule {} FILE: packages/knip/fixtures/plugins/nest/src/app.service.ts class AppService (line 4) | class AppService { method getHello (line 5) | getHello(): string { FILE: packages/knip/fixtures/plugins/nest/src/main.ts function bootstrap (line 4) | async function bootstrap() { FILE: packages/knip/fixtures/plugins/next-mdx/mdx-components.tsx function useMDXComponents (line 1) | function useMDXComponents(components) { FILE: packages/knip/fixtures/plugins/next-middleware/src/app/page.tsx function Page (line 1) | function Page() { FILE: packages/knip/fixtures/plugins/next-middleware/src/middleware.ts function middleware (line 1) | function middleware() { FILE: packages/knip/fixtures/plugins/next-page-extensions/src/instrumentation.page.ts function register (line 1) | async function register() {} FILE: packages/knip/fixtures/plugins/next-page-extensions/src/middleware.page.ts function middleware (line 1) | function middleware() {} FILE: packages/knip/fixtures/plugins/next/app/api/auth/route.ts function GET (line 3) | function GET() { FILE: packages/knip/fixtures/plugins/next/app/api/auth/util.ts function helloWorld (line 1) | function helloWorld() {} FILE: packages/knip/fixtures/plugins/next/app/home/sitemap.ts function sitemap (line 1) | function sitemap() { FILE: packages/knip/fixtures/plugins/next/app/sitemap.ts function sitemap (line 1) | function sitemap() { FILE: packages/knip/fixtures/plugins/next/app/unused.ts function unused (line 1) | function unused() {} FILE: packages/knip/fixtures/plugins/next/instrumentation.ts function register (line 1) | function register() {} FILE: packages/knip/fixtures/plugins/next/middleware.ts function middleware (line 1) | function middleware() {} FILE: packages/knip/fixtures/plugins/nuxt/shared/types/api.ts type ApiResponse (line 1) | interface ApiResponse { FILE: packages/knip/fixtures/plugins/payload/migrations/20260218.ts function up (line 3) | async function up({ db, payload, req }: MigrateUpArgs): Promise { function down (line 7) | async function down({ db, payload, req }: MigrateDownArgs): Promise { FILE: packages/knip/fixtures/plugins/payload/payload-types.ts type GeneratedTypes (line 4) | interface GeneratedTypes extends Config {} FILE: packages/knip/fixtures/plugins/plop/plopfile.js method actions (line 12) | actions(prompts) { function plopConfig (line 23) | function plopConfig(plop) { FILE: packages/knip/fixtures/plugins/raycast/src/search-bookmarks.tsx function Command (line 4) | async function Command() { FILE: packages/knip/fixtures/plugins/raycast/src/tools/organize-tabs.ts function organizeTabs (line 3) | async function organizeTabs() { FILE: packages/knip/fixtures/plugins/react-cosmos/src/cosmos.decorator.tsx function MyDecorator (line 1) | function MyDecorator() {} FILE: packages/knip/fixtures/plugins/relay/__generated__/artifact.graphql.ts type Artifact (line 3) | type Artifact = { FILE: packages/knip/fixtures/plugins/relay/unused.ts type Unused (line 1) | type Unused = string; FILE: packages/knip/fixtures/plugins/relay/used.ts type Used (line 1) | type Used = string; FILE: packages/knip/fixtures/plugins/relay2/src/__generated__/artifact.graphql.ts type Artifact (line 3) | type Artifact = { FILE: packages/knip/fixtures/plugins/relay2/unused.ts type Unused (line 1) | type Unused = string; FILE: packages/knip/fixtures/plugins/relay2/used.ts type Used (line 1) | type Used = string; FILE: packages/knip/fixtures/plugins/remix/app/entry.server.tsx function handleRequest (line 7) | function handleRequest( FILE: packages/knip/fixtures/plugins/remix/app/root.tsx function loader (line 17) | async function loader({ request }: LoaderArgs) { function App (line 23) | function App() { FILE: packages/knip/fixtures/plugins/remix/app/routes/index.tsx function Index (line 4) | function Index() { FILE: packages/knip/fixtures/plugins/remix/app/utils.ts function useOptionalUser (line 4) | function useOptionalUser() {} FILE: packages/knip/fixtures/plugins/sentry/sentry.client.config.ts constant SENTRY_DSN (line 3) | const SENTRY_DSN = process.env.SENTRY_DSN || process.env.NEXT_PUBLIC_SEN... FILE: packages/knip/fixtures/plugins/sst/sst.config.ts method config (line 15) | config(_input) { method stacks (line 22) | stacks(app) { FILE: packages/knip/fixtures/plugins/sst/stacks/AuthHandlerStack.ts function AuthHandlerStack (line 5) | function AuthHandlerStack({ stack, app }: StackContext) { FILE: packages/knip/fixtures/plugins/sst/stacks/AuthStack.ts function AuthStack (line 5) | function AuthStack({ stack, app }: StackContext) { FILE: packages/knip/fixtures/plugins/sst2/sst.config.ts method app (line 4) | app(input) { method run (line 11) | async run() { FILE: packages/knip/fixtures/plugins/storybook2/components/Button/Button.stories.tsx type Story (line 11) | type Story = StoryObj; FILE: packages/knip/fixtures/plugins/tanstack-router/src/routeTree.gen.ts type FileRoutesByPath (line 7) | interface FileRoutesByPath { FILE: packages/knip/fixtures/plugins/tanstack-router/src/routes/index.tsx function Index (line 7) | function Index() { FILE: packages/knip/fixtures/plugins/tanstack-router/src/routes/posts/$postId.tsx function PostComponent (line 7) | function PostComponent() { FILE: packages/knip/fixtures/plugins/vercel-og/app/api/og/route.jsx function GET (line 7) | async function GET() { FILE: packages/knip/fixtures/plugins/vercel-og/src/pages/api/og.tsx function handler (line 7) | async function handler() { FILE: packages/knip/fixtures/plugins/vike/pages/_error/+Page.tsx function Page (line 5) | function Page() { function Center (line 18) | function Center({ children }: { children: React.ReactNode }) { FILE: packages/knip/fixtures/plugins/vike/pages/about/+Page.tsx function Page (line 5) | function Page() { FILE: packages/knip/fixtures/plugins/vike/pages/index/+Page.tsx function Page (line 5) | function Page() { FILE: packages/knip/fixtures/plugins/vike/pages/index/Counter.tsx function Counter (line 5) | function Counter() { FILE: packages/knip/fixtures/plugins/vike/pages/star-wars/@id/+Page.tsx function Page (line 6) | function Page() { FILE: packages/knip/fixtures/plugins/vike/pages/star-wars/@id/+data.ts type Data (line 3) | type Data = Awaited>; function minimize (line 28) | function minimize(movie: MovieDetails & Record): MovieD... function sleep (line 34) | function sleep(milliseconds: number) { FILE: packages/knip/fixtures/plugins/vike/pages/star-wars/index/+Page.tsx function Page (line 6) | function Page() { FILE: packages/knip/fixtures/plugins/vike/pages/star-wars/index/+data.ts type Data (line 3) | type Data = Awaited>; function minimize (line 29) | function minimize(movies: MovieDetails[]): Movie[] { function sleep (line 36) | function sleep(milliseconds: number) { FILE: packages/knip/fixtures/plugins/vike/pages/star-wars/types.ts type Movie (line 1) | type Movie = { type MovieDetails (line 6) | type MovieDetails = Movie & { FILE: packages/knip/fixtures/plugins/vike/renderer/Layout.tsx function Layout (line 11) | function Layout({ children, pageContext }: { children: React.ReactNode; ... function Frame (line 29) | function Frame({ children }: { children: React.ReactNode }) { function Sidebar (line 43) | function Sidebar({ children }: { children: React.ReactNode }) { function Content (line 61) | function Content({ children }: { children: React.ReactNode }) { function Logo (line 78) | function Logo() { FILE: packages/knip/fixtures/plugins/vike/renderer/Link.tsx function Link (line 5) | function Link(props: { href: string; className?: string; children: React... FILE: packages/knip/fixtures/plugins/vike/renderer/getPageTitle.ts function getPageTitle (line 5) | function getPageTitle(pageContext: PageContext): string { FILE: packages/knip/fixtures/plugins/vike/renderer/useData.ts function useData (line 7) | function useData() { FILE: packages/knip/fixtures/plugins/vike/renderer/usePageContext.tsx function PageContextProvider (line 11) | function PageContextProvider({ pageContext, children }: { pageContext: P... function usePageContext (line 16) | function usePageContext() { FILE: packages/knip/fixtures/plugins/vike/server/index.ts function startServer (line 22) | async function startServer() { FILE: packages/knip/fixtures/plugins/vite2/vite.config.ts function getExtensions (line 5) | function getExtensions() { FILE: packages/knip/fixtures/plugins/vitest7/vitest.config.ts class ReporterClass (line 3) | class ReporterClass {} FILE: packages/knip/fixtures/plugins/vitest9/packages/client/e2e-setup.ts function setup (line 1) | function setup() { FILE: packages/knip/fixtures/plugins/vitest9/src/unit.setup.ts function setup (line 1) | function setup() { FILE: packages/knip/fixtures/plugins/yarn/yarn.config.cjs method constraints (line 7) | async constraints({ Yarn }) { FILE: packages/knip/fixtures/preprocessors/identity.ts function identity (line 3) | function identity(value: ReporterOptions): ReporterOptions { FILE: packages/knip/fixtures/re-exports-enum-members-workspace/lib/enums.ts type Density (line 1) | enum Density { type Consistency (line 6) | enum Consistency { FILE: packages/knip/fixtures/re-exports-enum-unused/myEnum.ts type MyEnum (line 1) | enum MyEnum { FILE: packages/knip/fixtures/re-exports-enum/myEnum.ts type MyEnum (line 1) | enum MyEnum { FILE: packages/knip/fixtures/re-exports-enum/myNextEnum.ts type MyNextEnum (line 1) | enum MyNextEnum { FILE: packages/knip/fixtures/re-exports-export-declaration/src/exporter/exporterB.ts function cb (line 3) | function cb() {} function fn (line 5) | function fn() {} FILE: packages/knip/fixtures/re-exports-export-declaration/src/exporter/exporterC.ts function cb (line 3) | function cb() {} FILE: packages/knip/fixtures/re-exports-export-declaration/src/exporter/exporterD.ts function cb (line 3) | function cb() {} FILE: packages/knip/fixtures/re-exports-export-ns/1-root.ts function exportedFnOnNs (line 5) | function exportedFnOnNs() { FILE: packages/knip/fixtures/re-exports-export-ns/4-leaf-A.ts function fnA (line 3) | function fnA() { type EnumA (line 7) | enum EnumA { FILE: packages/knip/fixtures/re-exports-export-ns/4-leaf-B.ts function fnB (line 1) | function fnB() {} FILE: packages/knip/fixtures/re-exports-export-ns/4-leaf-C.ts function fnC (line 1) | function fnC() {} FILE: packages/knip/fixtures/re-exports-ns-type/index.tsx type Key (line 5) | type Key = keyof typeof NS; type PictureKey (line 16) | type PictureKey = keyof typeof pictures; type Props (line 18) | interface Props { FILE: packages/knip/fixtures/re-exports-ns-type2/types.ts type MySchemaType (line 3) | type MySchemaType = typeof Schema.MySchema; FILE: packages/knip/fixtures/re-exports-with-decorator/decorator.ts function MyDeco (line 1) | function MyDeco() { class MyDecorated (line 6) | class MyDecorated {} FILE: packages/knip/fixtures/re-exports-with-decorator/my-module.ts type MyEnum (line 3) | enum MyEnum { FILE: packages/knip/fixtures/rules/exports.ts type UsedType (line 4) | type UsedType = unknown; type UnusedType (line 5) | type UnusedType = unknown; class MyClass (line 9) | class MyClass { type MyEnum (line 13) | enum MyEnum { FILE: packages/knip/fixtures/rules/ns.ts type UsedType (line 4) | type UsedType = unknown; type UnusedType (line 5) | type UnusedType = unknown; FILE: packages/knip/fixtures/session-dependencies/src/index.ts type Schema (line 7) | type Schema = Infer; FILE: packages/knip/fixtures/session/diamond-base.ts constant DIAMOND (line 1) | const DIAMOND = 1; FILE: packages/knip/fixtures/session/host.ts function start (line 1) | function start() {} FILE: packages/knip/fixtures/session/overload-1.ts constant OVERLOAD (line 1) | const OVERLOAD = 1; FILE: packages/knip/fixtures/session/overload-2.ts constant OVERLOAD (line 1) | const OVERLOAD = 2; FILE: packages/knip/fixtures/session/overload-3.ts constant OVERLOAD (line 1) | const OVERLOAD = 3; FILE: packages/knip/fixtures/session/src/core/app/types.ts type SSRManifest (line 1) | type SSRManifest = {}; FILE: packages/knip/fixtures/session/worker.ts function start (line 1) | function start() {} FILE: packages/knip/fixtures/tags-cli/tags.ts type MyEnum (line 22) | enum MyEnum { class MyClass (line 44) | class MyClass { class MyCustomClass (line 65) | class MyCustomClass {} type MyCustomEnum (line 68) | enum MyCustomEnum {} FILE: packages/knip/fixtures/trace/require.ts function require (line 2) | function require() {} FILE: packages/knip/fixtures/trace/shared.ts constant CONTAINER (line 5) | const CONTAINER = { NS }; FILE: packages/knip/fixtures/ts-namespace/index.ts type T (line 16) | type T = Types.UsedType; FILE: packages/knip/fixtures/ts-namespace/merged.ts class Validator (line 1) | class Validator { method validate (line 2) | validate() { function format (line 11) | function format(value: string) { type Status (line 19) | enum Status { function label (line 24) | function label(s: Status) { FILE: packages/knip/fixtures/ts-namespace/types.ts type UsedType (line 2) | type UsedType = string; type UnusedType (line 3) | type UnusedType = number; type UsedInterface (line 4) | interface UsedInterface { type UnusedInterface (line 7) | interface UnusedInterface { FILE: packages/knip/fixtures/tsconfig-rootdirs/generated/src/index.generated.ts type NUM (line 1) | type NUM = number; FILE: packages/knip/fixtures/type-in-type/types.ts type SharedProps (line 1) | interface SharedProps { type B (line 5) | type B = SharedProps; type A (line 7) | interface A extends SharedProps { type Union (line 11) | type Union = A | B; type Wrapped (line 13) | type Wrapped = Array; type Mapped (line 15) | type Mapped = Map; type Tuple (line 17) | type Tuple = [A, B]; type Intersection (line 19) | type Intersection = A & B; type Conditional (line 21) | type Conditional = A extends B ? A : B; type Nested (line 23) | type Nested = Set>; type Func (line 25) | type Func = () => void; FILE: packages/knip/fixtures/type-in-value-export/src/api.ts type PointsData (line 1) | interface PointsData { type GetPoints (line 6) | type GetPoints = Promise; type GetPointsResponse (line 7) | type GetPointsResponse = PointsData; type GetPointsParams (line 8) | type GetPointsParams = { limit: number }; function fetchPoints (line 10) | async function fetchPoints(params: GetPointsParams): GetPoints { FILE: packages/knip/fixtures/workspaces-noconfig-plugin/lib/src/util.ts function funktion (line 1) | function funktion() { FILE: packages/knip/fixtures/workspaces-root/scripts/index.ts type ScriptUnUsedExport (line 3) | type ScriptUnUsedExport = unknown; FILE: packages/knip/fixtures/workspaces-self-and-cross-ref/packages/lib/src/alpha.ts function alpha (line 1) | function alpha() {} FILE: packages/knip/fixtures/workspaces-self-and-cross-ref/packages/lib/src/beta.ts function beta (line 1) | function beta() {} FILE: packages/knip/fixtures/workspaces/packages/shared/types.ts type UsedInt (line 1) | type UsedInt = number; type UnusedEnum (line 3) | enum UnusedEnum { FILE: packages/knip/fixtures/zero-config/my-module.ts type AnyType (line 10) | type AnyType = any; FILE: packages/knip/fixtures/zero-config/my-namespace.ts type NS (line 5) | interface NS {} FILE: packages/knip/scripts/generate-plugin-defs.js constant HEADER (line 6) | const HEADER = '// This file is generated (no need to edit)'; FILE: packages/knip/scripts/verify-fixtures.ts constant FIXTURES_DIR (line 5) | const FIXTURES_DIR = join(process.cwd(), 'fixtures'); function renderTree (line 7) | function renderTree(tree: Record, prefix = ''): string[] { function main (line 20) | async function main(isFix = false) { FILE: packages/knip/src/CacheConsultant.ts class CacheConsultant (line 8) | class CacheConsultant { method constructor (line 12) | constructor(name: string, options: MainOptions) { method getFileDescriptor (line 21) | public getFileDescriptor(filePath: string): FileDescriptor { method reconcile (line 25) | public reconcile() { FILE: packages/knip/src/CatalogCounselor.ts type CatalogContainer (line 12) | type CatalogContainer = { filePath: string; catalog?: Catalog; catalogs?... class CatalogCounselor (line 14) | class CatalogCounselor { method constructor (line 20) | constructor(options: MainOptions) { method addReferencedCatalogEntry (line 25) | private addReferencedCatalogEntry(entryName: string) { method addWorkspace (line 29) | public addWorkspace(manifest: PackageJson) { method settleCatalogIssues (line 35) | public async settleCatalogIssues(options: MainOptions) { FILE: packages/knip/src/ConfigurationChief.ts type Workspace (line 66) | type Workspace = { class ConfigurationChief (line 84) | class ConfigurationChief { method constructor (line 107) | constructor(options: MainOptions) { method getConfigurationHints (line 118) | public getConfigurationHints() { method normalize (line 137) | private normalize(rawConfig: RawConfiguration): Configuration { method getWorkspaces (line 176) | public async getWorkspaces() { method getListedWorkspaces (line 219) | private getListedWorkspaces() { method getIgnoredWorkspaces (line 223) | private getIgnoredWorkspaces() { method getIgnoredWorkspacePatterns (line 229) | private getIgnoredWorkspacePatterns() { method getConfiguredWorkspaceKeys (line 236) | private getConfiguredWorkspaceKeys() { method getAdditionalWorkspaceNames (line 244) | private async getAdditionalWorkspaceNames() { method getAvailableWorkspaceNames (line 259) | private getAvailableWorkspaceNames(names: Iterable) { method getIncludedWorkspaces (line 271) | private getIncludedWorkspaces() { method getManifestForWorkspace (line 334) | public getManifestForWorkspace(name: string) { method getDescendentWorkspaces (line 338) | private getDescendentWorkspaces(name: string) { method getIgnoredWorkspacesFor (line 345) | public getIgnoredWorkspacesFor(name: string) { method createIgnoredWorkspaceMatcher (line 351) | public createIgnoredWorkspaceMatcher(name: string, dir: string) { method getNegatedWorkspacePatterns (line 360) | public getNegatedWorkspacePatterns(name: string) { method getConfigKeyForWorkspace (line 370) | private getConfigKeyForWorkspace(workspaceName: string) { method getSelectedWorkspaces (line 377) | private getSelectedWorkspaces() { method getWorkspaceConfig (line 383) | public getWorkspaceConfig(workspaceName: string) { method getIgnores (line 395) | public getIgnores(workspaceName: string) { method getConfigForWorkspace (line 415) | public getConfigForWorkspace(workspaceName: string, extensions?: strin... method findWorkspaceByFilePath (line 441) | public findWorkspaceByFilePath(filePath: string) { method getUnusedIgnoredWorkspaces (line 449) | public getUnusedIgnoredWorkspaces() { FILE: packages/knip/src/ConsoleStreamer.ts class ConsoleStreamer (line 6) | class ConsoleStreamer { method constructor (line 11) | constructor(options: MainOptions) { method clearLines (line 16) | private clearLines(count: number) { method clearScreen (line 26) | private clearScreen() { method update (line 30) | private update(messages: string[]) { method cast (line 36) | cast(message: string | string[], sub?: string) { method clear (line 42) | clear() { FILE: packages/knip/src/DependencyDeputy.ts class DependencyDeputy (line 41) | class DependencyDeputy { method constructor (line 52) | constructor({ isProduction, isStrict, isReportDependencies }: MainOpti... method addWorkspace (line 63) | public addWorkspace({ method getWorkspaceManifest (line 138) | getWorkspaceManifest(workspaceName: string) { method getProductionDependencies (line 142) | getProductionDependencies(workspaceName: string): DependencyArray { method getDevDependencies (line 149) | getDevDependencies(workspaceName: string): DependencyArray { method getDependencies (line 153) | getDependencies(workspaceName: string): DependencySet { method setInstalledBinaries (line 159) | setInstalledBinaries(workspaceName: string, installedBinaries: Map; type TrackedPattern (line 21) | type TrackedPattern = { hint: ConfigurationHint; isMatch: (path: string)... class IssueCollector (line 27) | class IssueCollector { method constructor (line 45) | constructor(options: MainOptions) { method setWorkspaceFilter (line 54) | setWorkspaceFilter(workspaceFilePathFilter: WorkspaceFilePathFilter | ... method addIgnorePatterns (line 58) | addIgnorePatterns(entries: { pattern: string; id: string; workspaceNam... method addIgnoreFilesPatterns (line 72) | addIgnoreFilesPatterns(entries: { pattern: string; id: string; workspa... method markUsedPatterns (line 86) | private markUsedPatterns(filePath: string, unused: typeof this.unusedI... method setIgnoreIssues (line 93) | setIgnoreIssues(ignoreIssues?: IgnoreIssues) { method shouldIgnoreIssue (line 112) | private shouldIgnoreIssue(filePath: string, issueType: IssueType): boo... method addFileCounts (line 118) | addFileCounts({ processed, unused }: { processed: number; unused: numb... method addFilesIssues (line 123) | addFilesIssues(filePaths: string[]) { method addIssue (line 147) | addIssue(issue: Issue) { method addConfigurationHint (line 167) | addConfigurationHint(issue: ConfigurationHint) { method addTagHint (line 172) | addTagHint(issue: TagHint) { method purge (line 176) | purge() { method getIssues (line 186) | getIssues() { method getUnusedIgnorePatternHints (line 195) | getUnusedIgnorePatternHints(options: MainOptions) { method retainIssue (line 205) | retainIssue(issue: Issue) { method getRetainedIssues (line 208) | getRetainedIssues() { FILE: packages/knip/src/IssueFixer.ts class IssueFixer (line 34) | class IssueFixer { method constructor (line 37) | constructor(options: MainOptions) { method fixIssues (line 41) | public async fixIssues(issues: Issues) { method removeUnusedFiles (line 50) | private async removeUnusedFiles(issues: Issues) { method removeUnusedExports (line 59) | private async removeUnusedExports(issues: Issues) { method removeUnusedDependencies (line 102) | private async removeUnusedDependencies(issues: Issues) { method removeUnusedCatalogEntries (line 138) | private async removeUnusedCatalogEntries(issues: Issues) { FILE: packages/knip/src/JsonCatalogPeeker.ts class JsonCatalogPeeker (line 3) | class JsonCatalogPeeker { method constructor (line 9) | constructor(fileContent: string) { method init (line 13) | private init() { method getLocation (line 55) | public getLocation(parentSymbol: string, symbol: string) { FILE: packages/knip/src/PackagePeeker.ts class PackagePeeker (line 1) | class PackagePeeker { method constructor (line 7) | constructor(manifestStr: string) { method init (line 11) | private init() { method getLocation (line 32) | getLocation(type: 'dependencies' | 'devDependencies' | 'optionalPeerDe... FILE: packages/knip/src/ProjectPrincipal.ts class ProjectPrincipal (line 28) | class ProjectPrincipal { method constructor (line 57) | constructor(options: MainOptions, toSourceFilePath: ToSourceFilePath) { method addCompilers (line 66) | addCompilers(compilers: [SyncCompilers, AsyncCompilers]) { method addPaths (line 81) | addPaths(paths: Paths, basePath: string) { method init (line 93) | init() { method readFile (line 107) | readFile(filePath: string): string { method hasAcceptedExtension (line 111) | private hasAcceptedExtension(filePath: string) { method addEntryPath (line 115) | addEntryPath(filePath: string, options?: { skipExportsAnalysis: boolea... method addEntryPaths (line 123) | addEntryPaths(filePaths: Set | string[], options?: { skipExpor... method addProgramPath (line 127) | addProgramPath(filePath: string) { method addProjectPath (line 133) | addProjectPath(filePath: string) { method removeProjectPath (line 140) | removeProjectPath(filePath: string) { method runAsyncCompilers (line 147) | async runAsyncCompilers() { method walkAndAnalyze (line 156) | walkAndAnalyze( method getUsedResolvedFiles (line 220) | getUsedResolvedFiles() { method resolveSpecifier (line 250) | private resolveSpecifier(specifier: string, containingFile: string): s... method getUnreferencedFiles (line 254) | getUnreferencedFiles() { method analyzeSourceFile (line 258) | analyzeSourceFile( method invalidateFile (line 294) | invalidateFile(filePath: string) { method reconcileCache (line 298) | reconcileCache(graph: ModuleGraph) { FILE: packages/knip/src/WorkspaceWorker.ts type WorkspaceManagerOptions (line 45) | type WorkspaceManagerOptions = { type CacheItem (line 62) | type CacheItem = { resolveConfig?: Input[]; resolveFromAST?: Input[]; co... class WorkspaceWorker (line 77) | class WorkspaceWorker { method constructor (line 100) | constructor({ method init (line 138) | public async init() { method determineEnabledPlugins (line 142) | private async determineEnabledPlugins() { method getConfigForPlugin (line 165) | private getConfigForPlugin(pluginName: PluginName): EnsuredPluginConfi... method getEntryFilePatterns (line 170) | getEntryFilePatterns() { method getProjectFilePatterns (line 177) | getProjectFilePatterns(projectFilePatterns: string[]) { method getPluginProjectFilePatterns (line 184) | getPluginProjectFilePatterns(patterns: string[] = []) { method getPluginConfig (line 195) | private getPluginConfig(plugin: Plugin) { method getPluginConfigPatterns (line 199) | getPluginConfigPatterns() { method getPluginEntryFilePatterns (line 210) | getPluginEntryFilePatterns(patterns: string[]) { method getProductionEntryFilePatterns (line 215) | getProductionEntryFilePatterns(negatedTestFilePatterns: string[]) { method getProductionProjectFilePatterns (line 222) | getProductionProjectFilePatterns(negatedTestFilePatterns: string[]) { method getConfigurationFilePatterns (line 243) | private getConfigurationFilePatterns(pluginName: PluginName) { method registerCompilers (line 249) | public async registerCompilers(registerCompiler: RegisterCompiler) { method registerVisitors (line 260) | public registerVisitors(options: RegisterVisitorsOptions) { method runPlugins (line 271) | public async runPlugins() { method filterTransitiveDependencies (line 486) | private filterTransitiveDependencies(inputs: Input[], configFilePath: ... method getConfigurationHints (line 508) | public getConfigurationHints( method onDispose (line 543) | public onDispose() { FILE: packages/knip/src/YamlCatalogPeeker.ts function matchesKey (line 3) | function matchesKey(line: string, indent: string, key: string) { class YamlCatalogPeeker (line 11) | class YamlCatalogPeeker { method constructor (line 17) | constructor(fileContent: string) { method init (line 21) | private init() { method getLocation (line 34) | public getLocation(parentSymbol: string, symbol: string) { FILE: packages/knip/src/binaries/bash-parser.ts type KnownResolver (line 14) | type KnownResolver = keyof typeof KnownResolvers; FILE: packages/knip/src/compilers/types.ts type FileExtension (line 1) | type FileExtension = string; type CompilerSync (line 3) | type CompilerSync = (source: string, path: string) => string; type CompilerAsync (line 4) | type CompilerAsync = (source: string, path: string) => Promise; type RawSyncCompilers (line 6) | type RawSyncCompilers = Map; type SyncCompilers (line 7) | type SyncCompilers = Map; type AsyncCompilers (line 8) | type AsyncCompilers = Map; type Compilers (line 9) | type Compilers = [SyncCompilers, AsyncCompilers]; type HasDependency (line 11) | type HasDependency = (pkgName: string) => boolean; FILE: packages/knip/src/constants.ts constant ROOT_WORKSPACE_NAME (line 1) | const ROOT_WORKSPACE_NAME = '.'; constant IMPORT_STAR (line 3) | const IMPORT_STAR = '*'; constant KNIP_CONFIG_LOCATIONS (line 5) | const KNIP_CONFIG_LOCATIONS = [ constant DEFAULT_EXTENSIONS (line 16) | const DEFAULT_EXTENSIONS = new Set(['.js', '.mjs', '.cjs', '.jsx', '.ts'... constant DTS_EXTENSIONS (line 18) | const DTS_EXTENSIONS = ['.d.ts', '.d.mts', '.d.cts']; constant IS_DTS (line 20) | const IS_DTS = /\.d\.(c|m)?ts$/; constant GLOBAL_IGNORE_PATTERNS (line 22) | const GLOBAL_IGNORE_PATTERNS: readonly string[] = ['**/node_modules/**',... constant PUBLIC_TAG (line 24) | const PUBLIC_TAG = '@public'; constant INTERNAL_TAG (line 25) | const INTERNAL_TAG = '@internal'; constant BETA_TAG (line 26) | const BETA_TAG = '@beta'; constant ALIAS_TAG (line 27) | const ALIAS_TAG = '@alias'; constant DT_SCOPE (line 29) | const DT_SCOPE = '@types'; constant PROTOCOL_VIRTUAL (line 31) | const PROTOCOL_VIRTUAL = 'virtual:'; constant IGNORED_GLOBAL_BINARIES (line 38) | const IGNORED_GLOBAL_BINARIES = new Set([ constant IGNORED_DEPENDENCIES (line 150) | const IGNORED_DEPENDENCIES = new Set(['knip', 'typescript']); constant IGNORED_RUNTIME_DEPENDENCIES (line 152) | const IGNORED_RUNTIME_DEPENDENCIES = new Set(['node', 'bun', 'deno']); constant FOREIGN_FILE_EXTENSIONS (line 154) | const FOREIGN_FILE_EXTENSIONS = new Set([ constant IGNORE_DEFINITELY_TYPED (line 178) | const IGNORE_DEFINITELY_TYPED = new Set([ constant ISSUE_TYPES (line 186) | const ISSUE_TYPES = [ constant ISSUE_TYPE_TITLE (line 204) | const ISSUE_TYPE_TITLE = { constant SYMBOL_TYPE (line 222) | const SYMBOL_TYPE = { constant FIX_FLAGS (line 234) | const FIX_FLAGS = { constant SIDE_EFFECTS (line 241) | const SIDE_EFFECTS = '__side-effects'; constant OPAQUE (line 243) | const OPAQUE = '__opaque'; constant IMPORT_FLAGS (line 245) | const IMPORT_FLAGS = { FILE: packages/knip/src/graph-explorer/cache.ts type ExplorerCache (line 5) | interface ExplorerCache { FILE: packages/knip/src/graph-explorer/constants.ts constant CONTINUE (line 1) | const CONTINUE = 'continue'; constant STOP (line 3) | const STOP = 'stop'; constant RE_EXPORT_KIND (line 5) | const RE_EXPORT_KIND = { FILE: packages/knip/src/graph-explorer/explorer.ts type GraphExplorer (line 33) | type GraphExplorer = ReturnType; FILE: packages/knip/src/graph-explorer/operations/build-exports-tree.ts type ExportsTreeNode (line 7) | interface ExportsTreeNode { FILE: packages/knip/src/graph-explorer/operations/get-contention.ts type ReExportNetwork (line 7) | interface ReExportNetwork { FILE: packages/knip/src/graph-explorer/operations/get-dependency-usage.ts type DependencyNode (line 4) | interface DependencyNode { type DependencyNodes (line 13) | interface DependencyNodes { FILE: packages/knip/src/graph-explorer/operations/get-usage.ts type UsageLocation (line 8) | interface UsageLocation extends Position { type UsageResult (line 15) | interface UsageResult { FILE: packages/knip/src/graph-explorer/operations/resolve-definition.ts type TraversalStep (line 7) | interface TraversalStep { type DefinitionResult (line 13) | interface DefinitionResult { FILE: packages/knip/src/graph-explorer/visitors.ts type PassThroughReExportCallback (line 5) | type PassThroughReExportCallback = (identifier: string, sources: Set; type Target (line 155) | type Target = Architect[string]; type Architect (line 156) | type Architect = Exclude; type EntriesByOption (line 158) | type EntriesByOption = Map; type FileReplacementsBuildOption (line 161) | type FileReplacementsBuildOption = Exclude Config); FILE: packages/knip/src/plugins/babel/types.ts type BabelConfigFn (line 3) | type BabelConfigFn = (options: typeof api) => BabelConfigObj; type BabelConfigObj (line 5) | type BabelConfigObj = { type BabelConfig (line 12) | type BabelConfig = BabelConfigObj | BabelConfigFn; FILE: packages/knip/src/plugins/biome/types.ts type BiomeConfig (line 1) | type BiomeConfig = { FILE: packages/knip/src/plugins/bun/types.ts type BunfigConfig (line 1) | type BunfigConfig = { FILE: packages/knip/src/plugins/capacitor/types.ts type CapacitorConfig (line 1) | type CapacitorConfig = { FILE: packages/knip/src/plugins/changesets/types.ts type ChangesetsConfig (line 1) | type ChangesetsConfig = { FILE: packages/knip/src/plugins/commitizen/types.ts type CommitizenConfig (line 1) | type CommitizenConfig = { FILE: packages/knip/src/plugins/commitlint/types.ts type CommitLintConfig (line 1) | type CommitLintConfig = { type ParserPreset (line 8) | type ParserPreset = { FILE: packages/knip/src/plugins/cspell/types.ts type CSpellConfig (line 1) | type CSpellConfig = { FILE: packages/knip/src/plugins/cucumber/types.ts type CucumberConfig (line 1) | type CucumberConfig = { FILE: packages/knip/src/plugins/cypress/helpers.ts type ReporterConfig (line 6) | interface ReporterConfig { FILE: packages/knip/src/plugins/cypress/index.ts constant TEST_FILE_PATTERNS (line 17) | const TEST_FILE_PATTERNS = ['cypress/e2e/**/*.cy.{js,jsx,ts,tsx}']; constant SUPPORT_FILE_PATTERNS (line 19) | const SUPPORT_FILE_PATTERNS = [ FILE: packages/knip/src/plugins/cypress/types.ts type CypressConfig (line 1) | interface CypressConfig { FILE: packages/knip/src/plugins/docusaurus/helpers.ts constant FIRST_PARTY_MODULES (line 6) | const FIRST_PARTY_MODULES = new Set([ constant CORE_CLIENT_API (line 26) | const CORE_CLIENT_API = [ FILE: packages/knip/src/plugins/docusaurus/types.ts type ModuleType (line 3) | type ModuleType = 'plugin' | 'theme' | 'preset'; type DocsConfig (line 5) | type DocsConfig = { type PluginOptions (line 10) | type PluginOptions = { type PresetOptions (line 15) | type PresetOptions = { type Loader (line 20) | type Loader = unknown; type PluginConfig (line 22) | type PluginConfig = type PresetConfig (line 42) | type PresetConfig = string | [string, PresetOptions] | false | null; type Config (line 44) | type Config = PresetConfig | PluginConfig; type ConfigItem (line 46) | type ConfigItem = Config | (() => Config); type ScriptTag (line 48) | type ScriptTag = { src: string; [key: string]: unknown }; type StylesheetLink (line 49) | type StylesheetLink = { href: string; [key: string]: unknown }; type DocusaurusConfig (line 51) | type DocusaurusConfig = { FILE: packages/knip/src/plugins/drizzle/types.ts type DrizzleConfig (line 1) | interface DrizzleConfig { FILE: packages/knip/src/plugins/eleventy/helpers.ts class DummyEleventyConfig (line 4) | class DummyEleventyConfig { method _getUniqueId (line 5) | _getUniqueId() {} method reset (line 6) | reset() {} method versionCheck (line 7) | versionCheck() {} method on (line 8) | on() {} method emit (line 9) | emit() {} method _enablePluginExecution (line 10) | _enablePluginExecution() {} method addMarkdownHighlighter (line 11) | addMarkdownHighlighter() {} method addLiquidTag (line 12) | addLiquidTag() {} method addLiquidFilter (line 13) | addLiquidFilter() {} method addNunjucksAsyncFilter (line 14) | addNunjucksAsyncFilter() {} method addNunjucksFilter (line 15) | addNunjucksFilter() {} method addHandlebarsHelper (line 16) | addHandlebarsHelper() {} method addFilter (line 17) | addFilter() {} method addAsyncFilter (line 18) | addAsyncFilter() {} method getFilter (line 19) | getFilter() {} method addNunjucksTag (line 20) | addNunjucksTag() {} method addGlobalData (line 21) | addGlobalData() {} method addNunjucksGlobal (line 22) | addNunjucksGlobal() {} method addTransform (line 23) | addTransform() {} method addLinter (line 24) | addLinter() {} method addLayoutAlias (line 25) | addLayoutAlias() {} method setLayoutResolution (line 26) | setLayoutResolution() {} method enableLayoutResolution (line 27) | enableLayoutResolution() {} method getCollections (line 28) | getCollections() {} method addCollection (line 29) | addCollection() {} method addPlugin (line 30) | addPlugin() {} method _getPluginName (line 31) | _getPluginName() {} method _executePlugin (line 32) | _executePlugin() {} method getNamespacedName (line 33) | getNamespacedName() {} method namespace (line 34) | namespace() {} method addPassthroughCopy (line 35) | addPassthroughCopy(input: string | Record) { method _normalizeTemplateFormats (line 44) | _normalizeTemplateFormats() {} method setTemplateFormats (line 45) | setTemplateFormats() {} method addTemplateFormats (line 46) | addTemplateFormats() {} method setLibrary (line 47) | setLibrary() {} method amendLibrary (line 48) | amendLibrary() {} method setPugOptions (line 49) | setPugOptions() {} method setLiquidOptions (line 50) | setLiquidOptions() {} method setNunjucksEnvironmentOptions (line 51) | setNunjucksEnvironmentOptions() {} method setNunjucksPrecompiledTemplates (line 52) | setNunjucksPrecompiledTemplates() {} method setEjsOptions (line 53) | setEjsOptions() {} method setDynamicPermalinks (line 54) | setDynamicPermalinks() {} method setUseGitIgnore (line 55) | setUseGitIgnore() {} method addShortcode (line 56) | addShortcode() {} method addAsyncShortcode (line 57) | addAsyncShortcode() {} method addNunjucksAsyncShortcode (line 58) | addNunjucksAsyncShortcode() {} method addNunjucksShortcode (line 59) | addNunjucksShortcode() {} method addLiquidShortcode (line 60) | addLiquidShortcode() {} method addHandlebarsShortcode (line 61) | addHandlebarsShortcode() {} method addPairedShortcode (line 62) | addPairedShortcode() {} method addPairedAsyncShortcode (line 63) | addPairedAsyncShortcode() {} method addPairedNunjucksAsyncShortcode (line 64) | addPairedNunjucksAsyncShortcode() {} method addPairedNunjucksShortcode (line 65) | addPairedNunjucksShortcode() {} method addPairedLiquidShortcode (line 66) | addPairedLiquidShortcode() {} method addPairedHandlebarsShortcode (line 67) | addPairedHandlebarsShortcode() {} method addJavaScriptFunction (line 68) | addJavaScriptFunction() {} method setDataDeepMerge (line 69) | setDataDeepMerge() {} method isDataDeepMergeModified (line 70) | isDataDeepMergeModified() {} method addWatchTarget (line 71) | addWatchTarget() {} method setWatchJavaScriptDependencies (line 72) | setWatchJavaScriptDependencies() {} method setServerOptions (line 73) | setServerOptions() {} method setBrowserSyncConfig (line 74) | setBrowserSyncConfig() {} method setChokidarConfig (line 75) | setChokidarConfig() {} method setWatchThrottleWaitTime (line 76) | setWatchThrottleWaitTime() {} method setFrontMatterParsingOptions (line 77) | setFrontMatterParsingOptions() {} method setQuietMode (line 78) | setQuietMode() {} method addExtension (line 79) | addExtension() {} method addDataExtension (line 80) | addDataExtension() {} method setUseTemplateCache (line 81) | setUseTemplateCache() {} method setPrecompiledCollections (line 82) | setPrecompiledCollections() {} method setServerPassthroughCopyBehavior (line 83) | setServerPassthroughCopyBehavior() {} method addUrlTransform (line 84) | addUrlTransform() {} method setDataFileSuffixes (line 85) | setDataFileSuffixes() {} method setDataFileBaseName (line 86) | setDataFileBaseName() {} method getMergingConfigObject (line 87) | getMergingConfigObject() {} method isVirtualTemplate (line 88) | isVirtualTemplate() {} method setInputDirectory (line 89) | setInputDirectory() {} method setOutputDirectory (line 90) | setOutputDirectory() {} method setDataDirectory (line 91) | setDataDirectory() {} method setIncludesDirectory (line 92) | setIncludesDirectory() {} method setLayoutsDirectory (line 93) | setLayoutsDirectory() {} method setFreezeReservedData (line 94) | setFreezeReservedData() {} method addDateParsing (line 95) | addDateParsing() {} method addBundle (line 96) | addBundle() {} FILE: packages/knip/src/plugins/eleventy/types.ts type EleventyConfig (line 3) | type EleventyConfig = { type EleventyConfigOrFn (line 14) | type EleventyConfigOrFn = FILE: packages/knip/src/plugins/eslint/resolveFromAST.ts method ObjectExpression (line 11) | ObjectExpression(node) { FILE: packages/knip/src/plugins/eslint/types.ts type ParserOptions (line 1) | type ParserOptions = { type Settings (line 10) | type Settings = Record | string>; type Rules (line 12) | type Rules = Record; type BaseConfig (line 14) | type BaseConfig = { type ESLintConfig (line 24) | type ESLintConfig = BaseConfig[]; type OverrideConfigDeprecated (line 26) | type OverrideConfigDeprecated = BaseConfig & { files: string[]; override... type ESLintConfigDeprecated (line 28) | type ESLintConfigDeprecated = BaseConfig & { FILE: packages/knip/src/plugins/execa/visitors/execa.ts function createExecaVisitor (line 7) | function createExecaVisitor(ctx: PluginVisitorContext): PluginVisitorObj... FILE: packages/knip/src/plugins/expo/types.ts type BaseConfig (line 4) | type BaseConfig = { type ConfigContext (line 22) | type ConfigContext = { type ExpoConfigOrProp (line 29) | type ExpoConfigOrProp = BaseConfig | { expo: BaseConfig }; type ExpoConfig (line 31) | type ExpoConfig = ExpoConfigOrProp | ((cfg: ConfigContext) => ExpoConfig... FILE: packages/knip/src/plugins/gatsby/types.ts type GatsbyConfig (line 1) | type GatsbyConfig = { type GatsbyActions (line 5) | type GatsbyActions = { type GatsbyNode (line 11) | type GatsbyNode = { FILE: packages/knip/src/plugins/github-actions/types.ts type Step (line 1) | type Step = { type Steps (line 11) | type Steps = Step[]; type Job (line 13) | type Job = { type Runs (line 17) | type Runs = { FILE: packages/knip/src/plugins/graphql-codegen/types.ts type PluginConfig (line 1) | type PluginConfig = { [key: string]: T }; type ConfiguredPlugin (line 2) | interface ConfiguredPlugin { type NamedPlugin (line 5) | type NamedPlugin = string; type OutputConfig (line 7) | type OutputConfig = NamedPlugin | ConfiguredPlugin; type PresetNamesBase (line 8) | type PresetNamesBase = 'client' | 'near-operation-file' | 'gql-tag-opera... type PresetNames (line 9) | type PresetNames = `${PresetNamesBase}-preset` | PresetNamesBase; type OutputPreset (line 11) | type OutputPreset = { function isConfigurationOutput (line 16) | function isConfigurationOutput(config: ConfiguredOutput | ConfiguredPlug... type ConfiguredOutput (line 20) | interface ConfiguredOutput { type GraphqlCodegenTypes (line 44) | interface GraphqlCodegenTypes { type GraphqlConfigTypes (line 62) | interface GraphqlConfigTypes { type GraphqlProjectsConfigTypes (line 74) | interface GraphqlProjectsConfigTypes { FILE: packages/knip/src/plugins/jest/types.ts type JestInitialOptions (line 3) | type JestInitialOptions = Config.InitialOptions; type JestConfig (line 5) | type JestConfig = JestInitialOptions | (() => JestInitialOptions) | (() ... FILE: packages/knip/src/plugins/karma/helpers.ts type ConfigFile (line 29) | type ConfigFile = (config: Config) => void; class InMemoryConfig (line 42) | class InMemoryConfig implements Config { method set (line 48) | set(config: ConfigOptions) { FILE: packages/knip/src/plugins/karma/types.ts type Config (line 7) | interface Config { type ConfigOptions (line 12) | interface ConfigOptions { type PluginName (line 46) | type PluginName = string; type InlinePluginDef (line 47) | type InlinePluginDef = Record; type InlinePluginType (line 48) | type InlinePluginType = FactoryFnType | ConstructorFnType | ValueType; type FactoryFnType (line 49) | type FactoryFnType = ['factory', FactoryFn]; type FactoryFn (line 50) | type FactoryFn = (...params: any[]) => any; type ConstructorFnType (line 51) | type ConstructorFnType = ['type', ConstructorFn]; type ConstructorFn (line 53) | type ConstructorFn = Function | (new (...params: any[]) => any); type ValueType (line 54) | type ValueType = ['value', any]; type FilePattern (line 57) | interface FilePattern { FILE: packages/knip/src/plugins/knex/helpers.ts constant CLIENT_MAPPING (line 1) | const CLIENT_MAPPING: Record = { FILE: packages/knip/src/plugins/knex/types.ts type KnexConfig (line 1) | interface KnexConfig { FILE: packages/knip/src/plugins/ladle/types.ts type LadleConfig (line 1) | type LadleConfig = { FILE: packages/knip/src/plugins/lefthook/index.ts type Command (line 16) | type Command = { FILE: packages/knip/src/plugins/lint-staged/types.ts type SyncGenerateTask (line 3) | type SyncGenerateTask = (stagedFileNames: readonly string[]) => string |... type AsyncGenerateTask (line 5) | type AsyncGenerateTask = (stagedFileNames: readonly string[]) => Promise... type GenerateTask (line 7) | type GenerateTask = SyncGenerateTask | AsyncGenerateTask; type TaskFunction (line 9) | type TaskFunction = { type Entry (line 14) | type Entry = string | TaskFunction | GenerateTask | (string | GenerateTa... type LintStagedConfig (line 16) | type LintStagedConfig = Record | GenerateTask; FILE: packages/knip/src/plugins/linthtml/types.ts type LintHTMLConfig (line 1) | type LintHTMLConfig = { FILE: packages/knip/src/plugins/markdownlint/types.ts type MarkdownlintConfig (line 1) | type MarkdownlintConfig = { FILE: packages/knip/src/plugins/mdx/types.ts type MdxConfig (line 1) | type MdxConfig = { FILE: packages/knip/src/plugins/mdxlint/types.ts type MdxlintConfig (line 1) | type MdxlintConfig = { FILE: packages/knip/src/plugins/metro/index.ts constant DEFAULT_PLATFORMS (line 18) | const DEFAULT_PLATFORMS = ['ios', 'android', 'windows', 'web']; constant PLATFORMS (line 19) | const PLATFORMS = [...DEFAULT_PLATFORMS, 'native', 'default']; constant DEFAULT_EXTENSIONS (line 20) | const DEFAULT_EXTENSIONS = ['js', 'jsx', 'json', 'ts', 'tsx']; constant DEFAULT_TRANSFORMER_PACKAGE (line 21) | const DEFAULT_TRANSFORMER_PACKAGE = 'metro-transform-worker'; constant DEFAULT_MINIFIER_PACKAGE (line 22) | const DEFAULT_MINIFIER_PACKAGE = 'metro-minify-terser'; FILE: packages/knip/src/plugins/metro/types.ts type MetroConfig (line 3) | type MetroConfig = { FILE: packages/knip/src/plugins/mocha/types.ts type MochaConfig (line 1) | interface MochaConfig { FILE: packages/knip/src/plugins/moonrepo/types.ts type MoonConfiguration (line 1) | interface MoonConfiguration { FILE: packages/knip/src/plugins/msw/types.ts type MSWConfig (line 1) | interface MSWConfig { FILE: packages/knip/src/plugins/nano-staged/types.ts type Script (line 1) | type Script = string | string[]; type Entry (line 3) | type Entry = Script | ((api: { filenames: string[] }) => Script | Promis... type Config (line 5) | type Config = Record; type NanoStagedConfig (line 7) | type NanoStagedConfig = Config | (() => Config); FILE: packages/knip/src/plugins/nest/types.ts type NestConfig (line 1) | type NestConfig = { FILE: packages/knip/src/plugins/netlify/index.ts constant NETLIFY_FUNCTIONS_DIR (line 19) | const NETLIFY_FUNCTIONS_DIR = 'netlify/functions'; constant NETLIFY_FUNCTIONS_EXTS (line 20) | const NETLIFY_FUNCTIONS_EXTS = 'js,mjs,cjs,ts,mts,cts'; FILE: packages/knip/src/plugins/netlify/types.ts type NetlifyConfig (line 1) | type NetlifyConfig = { type FunctionsConfig (line 8) | type FunctionsConfig = { FILE: packages/knip/src/plugins/next-mdx/resolveFromAST.ts method CallExpression (line 13) | CallExpression(node) { FILE: packages/knip/src/plugins/nitro/types.ts type NitroConfig (line 1) | interface NitroConfig { FILE: packages/knip/src/plugins/npm-package-json-lint/types.ts type NpmPkgJsonLintConfig (line 1) | type NpmPkgJsonLintConfig = { FILE: packages/knip/src/plugins/nuxt/helpers.ts method Identifier (line 33) | Identifier(node) { method TSImportType (line 72) | TSImportType(node) { function buildAutoImportMap (line 81) | function buildAutoImportMap(filePath: string, result: ParseResult) { FILE: packages/knip/src/plugins/nuxt/types.ts type NuxtConfig (line 1) | interface NuxtConfig { type TemplateExpressionNode (line 23) | interface TemplateExpressionNode { type TemplateAstProp (line 28) | interface TemplateAstProp { type TemplateAstNode (line 34) | interface TemplateAstNode { type Descriptor (line 42) | interface Descriptor { type VueSfc (line 48) | type VueSfc = { parse: (source: string, path: string) => { descriptor: D... FILE: packages/knip/src/plugins/nx/types.ts type NxProjectConfiguration (line 1) | interface NxProjectConfiguration { type NxConfigRoot (line 20) | interface NxConfigRoot { FILE: packages/knip/src/plugins/nyc/types.ts type NycConfig (line 1) | type NycConfig = { FILE: packages/knip/src/plugins/oclif/types.ts type OclifConfig (line 1) | type OclifConfig = { FILE: packages/knip/src/plugins/parcel/types.ts type ParcelConfig (line 1) | type ParcelConfig = { FILE: packages/knip/src/plugins/payload/types.ts type PayloadConfig (line 1) | type PayloadConfig = Promise<{ FILE: packages/knip/src/plugins/playwright/types.ts type LiteralUnion (line 3) | type LiteralUnion = T | (U & { zz_IGNORE_ME?: n... type BlobReporterOptions (line 5) | type BlobReporterOptions = { outputDir?: string; fileName?: string }; type ListReporterOptions (line 6) | type ListReporterOptions = { printSteps?: boolean }; type JUnitReporterOptions (line 7) | type JUnitReporterOptions = { type JsonReporterOptions (line 12) | type JsonReporterOptions = { outputFile?: string }; type HtmlReporterOptions (line 13) | type HtmlReporterOptions = { type ReporterDescription (line 23) | type ReporterDescription = Readonly< type Project (line 42) | type Project = { type PlaywrightTestConfig (line 48) | type PlaywrightTestConfig = { FILE: packages/knip/src/plugins/pm2/types.ts type PM2Application (line 1) | type PM2Application = { type PM2Applications (line 5) | type PM2Applications = PM2Application | PM2Application[]; type PM2RootConfig (line 7) | type PM2RootConfig = PM2Application & { type PM2Config (line 11) | type PM2Config = PM2RootConfig | PM2Application[]; FILE: packages/knip/src/plugins/postcss/types.ts type PostCSSConfig (line 1) | type PostCSSConfig = { FILE: packages/knip/src/plugins/preconstruct/types.ts type PreconstructConfig (line 1) | type PreconstructConfig = { FILE: packages/knip/src/plugins/prettier/types.ts type PrettierConfig (line 1) | type PrettierConfig = { FILE: packages/knip/src/plugins/prisma/types.ts type PrismaConfig (line 1) | type PrismaConfig = { FILE: packages/knip/src/plugins/raycast/types.ts type RaycastManifestCommand (line 1) | type RaycastManifestCommand = { type RaycastManifestTool (line 5) | type RaycastManifestTool = { type RaycastManifest (line 9) | type RaycastManifest = { FILE: packages/knip/src/plugins/react-cosmos/types.ts type ReactCosmosConfig (line 1) | type ReactCosmosConfig = { FILE: packages/knip/src/plugins/react-native/index.ts constant RN_CLI_PACKAGES (line 16) | const RN_CLI_PACKAGES = [ FILE: packages/knip/src/plugins/react-native/types.ts type ReactNativeConfig (line 3) | type ReactNativeConfig = { FILE: packages/knip/src/plugins/react-router/types.ts type PluginConfig (line 1) | type PluginConfig = { type RouteConfigEntry (line 5) | interface RouteConfigEntry { FILE: packages/knip/src/plugins/relay/types.ts type RelayProject (line 1) | type RelayProject = { type RelayConfig (line 14) | type RelayConfig = FILE: packages/knip/src/plugins/release-it/types.ts type ReleaseItConfig (line 1) | type ReleaseItConfig = { FILE: packages/knip/src/plugins/remark/types.ts type RemarkConfig (line 1) | type RemarkConfig = { FILE: packages/knip/src/plugins/rsbuild/types.ts type EntryDescription (line 1) | type EntryDescription = Record; type Entry (line 3) | type Entry = Record; type SimpleGitHooksConfig (line 8) | type SimpleGitHooksConfig = Config | (() => Config); FILE: packages/knip/src/plugins/sst/resolveFromAST.ts method CallExpression (line 22) | CallExpression(node) { FILE: packages/knip/src/plugins/storybook/types.ts type Stories (line 1) | type Stories = (string | { directory: string; files?: string; titlePrefi... type StorybookConfig (line 3) | type StorybookConfig = { FILE: packages/knip/src/plugins/stryker/types.ts type StrykerConfig (line 1) | type StrykerConfig = { FILE: packages/knip/src/plugins/stylelint/types.ts type BaseStyleLintConfig (line 1) | interface BaseStyleLintConfig { type StyleLintConfig (line 7) | interface StyleLintConfig extends BaseStyleLintConfig { FILE: packages/knip/src/plugins/svgr/types.ts type SvgrConfig (line 1) | type SvgrConfig = { FILE: packages/knip/src/plugins/swc/types.ts type SWCConfig (line 1) | type SWCConfig = { FILE: packages/knip/src/plugins/tanstack-router/types.ts type TanStackRouterConfig (line 1) | interface TanStackRouterConfig { FILE: packages/knip/src/plugins/taskfile/types.ts type TaskfileCommand (line 2) | type TaskfileCommand = type TaskfileTask (line 13) | type TaskfileTask = type TaskfileInclude (line 23) | type TaskfileInclude = string | { taskfile: string; [key: string]: unkno... type TaskfileConfig (line 26) | type TaskfileConfig = { FILE: packages/knip/src/plugins/tsdown/types.ts type Entry (line 2) | type Entry = (string | Record)[] | string | R... type Options (line 4) | type Options = { type MaybePromise (line 8) | type MaybePromise = T | Promise; type TsdownConfig (line 10) | type TsdownConfig = Options | Options[] | ((overrideOptions: Options) =>... FILE: packages/knip/src/plugins/tsup/types.ts type Entry (line 1) | type Entry = string[] | Record; type Options (line 3) | type Options = { type MaybePromise (line 7) | type MaybePromise = T | Promise; type TsupConfig (line 9) | type TsupConfig = Options | Options[] | ((overrideOptions: Options) => M... FILE: packages/knip/src/plugins/typedoc/types.ts type TypeDocConfig (line 1) | type TypeDocConfig = { FILE: packages/knip/src/plugins/unbuild/types.ts type UnbuildConfigObject (line 1) | type UnbuildConfigObject = Partial<{ type UnbuildConfig (line 15) | type UnbuildConfig = UnbuildConfigObject | UnbuildConfigObject[]; FILE: packages/knip/src/plugins/vite/helpers.ts method CallExpression (line 25) | CallExpression(node) { FILE: packages/knip/src/plugins/vite/visitors/importMetaGlob.ts function createImportMetaGlobVisitor (line 7) | function createImportMetaGlobVisitor(ctx: PluginVisitorContext): PluginV... FILE: packages/knip/src/plugins/vitest/helpers.ts type KnownEnvironment (line 9) | type KnownEnvironment = 'node' | 'jsdom' | 'happy-dom' | 'edge-runtime'; FILE: packages/knip/src/plugins/vitest/types.ts type Alias (line 1) | interface Alias { type AliasOptions (line 7) | type AliasOptions = readonly Alias[] | { [find: string]: string }; type VitestConfig (line 9) | interface VitestConfig { type ViteConfig (line 27) | interface ViteConfig extends VitestConfig { type COMMAND (line 41) | type COMMAND = 'dev' | 'serve' | 'build'; type MODE (line 42) | type MODE = 'development' | 'production'; type Options (line 44) | interface Options { type ViteConfigOrFn (line 50) | type ViteConfigOrFn = type VitestWorkspaceConfig (line 55) | type VitestWorkspaceConfig = (string | ViteConfig)[]; FILE: packages/knip/src/plugins/vue/types.ts type VueConfig (line 3) | type VueConfig = { FILE: packages/knip/src/plugins/webdriver-io/types.ts type WebdriverIOConfig (line 3) | type WebdriverIOConfig = { FILE: packages/knip/src/plugins/webpack/types.ts type Mode (line 3) | type Mode = 'none' | 'development' | 'production'; type Env (line 4) | type Env = { production: boolean; mode: Mode }; type Argv (line 5) | type Argv = { mode: Mode }; type Configurations (line 8) | type Configurations = Configuration | Configuration[]; type WebpackConfig (line 10) | type WebpackConfig = FILE: packages/knip/src/plugins/webpack/visitors/requireContext.ts function createRequireContextVisitor (line 7) | function createRequireContextVisitor(ctx: PluginVisitorContext): PluginV... FILE: packages/knip/src/plugins/wireit/types.ts type WireitConfig (line 1) | type WireitConfig = Record; FILE: packages/knip/src/plugins/wrangler/types.ts type WranglerConfig (line 1) | type WranglerConfig = { FILE: packages/knip/src/plugins/xo/types.ts type XOConfig (line 3) | type XOConfig = ESLintConfigDeprecated & { FILE: packages/knip/src/plugins/yarn/index.ts type YarnConfig (line 20) | type YarnConfig = { FILE: packages/knip/src/plugins/zx/visitors/zx.ts function createZxVisitor (line 3) | function createZxVisitor(ctx: PluginVisitorContext): PluginVisitorObject { FILE: packages/knip/src/reporters/codeclimate.ts function convertSeverity (line 53) | function convertSeverity(severity?: IssueSeverity): codeclimate.Severity { function getIssueDescription (line 64) | function getIssueDescription({ type, symbol, symbols, parentSymbol }: Is... function getSymbolDescription (line 69) | function getSymbolDescription({ function createLocation (line 81) | function createLocation(filePath: string, cwd: string, line?: number, co... function createFingerprint (line 107) | function createFingerprint(filePath: string, cwd: string, message: strin... FILE: packages/knip/src/reporters/codeowners.ts type OwnedIssue (line 7) | type OwnedIssue = Issue & { owner: string }; type ExtraReporterOptions (line 9) | type ExtraReporterOptions = { FILE: packages/knip/src/reporters/json.ts type ExtraReporterOptions (line 8) | type ExtraReporterOptions = { type BaseItem (line 12) | interface BaseItem { type Item (line 16) | interface Item extends BaseItem { type BaseItems (line 23) | type BaseItems = Array; type Items (line 24) | type Items = Array; type Row (line 26) | type Row = { FILE: packages/knip/src/reporters/trace.ts type TraceReporterOptions (line 12) | interface TraceReporterOptions { FILE: packages/knip/src/reporters/util/configuration-hints.ts type PrintHintOptions (line 8) | interface PrintHintOptions { type TableRow (line 17) | type TableRow = ConfigurationHint & { message: string }; type ProcessedHint (line 96) | interface ProcessedHint extends ConfigurationHint { FILE: packages/knip/src/reporters/util/util.ts type LogIssueLine (line 20) | type LogIssueLine = { FILE: packages/knip/src/reporters/watch.ts type WatchReporter (line 10) | interface WatchReporter { FILE: packages/knip/src/run.ts type Results (line 17) | type Results = Awaited>['results']; FILE: packages/knip/src/schema/configuration.ts type SyncCompiler (line 7) | type SyncCompiler = (filename: string, contents: string) => string; type AsyncCompiler (line 8) | type AsyncCompiler = (filename: string, contents: string) => Promise>; type Cycle (line 42) | type Cycle = string[]; type ReExportKind (line 44) | type ReExportKind = (typeof RE_EXPORT_KIND)[keyof typeof RE_EXPORT_KIND]; FILE: packages/knip/src/types/PluginNames.ts type PluginName (line 2) | type PluginName = FILE: packages/knip/src/types/args.ts type ConfigArg (line 4) | type ConfigArg = boolean | (string | [string, (id: string) => string])[]; type Args (line 6) | type Args = { FILE: packages/knip/src/types/config.ts type GetInputsFromScriptsOptions (line 14) | interface GetInputsFromScriptsOptions extends BaseOptions { type GetInputsFromScripts (line 19) | type GetInputsFromScripts = ( type GetInputsFromScriptsPartial (line 24) | type GetInputsFromScriptsPartial = ( type FromArgs (line 29) | type FromArgs = (args: string[], options?: Partial; type RawConfigurationOrFn (line 39) | type RawConfigurationOrFn = type RawPluginConfiguration (line 43) | type RawPluginConfiguration = z.infer; type WorkspaceProjectConfig (line 45) | type WorkspaceProjectConfig = z.infer; type IgnorePatterns (line 47) | type IgnorePatterns = (string | RegExp)[]; type IgnorableExport (line 49) | type IgnorableExport = Exclude; type IgnoreExportsUsedInFile (line 51) | type IgnoreExportsUsedInFile = boolean | Partial; type GetImportsAndExportsOptions (line 55) | type GetImportsAndExportsOptions = { type Configuration (line 63) | interface Configuration { type NormalizedGlob (line 79) | type NormalizedGlob = string[]; type EnsuredPluginConfiguration (line 81) | type EnsuredPluginConfiguration = { type BaseWorkspaceConfiguration (line 87) | interface BaseWorkspaceConfiguration { type PluginConfiguration (line 96) | type PluginConfiguration = EnsuredPluginConfiguration | boolean; type PluginsConfiguration (line 98) | type PluginsConfiguration = Record; type WorkspaceConfiguration (line 100) | interface WorkspaceConfiguration extends BaseWorkspaceConfiguration, Par... type BaseOptions (line 102) | interface BaseOptions { type IsPluginEnabledOptions (line 109) | type IsPluginEnabledOptions = { type IsPluginEnabled (line 116) | type IsPluginEnabled = (options: IsPluginEnabledOptions) => boolean | Pr... type PluginOptions (line 118) | interface PluginOptions extends BaseOptions { type PluginSetup (line 129) | type PluginSetup = () => Promise | void; type IsLoadConfig (line 131) | type IsLoadConfig = (options: PluginOptions, dependencies: Set) ... type ResolveConfig (line 133) | type ResolveConfig = (config: T, options: PluginOptions) => Pro... type Resolve (line 135) | type Resolve = (options: PluginOptions) => Promise | Input[]; type HandleInput (line 137) | type HandleInput = (input: Input) => string | undefined; type RegisterCompilerInput (line 139) | type RegisterCompilerInput = { type RegisterCompiler (line 144) | type RegisterCompiler = (input: RegisterCompilerInput) => void; type ResolveFromAST (line 146) | type ResolveFromAST = ( type RegisterCompilersOptions (line 153) | type RegisterCompilersOptions = { type RegisterCompilers (line 160) | type RegisterCompilers = (options: RegisterCompilersOptions) => Promise<... type PluginVisitorContext (line 162) | type PluginVisitorContext = { type PluginVisitorObject (line 169) | type PluginVisitorObject = VisitorObject; type RegisterVisitorsOptions (line 171) | type RegisterVisitorsOptions = { type RegisterVisitors (line 177) | type RegisterVisitors = (options: RegisterVisitorsOptions) => void; type Plugin (line 179) | interface Plugin { type PluginMap (line 200) | type PluginMap = Record; type Entries (line 202) | type Entries = [PluginName, Plugin][]; FILE: packages/knip/src/types/entries.ts type Entries (line 1) | type Entries = Array<{ [K in keyof T]: [K, T[K]] }[keyof T]>; FILE: packages/knip/src/types/exports.ts type ExportPosTuple (line 1) | type ExportPosTuple = [number, number, number]; type Fix (line 2) | type Fix = ExportPosTuple | undefined; type Fixes (line 3) | type Fixes = Array; FILE: packages/knip/src/types/issues.ts type SymbolType (line 4) | type SymbolType = (typeof SYMBOL_TYPE)[keyof typeof SYMBOL_TYPE]; type IssueSymbol (line 6) | interface IssueSymbol { type Issue (line 13) | interface Issue { type IssueRecords (line 30) | type IssueRecords = Record>; type Issues (line 32) | type Issues = { type IssueType (line 50) | type IssueType = keyof Issues; type Report (line 52) | type Report = { type Counters (line 56) | type Counters = Record; type ReporterOptions (line 58) | type ReporterOptions = { type Reporter (line 78) | type Reporter = (options: ReporterOptions) => void; type Preprocessor (line 80) | type Preprocessor = (options: ReporterOptions) => ReporterOptions; type IssueSeverity (line 82) | type IssueSeverity = 'error' | 'warn' | 'off'; type Rules (line 84) | type Rules = Record; type ConfigurationHints (line 86) | type ConfigurationHints = Map; type ConfigurationHintType (line 88) | type ConfigurationHintType = type ConfigurationHint (line 105) | type ConfigurationHint = { type TagHints (line 113) | type TagHints = Set; type TagHint (line 115) | type TagHint = { FILE: packages/knip/src/types/module-graph.ts type Identifier (line 4) | type Identifier = string; type FilePath (line 5) | type FilePath = string; type NamespaceOrAlias (line 6) | type NamespaceOrAlias = string; type Reference (line 8) | type Reference = string; type References (line 9) | type References = Set; type Tags (line 11) | type Tags = Set; type Position (line 13) | interface Position { type IdToFileMap (line 19) | type IdToFileMap = Map>; type IdToNsToFileMap (line 20) | type IdToNsToFileMap = Map; type Import (line 41) | interface Import extends Position { type ExternalRef (line 48) | interface ExternalRef { type Export (line 53) | interface Export extends Position { type ExportMember (line 64) | interface ExportMember extends Position { type ExportMap (line 73) | type ExportMap = Map; type Imports (line 75) | type Imports = Set; type FileNode (line 77) | type FileNode = { type ModuleGraph (line 95) | type ModuleGraph = Map; FILE: packages/knip/src/types/options.ts type Options (line 1) | interface Options { type Tags (line 29) | type Tags = [string[], string[]]; FILE: packages/knip/src/types/package-json.ts type Primitive (line 3) | type Primitive = null | undefined | string | number | boolean | symbol |... type LiteralUnion (line 5) | type LiteralUnion = LiteralType... type Dependencies (line 7) | type Dependencies = Record; type C (line 9) | type C = 'import' | 'require' | 'node' | 'node-addons' | 'deno' | 'brows... type ExportCondition (line 10) | type ExportCondition = LiteralUnion; type Exports (line 11) | type Exports = null | string | string[] | { [key in ExportCondition]: Ex... type Imports (line 13) | type Imports = { type PackageJsonPath (line 17) | type PackageJsonPath = T extends { packageJsonPath: infer P } ? (P ex... type WithPackageJsonPathAsKey (line 19) | type WithPackageJsonPathAsKey = { type PluginConfig (line 23) | type PluginConfig

= { type Plugins (line 27) | type Plugins = PluginConfig; type Scripts (line 29) | type Scripts = Record; type Catalog (line 31) | type Catalog = Record; type Catalogs (line 32) | type Catalogs = Record; type PackageJson (line 34) | type PackageJson = { type WorkspacePackage (line 62) | type WorkspacePackage = { FILE: packages/knip/src/types/project.ts type Paths (line 1) | type Paths = Record | undefined; type CompilerOptions (line 3) | interface CompilerOptions { FILE: packages/knip/src/types/tsconfig-json.ts type TsConfigJson (line 1) | interface TsConfigJson { FILE: packages/knip/src/types/workspace.ts type DependencySet (line 1) | type DependencySet = Set; type DependencyArray (line 2) | type DependencyArray = Array; type WorkspaceManifest (line 4) | type WorkspaceManifest = { type WorkspaceManifests (line 22) | type WorkspaceManifests = Map; type HostDependencies (line 24) | type HostDependencies = Map>; FILE: packages/knip/src/typescript/SourceFileManager.ts type SourceFileManagerOptions (line 7) | interface SourceFileManagerOptions { class SourceFileManager (line 11) | class SourceFileManager { method constructor (line 16) | constructor({ compilers }: SourceFileManagerOptions) { method readFile (line 21) | readFile(filePath: string): string { method invalidate (line 41) | invalidate(filePath: string) { method compileAndAddSourceFile (line 45) | async compileAndAddSourceFile(filePath: string) { method readRawFile (line 57) | private readRawFile(filePath: string): string | undefined { FILE: packages/knip/src/typescript/ast-helpers.ts method ObjectExpression (line 78) | ObjectExpression(node) { method CallExpression (line 90) | CallExpression(node) { method Literal (line 173) | Literal(node: any) { FILE: packages/knip/src/typescript/follow-imports.ts method CallExpression (line 7) | CallExpression(node) { method TSImportEqualsDeclaration (line 23) | TSImportEqualsDeclaration(node) { function extractSpecifiers (line 33) | function extractSpecifiers(result: ParseResult, sourceText: string, file... FILE: packages/knip/src/typescript/get-imports-and-exports.ts type AddInternalImportOptions (line 31) | interface AddInternalImportOptions { FILE: packages/knip/src/typescript/resolve-module-names.ts function createCustomModuleResolver (line 11) | function createCustomModuleResolver( FILE: packages/knip/src/typescript/visitors/calls.ts function handleCallExpression (line 7) | function handleCallExpression(node: CallExpression, s: WalkState) { function handleNewExpression (line 140) | function handleNewExpression(node: NewExpression, s: WalkState) { FILE: packages/knip/src/typescript/visitors/exports.ts function handleExportNamed (line 26) | function handleExportNamed(node: ExportNamedDeclaration, s: WalkState) { function handleExportDefault (line 228) | function handleExportDefault(node: ExportDefaultDeclaration, s: WalkStat... function handleExportAssignment (line 291) | function handleExportAssignment(node: TSExportAssignment, s: WalkState) { function handleExpressionStatement (line 311) | function handleExpressionStatement(node: ExpressionStatement, s: WalkSta... FILE: packages/knip/src/typescript/visitors/helpers.ts type ResolveModule (line 26) | type ResolveModule = (specifier: string, containingFile: string) => Reso... type ResolvedModule (line 28) | interface ResolvedModule { function extractNamespaceMembers (line 78) | function extractNamespaceMembers( function extractEnumMembers (line 128) | function extractEnumMembers( FILE: packages/knip/src/typescript/visitors/imports.ts function handleVariableDeclarator (line 8) | function handleVariableDeclarator(node: VariableDeclarator, s: WalkState) { function handleImportExpression (line 291) | function handleImportExpression(node: ImportExpression, s: WalkState) { FILE: packages/knip/src/typescript/visitors/jsdoc.ts constant EMPTY_TAGS (line 3) | const EMPTY_TAGS: Set = new Set(); function buildJSDocTagLookup (line 5) | function buildJSDocTagLookup(comments: Comment[], sourceText: string) { FILE: packages/knip/src/typescript/visitors/local-refs.ts method ClassDeclaration (line 13) | ClassDeclaration(node) { method TSInterfaceDeclaration (line 19) | TSInterfaceDeclaration(node) { method Property (line 24) | Property(node) { method ReturnStatement (line 27) | ReturnStatement(node) { method AssignmentExpression (line 30) | AssignmentExpression(node) { method SpreadElement (line 33) | SpreadElement(node) { method ConditionalExpression (line 36) | ConditionalExpression(node) { method ArrayExpression (line 41) | ArrayExpression(node) { method TemplateLiteral (line 46) | TemplateLiteral(node) { method BinaryExpression (line 51) | BinaryExpression(node) { method LogicalExpression (line 55) | LogicalExpression(node) { method UnaryExpression (line 59) | UnaryExpression(node) { method SwitchStatement (line 62) | SwitchStatement(node) { method IfStatement (line 68) | IfStatement(node) { method ThrowStatement (line 71) | ThrowStatement(node) { method WhileStatement (line 74) | WhileStatement(node) { method DoWhileStatement (line 77) | DoWhileStatement(node) { method YieldExpression (line 80) | YieldExpression(node) { method AwaitExpression (line 83) | AwaitExpression(node) { method ArrowFunctionExpression (line 86) | ArrowFunctionExpression(node) { method AssignmentPattern (line 89) | AssignmentPattern(node) { method SequenceExpression (line 92) | SequenceExpression(node) { method TSAsExpression (line 97) | TSAsExpression(node) { method TSSatisfiesExpression (line 100) | TSSatisfiesExpression(node) { method TSNonNullExpression (line 103) | TSNonNullExpression(node) { method TSTypeAssertion (line 106) | TSTypeAssertion(node) { method ParenthesizedExpression (line 109) | ParenthesizedExpression(node) { method PropertyDefinition (line 112) | PropertyDefinition(node) { method ForInStatement (line 115) | ForInStatement(node) { method ForOfStatement (line 118) | ForOfStatement(node) { method JSXOpeningElement (line 121) | JSXOpeningElement(node) { method JSXExpressionContainer (line 127) | JSXExpressionContainer(node) { method VariableDeclarator (line 130) | VariableDeclarator(node) { method ExpressionStatement (line 133) | ExpressionStatement(node) { method CallExpression (line 136) | CallExpression(node) { method NewExpression (line 142) | NewExpression(node) { method MemberExpression (line 148) | MemberExpression(node) { method TaggedTemplateExpression (line 152) | TaggedTemplateExpression(node) { method TSQualifiedName (line 155) | TSQualifiedName(node) { method TSTypeReference (line 175) | TSTypeReference(node) { method TSTypeQuery (line 181) | TSTypeQuery(node) { function collectLocalRefs (line 189) | function collectLocalRefs( FILE: packages/knip/src/typescript/visitors/members.ts function handleMemberExpression (line 7) | function handleMemberExpression(node: MemberExpression, s: WalkState) { function handleJSXMemberExpression (line 171) | function handleJSXMemberExpression(node: JSXMemberExpression, s: WalkSta... FILE: packages/knip/src/typescript/visitors/script-visitors.ts function createBunShellVisitor (line 3) | function createBunShellVisitor(ctx: PluginVisitorContext): PluginVisitor... FILE: packages/knip/src/typescript/visitors/walk.ts type WalkContext (line 22) | interface WalkContext { type WalkState (line 60) | interface WalkState extends WalkContext { method TSModuleDeclaration (line 169) | TSModuleDeclaration(node) { method ClassDeclaration (line 172) | ClassDeclaration(node) { method FunctionDeclaration (line 175) | FunctionDeclaration(node) { method VariableDeclaration (line 178) | VariableDeclaration(node) { method TSEnumDeclaration (line 184) | TSEnumDeclaration(node) { method ExportNamedDeclaration (line 187) | ExportNamedDeclaration(node) { method ExportDefaultDeclaration (line 190) | ExportDefaultDeclaration(node) { method TSExportAssignment (line 193) | TSExportAssignment(node) { method ExpressionStatement (line 196) | ExpressionStatement(node) { method VariableDeclarator (line 199) | VariableDeclarator(node) { method ImportExpression (line 202) | ImportExpression(node) { method CallExpression (line 205) | CallExpression(node) { method NewExpression (line 208) | NewExpression(node) { method MemberExpression (line 211) | MemberExpression(node) { method JSXMemberExpression (line 214) | JSXMemberExpression(node) { method ForInStatement (line 217) | ForInStatement(node) { method ForOfStatement (line 226) | ForOfStatement(node) { method TSQualifiedName (line 235) | TSQualifiedName(node) { method TSTypeReference (line 272) | TSTypeReference(node) { method TSTypeQuery (line 282) | TSTypeQuery(node) { method TSImportType (line 292) | TSImportType(node) { method TSImportEqualsDeclaration (line 300) | TSImportEqualsDeclaration(node) { function buildVisitor (line 333) | function buildVisitor(pluginVisitorObjects: PluginVisitorObject[]): Visi... function walkAST (line 367) | function walkAST(program: Program, sourceText: string, filePath: string,... FILE: packages/knip/src/util/Performance.ts type MemInfo (line 28) | type MemInfo = { type MemoryEntry (line 35) | interface MemoryEntry extends PerformanceEntry { class Performance (line 55) | class Performance { method constructor (line 68) | constructor({ isTimerifyFunctions = false, isMemoryUsageEnabled = fals... method setMark (line 100) | private setMark(name: string) { method clearMark (line 105) | private clearMark(name: string) { method flush (line 113) | private async flush() { method getPerfEntriesByName (line 119) | private getPerfEntriesByName() { method getTimerifiedFunctionsTable (line 131) | getTimerifiedFunctionsTable() { method addMemoryMark (line 150) | addMemoryMark(label: string) { method getMemoryUsageTable (line 158) | getMemoryUsageTable() { method getCurrentDurationInMs (line 184) | getCurrentDurationInMs() { method getMemHeapUsage (line 188) | getMemHeapUsage() { method getCurrentMemUsageInMb (line 192) | getCurrentMemUsageInMb() { method finalize (line 196) | public async finalize() { method reset (line 202) | public reset() { FILE: packages/knip/src/util/array.ts type Collection (line 1) | type Collection = Array | Set; FILE: packages/knip/src/util/catalog.ts constant DEFAULT_CATALOG (line 7) | const DEFAULT_CATALOG = 'default'; FILE: packages/knip/src/util/cli-arguments.ts type ParsedCLIArgs (line 80) | type ParsedCLIArgs = ReturnType; function parseCLIArgs (line 82) | function parseCLIArgs() { FILE: packages/knip/src/util/codeowners.ts function parseCodeowners (line 7) | function parseCodeowners(content: string) { function createOwnershipEngine (line 27) | function createOwnershipEngine(filePath: string) { FILE: packages/knip/src/util/create-input-handler.ts type ExternalRefsFromInputs (line 22) | type ExternalRefsFromInputs = Map>; FILE: packages/knip/src/util/create-options.ts type CreateOptions (line 21) | interface CreateOptions extends Partial { type MainOptions (line 199) | type MainOptions = Awaited>; FILE: packages/knip/src/util/create-workspace-graph.ts type WorkspaceGraph (line 4) | type WorkspaceGraph = Map>; function createWorkspaceGraph (line 8) | function createWorkspaceGraph( FILE: packages/knip/src/util/debug.ts constant IS_DEBUG_ENABLED (line 7) | const IS_DEBUG_ENABLED = values.debug ?? false; constant IS_COLORS (line 9) | const IS_COLORS = !process.env.NO_COLOR; FILE: packages/knip/src/util/errors.ts type ErrorWithCause (line 5) | interface ErrorWithCause extends Error { class ConfigurationError (line 9) | class ConfigurationError extends Error {} class LoaderError (line 11) | class LoaderError extends Error {} FILE: packages/knip/src/util/file-entry-cache.ts type MetaData (line 15) | type MetaData = { size: number; mtime: number; data?: T }; type FileDescriptor (line 17) | type FileDescriptor = { class FileEntryCache (line 35) | class FileEntryCache { method constructor (line 40) | constructor(cacheId: string, _path: string) { method removeNotFoundFiles (line 46) | removeNotFoundFiles() { method getFileDescriptor (line 57) | getFileDescriptor(filePath: string): FileDescriptor { method _getFileDescriptorUsingMtimeAndSize (line 71) | _getFileDescriptorUsingMtimeAndSize(filePath: string, fstat: fs.Stats) { method removeEntry (line 99) | removeEntry(entryName: string) { method _getMetaForFileUsingMtimeAndSize (line 105) | _getMetaForFileUsingMtimeAndSize(cacheEntry: FileDescriptor) { method reconcile (line 114) | reconcile() { FILE: packages/knip/src/util/get-included-issue-types.ts type GetIncludedIssueTypesOptions (line 5) | type GetIncludedIssueTypesOptions = { FILE: packages/knip/src/util/glob-core.ts type Options (line 16) | type Options = { gitignore: boolean; cwd: string }; type GlobOptions (line 18) | interface GlobOptions extends FastGlobOptions { type Gitignores (line 25) | type Gitignores = { ignores: Set; unignores: Set }; function glob (line 208) | async function glob(_patterns: string[], options: GlobOptions): Promise<... function getGitIgnoredHandler (line 254) | async function getGitIgnoredHandler( FILE: packages/knip/src/util/glob.ts type GlobOptions (line 7) | interface GlobOptions { FILE: packages/knip/src/util/graph-sequencer.ts type Graph (line 6) | type Graph = Map>; type Groups (line 7) | type Groups = T[][]; type Result (line 9) | interface Result { function graphSequencer (line 22) | function graphSequencer(graph: Graph, includedNodes: T[] = [...gra... FILE: packages/knip/src/util/input.ts type InputType (line 5) | type InputType = type Input (line 16) | interface Input { type ConfigInput (line 28) | interface ConfigInput extends Input { type AliasInput (line 34) | interface AliasInput extends Input { type IgnoreInput (line 39) | interface IgnoreInput extends Input { type Options (line 44) | type Options = { FILE: packages/knip/src/util/load-config.ts function loadResolvedConfigFile (line 18) | async function loadResolvedConfigFile(configPath: string, options: Parse... FILE: packages/knip/src/util/load-tsconfig.ts constant DEFAULT_INCLUDE (line 24) | const DEFAULT_INCLUDE = ['**/*']; constant TS_EXTENSIONS (line 26) | const TS_EXTENSIONS = new Set(['.ts', '.tsx', '.mts', '.cts', '.js', '.j... FILE: packages/knip/src/util/map-workspaces.ts type Packages (line 9) | type Packages = Map; type WorkspacePkgNames (line 10) | type WorkspacePkgNames = Set; function mapWorkspaces (line 12) | async function mapWorkspaces(cwd: string, workspaces: string[]): Promise... FILE: packages/knip/src/util/math.ts function getStats (line 1) | function getStats(values: number[]) { FILE: packages/knip/src/util/modules.ts constant CHAR_EXCLAMATION (line 67) | const CHAR_EXCLAMATION = 33; constant CHAR_DASH (line 68) | const CHAR_DASH = 45; constant CHAR_SLASH (line 69) | const CHAR_SLASH = 47; constant CHAR_COLON (line 70) | const CHAR_COLON = 58; constant CHAR_HASH (line 71) | const CHAR_HASH = 35; constant CHAR_QUESTION (line 72) | const CHAR_QUESTION = 63; FILE: packages/knip/src/util/package-json.ts constant INDENT (line 5) | const INDENT = Symbol.for('indent'); constant NEWLINE (line 6) | const NEWLINE = Symbol.for('newline'); constant DEFAULT_NEWLINE (line 7) | const DEFAULT_NEWLINE = '\n'; constant DEFAULT_INDENT (line 8) | const DEFAULT_INDENT = ' '; constant BOM (line 9) | const BOM = /^\uFEFF/; constant FORMAT (line 10) | const FORMAT = /^\s*[{[]((?:\r?\n)+)([\s\t]*)/; constant EMPTY (line 11) | const EMPTY = /^(?:\{\}|\[\])((?:\r?\n)+)?$/; type ExtendedPackageJson (line 13) | interface ExtendedPackageJson extends PackageJson { FILE: packages/knip/src/util/package-name.ts function getPackageName (line 8) | function getPackageName(pkg: PackageJson, pathname: string) { FILE: packages/knip/src/util/remove-export.ts type FixerOptions (line 3) | interface FixerOptions { FILE: packages/knip/src/util/resolve.ts function convertPathsToAlias (line 50) | function convertPathsToAlias(paths: Record | undefined... function clearResolverCache (line 76) | function clearResolverCache() { FILE: packages/knip/src/util/string.ts constant CONTROL_CHARACTERS (line 4) | const CONTROL_CHARACTERS = /\u001b\[[0-9;]+m/g; constant ELLIPSIS (line 5) | const ELLIPSIS = '…'; FILE: packages/knip/src/util/table.ts type Value (line 4) | type Value = string | number | undefined | false | null; type Align (line 5) | type Align = 'left' | 'center' | 'right'; type Row (line 6) | type Row = Record; type Cell (line 7) | type Cell = { value: Value; formatted?: string; fill?: string; align?: A... constant DEFAULT_MAX_WIDTH (line 9) | const DEFAULT_MAX_WIDTH = process.stdout.columns || 120; constant MIN_TRUNCATED_WIDTH (line 10) | const MIN_TRUNCATED_WIDTH = 4; constant COLUMN_SEPARATOR (line 11) | const COLUMN_SEPARATOR = ' '; class Table (line 13) | class Table { method constructor (line 21) | constructor(options?: { maxWidth?: number; header?: boolean; truncateS... method row (line 28) | row() { method cell (line 33) | cell(column: string, value: Value, formatter?: (value: Value) => strin... method sort (line 42) | sort(column: string) { method toCells (line 54) | toCells() { method toRows (line 119) | toRows() { method toString (line 123) | toString() { FILE: packages/knip/src/util/to-source-path.ts type ToSourceFilePath (line 66) | type ToSourceFilePath = ReturnType; FILE: packages/knip/src/util/watch.ts type OnFileChange (line 16) | type OnFileChange = (options: { issues: Issues; duration?: number; mem?:... type WatchChange (line 18) | type WatchChange = { type SessionHandler (line 23) | type SessionHandler = Awaited>; type WatchOptions (line 25) | type WatchOptions = { FILE: packages/knip/src/util/workspace-file-filter.ts type WorkspaceFilePathFilter (line 4) | type WorkspaceFilePathFilter = (filePath: string) => boolean; FILE: packages/knip/src/util/workspace-selectors.ts type WorkspaceSelectorType (line 8) | type WorkspaceSelectorType = 'pkg-name' | 'dir-path' | 'dir-glob'; type ParsedSelector (line 10) | interface ParsedSelector { function parseWorkspaceSelector (line 20) | function parseWorkspaceSelector(token: string, cwd: string): ParsedSelec... function matchWorkspacesByPkgName (line 68) | function matchWorkspacesByPkgName( function matchWorkspacesByDirGlob (line 85) | function matchWorkspacesByDirGlob(pattern: string, availableWorkspaceNam... function selectWorkspaces (line 93) | function selectWorkspaces( FILE: packages/knip/test/graph-explorer/walk-up.test.ts type ReExportKind (line 10) | type ReExportKind = (typeof RE_EXPORT_KIND)[keyof typeof RE_EXPORT_KIND]; FILE: packages/knip/test/helpers/assertAndRemoveProperty.ts function assertAndRemoveProperty (line 4) | function assertAndRemoveProperty; type IssuesByUri (line 49) | type IssuesByUri = Map; FILE: packages/mcp-server/src/cli.js function disconnect (line 5) | function disconnect() { FILE: packages/mcp-server/src/curated-resources.js constant CURATED_RESOURCES (line 1) | const CURATED_RESOURCES = { FILE: packages/mcp-server/src/server.js constant DOCS (line 21) | const DOCS = 'knip://docs'; class MCP (line 23) | class MCP { method constructor (line 24) | constructor() { method #registerPrompts (line 31) | #registerPrompts() { method #registerResources (line 59) | #registerResources() { method #registerTools (line 83) | #registerTools() { method connect (line 118) | connect(transport) { method close (line 122) | close() { FILE: packages/mcp-server/src/texts.js constant WORKFLOW (line 3) | const WORKFLOW = `Workflow: constant RUN_KNIP_TOOL_DESCRIPTION (line 24) | const RUN_KNIP_TOOL_DESCRIPTION = `Run Knip and return configuration hin... constant DOC_TOOL_DESCRIPTION (line 37) | const DOC_TOOL_DESCRIPTION = `Get Knip documentation by topic. constant DOC_TOOL_TOPIC_DESCRIPTION (line 50) | const DOC_TOOL_TOPIC_DESCRIPTION = constant ERROR_HINT (line 53) | const ERROR_HINT = `For unexpected errors (exit code 2) such as "error l... constant CONFIG_REVIEW_HINT (line 59) | const CONFIG_REVIEW_HINT = `Review the existing configuration for potent... FILE: packages/mcp-server/src/tools.js function getErrorMessage (line 14) | function getErrorMessage(error) { function buildResults (line 32) | function buildResults(results, options) { function getResults (line 48) | async function getResults(cwd) { function readContent (line 55) | function readContent(filePath) { function getDocs (line 68) | function getDocs(topic) { function findDocPage (line 75) | function findDocPage(topic) { FILE: packages/vscode-knip/src/collect-dependency-hover-snippets.js function collectDependencySnippets (line 7) | async function collectDependencySnippets(imports) { FILE: packages/vscode-knip/src/collect-export-hover-snippets.js function collectExportHoverSnippets (line 18) | async function collectExportHoverSnippets(identifier, locations, options... FILE: packages/vscode-knip/src/index.js class Extension (line 37) | class Extension { method constructor (line 65) | constructor(context) { method create (line 74) | static create(context) { method init (line 79) | async init() { method stop (line 96) | async stop() { method #getClientForUri (line 104) | #getClientForUri(uri) { method #getActiveClient (line 113) | #getActiveClient() { method #startClients (line 119) | async #startClients() { method #startClientForFolder (line 134) | async #startClientForFolder(folder) { method #stopClientForFolder (line 182) | async #stopClientForFolder(folder) { method #stopClients (line 198) | async #stopClients() { method #updateToolsClient (line 212) | #updateToolsClient() { method #logManagedWorkspaces (line 217) | #logManagedWorkspaces() { method #detectPackageManager (line 228) | #detectPackageManager(startDir) { method #registerCommands (line 258) | #registerCommands() { method #requestFileDescriptor (line 325) | async #requestFileDescriptor(document) { method #registerHoverProvider (line 332) | #registerHoverProvider() { method #registerCodeLensProvider (line 348) | #registerCodeLensProvider() { method #provideCodeLenses (line 361) | async #provideCodeLenses(document, _token) { method #refresh (line 388) | async #refresh(editor) { method #getFileForTreeViews (line 407) | async #getFileForTreeViews(editor) { method #getHoverContent (line 442) | async #getHoverContent(document, position) { method #getDependencyHoverContent (line 500) | async #getDependencyHoverContent(document, position, root, client) { method #findDependencyAtPosition (line 532) | #findDependencyAtPosition(document, position) { method #findExportAtPosition (line 588) | #findExportAtPosition(file, position) { method #hasKnipConfig (line 603) | async #hasKnipConfig(folder) { method #setupTreeViews (line 619) | #setupTreeViews() { method #setupEventHandlers (line 687) | #setupEventHandlers() { function activate (line 740) | async function activate(context) { function deactivate (line 745) | async function deactivate() { FILE: packages/vscode-knip/src/render-dependency-hover.js constant MAX_TOTAL_SNIPPETS (line 22) | const MAX_TOTAL_SNIPPETS = 30; constant MAX_SNIPPETS_PER_FILE (line 23) | const MAX_SNIPPETS_PER_FILE = 3; function renderDependencyHover (line 31) | function renderDependencyHover(usage, root, snippets) { FILE: packages/vscode-knip/src/render-export-hover.js function renderExportHover (line 25) | function renderExportHover(_export, root, snippets, maxSnippets) { function renderExportHoverEntryPaths (line 101) | function renderExportHoverEntryPaths(_export, filePath, root) { FILE: packages/vscode-knip/src/tools.js function setLanguageClient (line 22) | function setLanguageClient(client) { function setOutputChannel (line 29) | function setOutputChannel(channel) { function findKnipConfig (line 36) | function findKnipConfig(cwd) { class KnipDocsTool (line 44) | class KnipDocsTool { method invoke (line 50) | async invoke(options, _token) { class KnipConfigureTool (line 58) | class KnipConfigureTool { method invoke (line 64) | async invoke(options, _token) { function registerKnipTools (line 95) | function registerKnipTools(context) { FILE: packages/vscode-knip/src/tree-view-base.js class BaseTreeViewProvider (line 27) | class BaseTreeViewProvider { method constructor (line 28) | constructor() { method setTreeView (line 47) | setTreeView(treeView) { method getTreeItem (line 55) | getTreeItem(element) { method refresh (line 63) | async refresh(data, position) { method updatePosition (line 92) | updatePosition(position) { method createMessageItem (line 110) | createMessageItem(label, tooltip) { method clear (line 119) | clear(message) { method revealItemAtCursor (line 130) | async revealItemAtCursor(position) { method getChildren (line 153) | getChildren(element) { method getParent (line 185) | getParent(element) { method getManifestItems (line 190) | getManifestItems() { method getFileItems (line 198) | getFileItems(_file) { method createTreeViewItems (line 220) | createTreeViewItems(options) { method createTreeViewItem (line 292) | createTreeViewItem(options) { FILE: packages/vscode-knip/src/tree-view-exports.js constant CONTENTION_ICONS (line 3) | const CONTENTION_ICONS = { constant CONTENTION_TOOLTIPS (line 10) | const CONTENTION_TOOLTIPS = { class ExportsTreeViewProvider (line 18) | class ExportsTreeViewProvider extends BaseTreeViewProvider { method getFileItems (line 20) | getFileItems(fileNode) { method createExportNode (line 32) | createExportNode(_export, isDeferChildren, contention) { method createContentionDescriptors (line 70) | createContentionDescriptors(contentionDetails) { method getManifestItems (line 89) | getManifestItems() { FILE: packages/vscode-knip/src/tree-view-imports.js class ImportsTreeViewProvider (line 8) | class ImportsTreeViewProvider extends BaseTreeViewProvider { method getFileItems (line 10) | getFileItems(fileNode) { method getManifestItems (line 37) | getManifestItems(manifest = this.manifest) { FILE: packages/vscode-knip/test/extension.test.mjs function extensionActivates (line 4) | async function extensionActivates() { function knipRestartCommandExists (line 11) | async function knipRestartCommandExists() { FILE: packages/vscode-knip/test/index.mjs function run (line 7) | async function run() { FILE: packages/vscode-knip/test/run.mjs function main (line 7) | async function main() { FILE: templates/demo/monorepo/packages/shared/src/numbers.ts constant ONE (line 1) | const ONE = 1; constant TWO (line 2) | const TWO = 2; constant THREE (line 6) | const THREE = ONE + TWO; type NUMBERS (line 8) | enum NUMBERS { FILE: templates/language-server-client/packages/client/src/index.ts constant FRUITS (line 14) | const FRUITS = [APPLE, BANANA, CHERRY]; FILE: templates/language-server-client/packages/server/src/branch-definition.ts constant DIAMOND (line 1) | const DIAMOND = 1; FILE: templates/language-server-client/packages/server/src/conflict-1.ts constant CONFLICT (line 1) | const CONFLICT = 1; FILE: templates/language-server-client/packages/server/src/conflict-2.ts constant CONFLICT (line 1) | const CONFLICT = 2; FILE: templates/language-server-client/packages/server/src/conflict-3.ts constant CONFLICT (line 1) | const CONFLICT = 3; FILE: templates/language-server-client/packages/server/src/overload-1.ts constant OVERLOAD (line 1) | const OVERLOAD = 1; FILE: templates/language-server-client/packages/server/src/overload-2.ts constant OVERLOAD (line 1) | const OVERLOAD = 2; FILE: templates/language-server-client/packages/server/src/overload-3.ts constant OVERLOAD (line 1) | const OVERLOAD = 3; FILE: templates/language-server-client/packages/shared/src/constants.ts constant DESCRIPTION (line 1) | const DESCRIPTION = 'unused'; constant TEXT (line 3) | const TEXT = 'used'; constant FIRST (line 5) | const FIRST = 1; constant SECOND (line 6) | const SECOND = 2; FILE: templates/language-server-client/packages/shared/src/fruits.ts constant APPLE (line 1) | const APPLE = 'A'; constant BANANA (line 2) | const BANANA = 'B'; constant CHERRY (line 3) | const CHERRY = 'C'; constant DATE (line 4) | const DATE = 'D'; constant ELDERBERRY (line 5) | const ELDERBERRY = 'E';