DefinitelyTyped/types/gulp-coffeeify/index.d.ts
Nathan Shively-Sanders 163f4438df Fix weak type errors (#16845)
* Fix first round of weak type errors

Done through griddle-react

* 95% done with weak type fixes

* Fix last couple of weak type errors

* Remove some lint from mithril tests

* mithril's Lifecycle is not a weak type any more

Restore the Lifecycle constraints in the rest of the definitions.

* Fix react-redux tests after #16652 broke them

* Remove package-lock.json
2017-06-04 22:03:03 -07:00

43 lines
935 B
TypeScript

// Type definitions for gulp-coffeeify
// Project: https://github.com/nariyu/gulp-coffeeify
// Definitions by: Qubo <https://github.com/tkQubo>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="node" />
declare 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;
}
type Aliases = Array<{
cwd?: string;
base?: string;
}>;
type Transforms = Array<{
ext?: string;
transform?(data: string): string;
}>;
}
declare var coffeeify: coffeeify.Coffeeify;
export = coffeeify;