Cotal TypeScript packages
    Preparing search index...

    Function installedUpdatePrefix

    • Bind an npm global installation to its invoked package before replacing it. Local/npx copies and source checkouts retain npm's separate global destination. On Windows an adjacent npm shim must name the entry; on POSIX the bin link must resolve to it.

      Parameters

      • packageRoot: string
      • entry: string

      Returns string | undefined