import { AuthorizeConfig } from "../interface/config/authorize-config" ; import { frameworkContainer } from "../core/frameworkContainer" ; export function access ( config ) { return function ( target ) { frameworkContainer . addDecorator ( target , "authorize" , config ) ; } ; }