import * as ts from 'typescript' ; import { PropertiesMinifier , PropertyMinifierOptions } from './properties-minifier' ; export default function minifyPrivatesTransformer ( program , config ? ) { const minifier = new PropertiesMinifier ( config ) ; return ( context ) => ( file ) => minifier . visitSourceFile ( file , program , context ) ; }