UNPKG

smart-factory

Version:

functional programming-ready dependancy injector/ioc container library

11 lines (10 loc) 708 B
import { Candidate } from './types'; export declare const checkCyclicReference: (arr: Candidate[]) => void; export declare const checkNodeCycle: (map: Map<string, Candidate>, visit: Map<string, boolean>, start: string) => void; export declare const checkDepNotfound: (arr: Candidate[]) => void; export declare const checkSelfReference: (arr: Candidate[]) => void; export declare const checkKeyDuplicates: (arr: Candidate[]) => void; export declare const duplicateKeys: (arr: Candidate[]) => string[]; export declare const selfReference: (a: Candidate) => boolean; export declare const crossReference: (a: Candidate, b: Candidate) => boolean; export declare const subsets: (arr: any[], n: number) => any[][];