hunk.code_window:     return lock(ctx.storePath, run, {stale: opts.lockStaleDuration})
       function run () {
         return uninstallInContext(pkgsToUninstall, pkg, ctx, opts)
       }
     }, {stale: opts.lockStaleDuration})
   }
  
hunk.labels: keep keep keep replace keep keep keep keep
hunk.after_edit:       return uninstallInContext(pkgsToUninstall, ctx, opts)
  
hunk.file_path: src/api/uninstall.ts
hunk.type: replace
file: import ndjson = require('ndjson')
  import bole = require('bole')
  
  export type StreamParser = {
    on: Function,
  }
  
  const streamParser: StreamParser = ndjson.parse()
  bole.output([
    {
      level: 'debug', stream: streamParser
    },
  ])
  
  export default streamParser
  