mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-25 13:10:41 +08:00
17 lines
464 B
TypeScript
17 lines
464 B
TypeScript
// Type definitions for needle 0.7.8
|
|
// Project: https://github.com/tomas/needle
|
|
// Definitions by: San Chen <https://github.com/bigsan>
|
|
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
|
|
|
interface INeedle {
|
|
head(url: string): IReadableStream;
|
|
head(url: string, callback?: Function): IReadableStream;
|
|
head(url: string, options?: any, callback?: Function): IReadableStream;
|
|
|
|
}
|
|
|
|
declare module "needle" {
|
|
var needle: INeedle;
|
|
export = needle;
|
|
}
|