module . exports = class WriteFileContent { vscode : any ; fs : any ; constructor ( vscode , fs ) { this . vscode = vscode ; this . fs = fs ; } writeFileContent = async ( fileName , urduText ) => { const fs = this . fs ; const vscode = this . vscode ; return new Promise ( function ( resolve , reject ) { fs . writeFile ( fileName , urduText , ( err ) => { if ( err ) reject ( undefined ) ; resolve ( urduText ) ; } ) ; } ) ; } ; } ;