default: {
    linkModule: (
        src: string,
        nodeModules: string,
        callback?: LinkCallback,
    ) => undefined | Promise<string>;
    unlinkModule: (
        src: string,
        nodeModules: string,
        callback?: UnlinkCallback,
    ) => undefined | Promise<string>;
}

Type declaration

  • linkModule: (
        src: string,
        nodeModules: string,
        callback?: LinkCallback,
    ) => undefined | Promise<string>
  • unlinkModule: (
        src: string,
        nodeModules: string,
        callback?: UnlinkCallback,
    ) => undefined | Promise<string>