mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
16 lines
742 B
TypeScript
16 lines
742 B
TypeScript
// Type definitions for shipit-utils 1.4
|
|
// Project: https://github.com/shipitjs/shipit-utils
|
|
// Definitions by: Cyril Schumacher <https://github.com/cyrilschumacher>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
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;
|