style: normalize type definitions

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

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;