hunk.code_window:   const anything: any;
     export = anything;
   }
   declare module 'rimraf' {
     const anything: any;
     export = anything;
   }
  
hunk.labels: keep keep keep keep replace keep keep keep
hunk.after_edit: declare module 'rimraf-then' {
  
hunk.file_path: typings/local.d.ts
hunk.type: replace
file: import {PnpmOptions} from './types'
  export type DependenciesType = 'dependencies' | 'devDependencies' | 'optionalDependencies'
  
  export default function getSaveType (opts: PnpmOptions): DependenciesType | null {
    if (opts.save || opts.global) return 'dependencies'
    if (opts.saveDev) return 'devDependencies'
    if (opts.saveOptional) return 'optionalDependencies'
    return null
  }
  