Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const getDeps = (target) => {
let types = reflection_1.Reflection.getMetadata("design:paramtypes", target) || [];
let deps = types.map((a) => {
if (a) {
if (a.name !== "Object") {
return a.name;
}
else {
return "props";
}
}
else {
return "";
}
});
return deps;
};
const depsResolver = (options, target) => {
const Input = () => (target, key) => {
reflection_1.Reflection.defineMetadata(utils_1.INPUT_METADATA_KEY, key, target.constructor);
};
exports.Input = Input;