Commit 2fc90e28 authored by nanahira's avatar nanahira

fix

parent c0269ae3
...@@ -15,7 +15,7 @@ export class Reflector<M extends StringDict, AM extends StringDict> { ...@@ -15,7 +15,7 @@ export class Reflector<M extends StringDict, AM extends StringDict> {
} }
} }
getArray<K extends Key<M>>( getArray<K extends Key<AM>>(
metadataKey: K, metadataKey: K,
instance: any, instance: any,
key?: string | symbol, key?: string | symbol,
...@@ -23,7 +23,7 @@ export class Reflector<M extends StringDict, AM extends StringDict> { ...@@ -23,7 +23,7 @@ export class Reflector<M extends StringDict, AM extends StringDict> {
return this.get(metadataKey, instance, key) || []; return this.get(metadataKey, instance, key) || [];
} }
getProperty<K extends Key<M>, I = any>( getProperty<K extends Key<AM>, I = any>(
metadataKey: K, metadataKey: K,
instance: I, instance: I,
key: keyof I & (string | symbol), key: keyof I & (string | symbol),
......
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