style: normalize type definitions

This commit is contained in:
Peter Steinberger committed 2026-01-06 07:21:10 +01:00
1 parent aa16b679ad
commit 51e8bbd2a8
2 files changed
+5 -6

No files matched your search

+1 -4
View File
@@ -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;