Skip to content

Commit b274d27

Browse files
fix(types): correct nwbuild function return type
1 parent fa94df2 commit b274d27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,6 @@ export interface OsxAppOptions {
176176
/**
177177
* Automates building an NW.js application.
178178
*/
179-
declare function nwbuild<P extends SupportedPlatform>(options: Options<P>): Promise<void>;
179+
declare function nwbuild<P extends SupportedPlatform>(options: Options<P>): Promise<child_process.ChildProcess | null | undefined>;
180180

181181
export default nwbuild;

0 commit comments

Comments
 (0)