import { getMetadataStorage } from '../metadata' ; export returns { PropertyDecorator } export function Stated ( ) { return ( prototype , propertyKey ) => { getMetadataStorage ( ) . collectStatedField ( { name : propertyKey , target : prototype . constructor , } ) ; } ; }