Variable default

default: {
    link: (
        src: string,
        target: string,
        callback?: LinkCallback,
    ) => undefined | Promise<string>;
    unlink: (
        target: string,
        callback?: UnlinkCallback,
    ) => undefined | Promise<string>;
}

Type declaration

  • link: (
        src: string,
        target: string,
        callback?: LinkCallback,
    ) => undefined | Promise<string>
  • unlink: (target: string, callback?: UnlinkCallback) => undefined | Promise<string>