📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP
Socket
Sign inDemoInstall
Socket

@types/broccoli-merge-trees

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/broccoli-merge-trees

TypeScript definitions for broccoli-merge-trees

4.2.4
ts4.5
ts4.6
ts4.7
ts4.8
ts4.9
ts5.0
ts5.1
ts5.2
ts5.3
ts5.4
ts5.5
ts5.6
ts5.7
ts5.8
ts5.9
latest
Source
npm
Version published
Maintainers
1
Created
Source

Installation

npm install --save @types/broccoli-merge-trees

Summary

This package contains type definitions for broccoli-merge-trees (https://github.com/broccolijs/broccoli-merge-trees#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/broccoli-merge-trees.

index.d.ts

import { InputNode } from "broccoli-node-api";
import Plugin = require("broccoli-plugin");

export = broccoliMergeTrees;

/**
 * @param inputNodes An array of nodes, whose contents will be merged
 * @param options A hash of options
 */
declare function broccoliMergeTrees(
    inputNodes: InputNode[],
    options?: broccoliMergeTrees.Options,
): broccoliMergeTrees.MergeTrees;

declare namespace broccoliMergeTrees {
    class MergeTrees extends Plugin {
        constructor(inputNodes: InputNode[], options?: Options);

        build(): void | never;
    }

    interface Options {
        /**
         * A descriptive annotation. Useful for debugging, to tell multiple instances of the same plugin apart.
         */
        annotation?: string;

        /**
         * A string representing the destination path that merged files will be copied to.
         */
        destDir?: string;

        /**
         * By default, broccoli-merge-trees throws an error when a file exists in multiple nodes.
         * If you pass `{ overwrite: true }`, the output will contain the version of the file
         * as it exists in the last input node that contains it.
         */
        overwrite?: boolean;
    }
}

Additional Details

Credits

These definitions were written by Konrad Perlicki.

FAQs

Package last updated on 07 Nov 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts