fixed implicit return types

This commit is contained in:
Steve Lam
2016-08-07 16:33:32 -07:00
committed by GitHub
parent 0336e9c749
commit e73fdc130f

View File

@@ -1,9 +1,9 @@
interface $script {
(paths:string | string[], idOrDone:string | (() => void), optDone?:() => void): $script;
get(path:string, fn:() => void);
order(scripts:string[], id:string, done:() => void);
path(p:string);
urlArts(str:string);
get(path:string, fn:() => void): void;
order(scripts:string[], id:string, done:() => void): void;
path(p:string): void;
urlArts(str:string): void;
ready(deps:string | string[], ready:() => void, req?:(missing:string[]) => void): $script;
}