mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Quick first pass at the definition of Humane.js
This commit is contained in:
Vendored
+21
@@ -0,0 +1,21 @@
|
||||
interface HumaneOptions {
|
||||
timeout:number;
|
||||
clickToClose:Boolean;
|
||||
baseCls:String;
|
||||
addnCls:String;
|
||||
}
|
||||
|
||||
interface Humane {
|
||||
create(options?:HumaneOptions):Humane;
|
||||
info:Function;
|
||||
error:Function;
|
||||
spawn(options:HumaneOptions):Function;
|
||||
remove();
|
||||
log(message:String):Humane;
|
||||
log(message:String, callback:Function):Humane;
|
||||
log(message:String, options:HumaneOptions):Humane;
|
||||
log(message:String, callback:Function, options:HumaneOptions):Humane;
|
||||
|
||||
log(listOfMessages:Array):Humane;
|
||||
}
|
||||
declare var humane:Humane;
|
||||
Reference in New Issue
Block a user