Commit 7f7c790f authored by nanahira's avatar nanahira

missing

parent f5d6477c
......@@ -63,3 +63,10 @@ export function Accept(
)(obj.constructor);
};
}
export function Decline(): PropertyDecorator {
return (obj, key) =>
defaultRegistrar.metadata.append('CordisConfigAcceptors', (ctx) =>
ctx.decline([key]),
)(obj.constructor);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment