Steps to reproduce and a minimal demo of the problem
Call StaticReflector.annotations() for a type with annotations.
Current behavior
Returns undefined.
Expected/desired behavior
Return [] to be consistent with Reflector and what is expected by RuntimeMetadataResolver.
Steps to reproduce and a minimal demo of the problem
Call
StaticReflector.annotations()for a type with annotations.Current behavior
Returns
undefined.Expected/desired behavior
Return
[]to be consistent withReflectorand what is expected byRuntimeMetadataResolver.