style: normalize type definitions
This commit is contained in:
1 parent
aa16b679ad
commit
51e8bbd2a8
2 files changed
+5
-6
No files matched your search
Vendored
+1
-4
@@ -16,10 +16,7 @@ declare module "proper-lockfile" {
|
||||
|
||||
export type ReleaseFn = () => Promise<void>;
|
||||
|
||||
export function lock(
|
||||
path: string,
|
||||
options?: LockOptions,
|
||||
): Promise<ReleaseFn>;
|
||||
export function lock(path: string, options?: LockOptions): Promise<ReleaseFn>;
|
||||
|
||||
const lockfile: {
|
||||
lock: typeof lock;
|
||||
|
||||
Reference in new issue
Block a user