mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-04 12:10:30 +08:00
43 lines
780 B
TypeScript
43 lines
780 B
TypeScript
// Type definitions for gulp-coffeeify
|
|
// Project: gulp-coffeeify
|
|
// Definitions by: Qubo <https://github.com/tkQubo>
|
|
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
|
|
|
declare module "gulp-coffeeify" {
|
|
namespace coffeeify {
|
|
interface Coffeeify {
|
|
(option?: Option): NodeJS.ReadWriteStream;
|
|
}
|
|
|
|
interface Option {
|
|
options?: {
|
|
debug?: boolean;
|
|
paths?: string[];
|
|
},
|
|
/**
|
|
* [DEPRECATED]: You should use a 'paths' options of browserify.
|
|
*/
|
|
aliases?: Aliases;
|
|
/**
|
|
* [DEPRECATED]
|
|
*/
|
|
transforms?: Transforms;
|
|
}
|
|
|
|
interface Aliases {
|
|
cwd?: string;
|
|
base?: string;
|
|
}
|
|
|
|
interface Transforms {
|
|
ext?: string;
|
|
transform?(data: string): string;
|
|
}
|
|
}
|
|
|
|
var coffeeify: coffeeify.Coffeeify;
|
|
|
|
export = coffeeify;
|
|
}
|
|
|