summaryrefslogtreecommitdiff
path: root/src/node_modules/inversify/dts/syntax/constraint_helpers.d.ts
blob: 209f1e7645cab651a121a73b200dbc64e30bcd7a (plain)
1
2
3
4
5
6
import { interfaces } from "../interfaces/interfaces";
declare const traverseAncerstors: (request: interfaces.Request, constraint: interfaces.ConstraintFunction) => boolean;
declare const taggedConstraint: (key: PropertyKey) => (value: any) => interfaces.ConstraintFunction;
declare const namedConstraint: (value: any) => interfaces.ConstraintFunction;
declare const typeConstraint: (type: string | Function) => (request: interfaces.Request | null) => boolean;
export { traverseAncerstors, taggedConstraint, namedConstraint, typeConstraint };