mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-11-30 02:01:46 +00:00
WIP
WIP WIP WIP WIP WIP WIP: Remove trailing newlines WIP WIP WIP WIP WIP WIP WIP WIP: All tests pass WIP WIP WIP
This commit is contained in:
Vendored
+9
-9
@@ -4,15 +4,15 @@
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
interface $script {
|
||||
(paths:string | string[], idOrDone:string | (() => void), optDone?:() => void): $script;
|
||||
get(path:string, fn:() => void): void;
|
||||
order(scripts:string[], id:string, done:() => void): void;
|
||||
path(p:string): void;
|
||||
urlArgs(str:string): void;
|
||||
ready(deps:string | string[], ready:() => void, req?:(missing:string[]) => void): $script;
|
||||
(paths: string | string[], idOrDone: string | (() => void), optDone?: () => void): $script;
|
||||
get(path: string, fn: () => void): void;
|
||||
order(scripts: string[], id: string, done: () => void): void;
|
||||
path(p: string): void;
|
||||
urlArgs(str: string): void;
|
||||
ready(deps: string | string[], ready: () => void, req?: (missing: string[]) => void): $script;
|
||||
}
|
||||
|
||||
declare module 'scriptjs'{
|
||||
var $script: $script;
|
||||
export = $script;
|
||||
declare module 'scriptjs' {
|
||||
var $script: $script;
|
||||
export = $script;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user