import { defaultContainer } from '../../core/defaultContainer' ; import { DisableConfig } from "../../models/config/disable-config" ; import { DECORATORS } from "../../const/decorators.const" ; export function disable ( config ? ) { return function ( target , propertyKey , parameterIndex ? ) { defaultContainer . addDecoratorConfig ( target , parameterIndex , propertyKey , config , DECORATORS . disabled ) ; } ; }