From 022f6d57ead56d99b278a492e6405bb3d14523b0 Mon Sep 17 00:00:00 2001 From: Erick Zhao Date: Mon, 17 Jun 2024 09:14:27 -0700 Subject: [PATCH] fix(types): HookFunction.platform should use TargetPlatform (#1732) --- src/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types.ts b/src/types.ts index 1007b1a4..3e6fb7a3 100644 --- a/src/types.ts +++ b/src/types.ts @@ -103,7 +103,7 @@ export type HookFunction = ( buildPath: string, electronVersion: string, - platform: TargetArch, + platform: TargetPlatform, arch: TargetArch, callback: HookFunctionErrorCallback, ) => void;