mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-01 12:42:58 +08:00
fixed implicit return types
This commit is contained in:
8
scriptjs/scriptjs.d.ts
vendored
8
scriptjs/scriptjs.d.ts
vendored
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user