@electron-forge/shared-types
Advanced tools
Comparing version 7.4.0 to 7.5.0
@@ -41,3 +41,3 @@ /// <reference types="node" /> | ||
export declare type ForgeSimpleHookFn<Hook extends keyof ForgeSimpleHookSignatures> = (forgeConfig: ResolvedForgeConfig, ...args: ForgeSimpleHookSignatures[Hook]) => Promise<void>; | ||
export declare type ForgeMutatingHookFn<Hook extends keyof ForgeMutatingHookSignatures> = (forgeConfig: ResolvedForgeConfig, ...args: ForgeMutatingHookSignatures[Hook]) => Promise<ForgeMutatingHookSignatures[Hook][0] | undefined>; | ||
export declare type ForgeMutatingHookFn<Hook extends keyof ForgeMutatingHookSignatures> = (forgeConfig: ResolvedForgeConfig, ...args: ForgeMutatingHookSignatures[Hook]) => Promise<ForgeMutatingHookSignatures[Hook][0] | void>; | ||
export declare type ForgeHookFn<Hook extends ForgeHookName> = Hook extends keyof ForgeSimpleHookSignatures ? ForgeSimpleHookFn<Hook> : Hook extends keyof ForgeMutatingHookSignatures ? ForgeMutatingHookFn<Hook> : never; | ||
@@ -44,0 +44,0 @@ export declare type ForgeHookMap = { |
{ | ||
"name": "@electron-forge/shared-types", | ||
"version": "7.4.0", | ||
"version": "7.5.0", | ||
"description": "Shared types across Electron Forge", | ||
@@ -11,4 +11,4 @@ "repository": "https://github.com/electron/forge", | ||
"dependencies": { | ||
"@electron-forge/tracer": "7.4.0", | ||
"@electron/packager": "^18.3.1", | ||
"@electron-forge/tracer": "7.5.0", | ||
"@electron/packager": "^18.3.5", | ||
"@electron/rebuild": "^3.2.10", | ||
@@ -27,3 +27,3 @@ "listr2": "^7.0.2" | ||
], | ||
"gitHead": "d3d47b2bc53be13609b5ff4d858275ce74bff819" | ||
"gitHead": "5941a9a067c8af0daee0aab01c44a0040a9bdea0" | ||
} |
@@ -59,3 +59,3 @@ import { ChildProcess } from 'child_process'; | ||
...args: ForgeMutatingHookSignatures[Hook] | ||
) => Promise<ForgeMutatingHookSignatures[Hook][0] | undefined>; | ||
) => Promise<ForgeMutatingHookSignatures[Hook][0] | void>; | ||
export type ForgeHookFn<Hook extends ForgeHookName> = Hook extends keyof ForgeSimpleHookSignatures | ||
@@ -62,0 +62,0 @@ ? ForgeSimpleHookFn<Hook> |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23806
+ Added@electron-forge/tracer@7.5.0(transitive)
- Removed@electron-forge/tracer@7.4.0(transitive)
Updated@electron-forge/tracer@7.5.0
Updated@electron/packager@^18.3.5