Skip to content

Commit

Permalink
update types
Browse files Browse the repository at this point in the history
  • Loading branch information
idleberg committed Jul 7, 2023
1 parent 308f54d commit 5c8cb69
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import type { SpawnOptions } from "child_process";
import type { EventEmitter } from 'node:events';
import type { SpawnOptions } from 'node:child_process';

declare module 'makensis' {
function commandHelp(command: string, compilerOptions: CompilerOptions, spawnOptions: SpawnOptions): Promise<CompilerOutput>;
function compile(script: string, compilerOptions: CompilerOptions, spawnOptions: SpawnOptions): Promise<CompilerOutput>;
function events(): EventEmitter;
function headerInfo(compilerOptions: CompilerOptions, spawnOptions: SpawnOptions): Promise<CompilerOutput>;
function license(compilerOptions: CompilerOptions, spawnOptions: SpawnOptions): Promise<CompilerOutput>;
function nsisDir(compilerOptions: CompilerOptions): Promise<string | JSON>;
Expand Down

0 comments on commit 5c8cb69

Please sign in to comment.