mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* 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
43 lines
935 B
TypeScript
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;
|