hunk.code_window:     "declaration": true,
       "noImplicitAny": true,
       "noImplicitReturns": true,
       "suppressImplicitAnyIndexErrors": true,
       "strictNullChecks": true,
       "target": "es6",
       "outDir": "lib",
       "module": "commonjs",
       "moduleResolution": "node"
  
hunk.labels: keep keep keep add keep keep keep keep keep
hunk.after_edit:     "allowSyntheticDefaultImports": true,
  
hunk.file_path: tsconfig.json
hunk.type: add
file: import * as link from '../api/link'
  import {PnpmOptions} from '../types'
  
  export default (input: string[], opts: PnpmOptions) => {
    if (!input || !input.length) {
      return link.linkToGlobal(opts)
    }
    if (input[0].indexOf('.') === 0) {
      return link.linkFromRelative(input[0], opts)
    }
    return link.linkFromGlobal(input[0], opts)
  }
  