( target: Object, )
| 705 | * prototype for instance properties. |
| 706 | */ |
| 707 | export function describeInjectedProperties( |
| 708 | target: Object, |
| 709 | ): MetadataMap<Readonly<Injection>> { |
| 710 | const metadata = |
| 711 | MetadataInspector.getAllPropertyMetadata<Readonly<Injection>>( |
| 712 | INJECT_PROPERTIES_KEY, |
| 713 | target, |
| 714 | ) ?? {}; |
| 715 | return metadata; |
| 716 | } |
| 717 | |
| 718 | /** |
| 719 | * Inspect injections for a binding created with `toClass` or `toProvider` |
no test coverage detected