core/lib/tern_from_ts/defs/lockfile.json.tmp
2017-05-14 13:22:31 +02:00

18 lines
553 B
Plaintext

{
"'lockfile'": {
"Options": {
"wait": "number",
"stale": "number",
"retries": "number",
"retryWait": "number"
},
"lock": "fn(path: string, opts: Options, callback: fn(err: Error))",
"lockSync": "fn(path: string, opts: Options)",
"unlock": "fn(path: string, callback: fn(err: Error))",
"unlockSync": "fn(path: string)",
"check": "fn(path: string, opts: Options, callback: fn(err: Error, isLocked: bool))",
"checkSync": "fn(path: string, opts: Options) -> bool"
},
"!name": "lockfile.d.ts"
}