Skip to main content

Function: withLegacyForgeCall()

withLegacyForgeCall<T>(MakerClass): T

Lets the maker class also be called as a function, as Electron Forge 5 called a maker module's default export (maker.default(options)). Forge 6+ constructs it with new, which is passed through unchanged.

Type Parameters​

T​

T extends ForgeMakerClass

Parameters​

MakerClass​

T

Returns​

T