npm.io
1.4.5 • Published 2 years ago

@types/shipit-utils

Licence
MIT
Version
1.4.5
Deps
1
Size
4 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/shipit-utils

Summary

This package contains type definitions for shipit-utils (https://github.com/shipitjs/shipit-utils).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/shipit-utils.

index.d.ts

import shipit = require("shipit-cli");

export type GruntOrShipit = typeof shipit | {};
export type EmptyCallback = () => void;

export function equalValues(value: any[]): void;
export function getShipit(gruntOrShipit: GruntOrShipit): typeof shipit;
export function getShipit(gruntOrShipit: GruntOrShipit): typeof shipit;
export function registerTask(
    gruntOrShipit: GruntOrShipit,
    name: string,
    dependenciesOrTask: string[] | EmptyCallback,
): typeof shipit;
export function runTask(gruntOrShipit: {}): void;

Additional Details

Credits

These definitions were written by Cyril Schumacher.