import "reflect-metadata" ; const configKeyMetadataKey = Symbol ( "configKey" ) ; export function configKey ( comment ? , optional = false ) { return Reflect . metadata ( configKeyMetadataKey , [ comment , optional ] ) ; } export function getConfigKeyMetadata ( target , propertyKey ) { return Reflect . getMetadata ( configKeyMetadataKey , target , propertyKey ) ; } const hideKeyMetadataKey = Symbol ( "hideKey" ) ; export function hideKey ( ) { return Reflect . metadata ( hideKeyMetadataKey , true ) ; } export function keyIsHidden ( target , propertyKey ) { return Reflect . getMetadata ( hideKeyMetadataKey , target , propertyKey ) !== undefined ; }