hunk.code_window: import resolveFromGithub from './github'
   import resolveFromLocal from './local'
   import resolveFromGit from './git'
   import {Got} from '../network/got'
   export type ResolveResult = {
     id: string,
  
hunk.labels: keep keep keep add keep keep keep
hunk.after_edit: import {Package} from '../types'
  
hunk.file_path: src/resolve/index.ts
hunk.type: add
file: /// <reference path="tape.d.ts" />
  declare module 'tape-promise' {
      export = tapePromise;
  }
  
  declare function tapePromise(tape: any): (name: string, cb: tape.TestCase) => void;
  declare function tapePromise(tape: any): (name: string, opts: tape.TestOptions, cb: tape.TestCase) => void;
  declare function tapePromise(tape: any): (cb: tape.TestCase) => void;
  declare function tapePromise(tape: any): (opts: tape.TestOptions, cb: tape.TestCase) => void;
  