import { sanitizerContainer } from '../core/sanitizerContainer' ; export function baseFunction ( sanitizerType , config ? ) { return function ( target , propertyName ) { sanitizerContainer . register ( target , propertyName , sanitizerType , config || true ) ; } ; }