UNPKG

knip

Version:

Find and fix unused dependencies, exports and files in your TypeScript and JavaScript projects

10 lines (9 loc) 248 B
type Graph<T> = Map<T, Set<T>>; type Groups<T> = T[][]; interface Result<T> { safe: boolean; chunks: Groups<T>; cycles: Groups<T>; } export declare function graphSequencer<T>(graph: Graph<T>, includedNodes?: T[]): Result<T>; export {};