Commit f1eac681 authored by nanahira's avatar nanahira

make alternate optional

parent e41bbe33
......@@ -28,7 +28,7 @@ export class Reflector<M extends StringDict, AM extends StringDict> {
metadataKey: K,
instance: I,
key: keyof I & (string | symbol),
alternate: any,
alternate?: any,
): ArrayValue<AM, K> {
const valueFromClass = this.getArray(metadataKey, instance);
const valueFromAlternate = alternate
......
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