mirror of
https://github.com/farcasclaudiu/openclaw.git
synced 2026-06-28 15:01:41 +03:00
fix: doctor memory hint
This commit is contained in:
Vendored
+29
@@ -0,0 +1,29 @@
|
||||
declare module "proper-lockfile" {
|
||||
export type RetryOptions = {
|
||||
retries?: number;
|
||||
factor?: number;
|
||||
minTimeout?: number;
|
||||
maxTimeout?: number;
|
||||
randomize?: boolean;
|
||||
};
|
||||
|
||||
export type LockOptions = {
|
||||
retries?: number | RetryOptions;
|
||||
stale?: number;
|
||||
update?: number;
|
||||
realpath?: boolean;
|
||||
};
|
||||
|
||||
export type ReleaseFn = () => Promise<void>;
|
||||
|
||||
export function lock(
|
||||
path: string,
|
||||
options?: LockOptions,
|
||||
): Promise<ReleaseFn>;
|
||||
|
||||
const lockfile: {
|
||||
lock: typeof lock;
|
||||
};
|
||||
|
||||
export default lockfile;
|
||||
}
|
||||
Reference in New Issue
Block a user