From 5c8cb695182d23ff9d2f71dee56d00de8f533227 Mon Sep 17 00:00:00 2001 From: "Jan T. Sott" Date: Fri, 7 Jul 2023 23:22:28 +0200 Subject: [PATCH] update types --- types/index.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/types/index.d.ts b/types/index.d.ts index 70f26d0..1ea7a8c 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -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; function compile(script: string, compilerOptions: CompilerOptions, spawnOptions: SpawnOptions): Promise; + function events(): EventEmitter; function headerInfo(compilerOptions: CompilerOptions, spawnOptions: SpawnOptions): Promise; function license(compilerOptions: CompilerOptions, spawnOptions: SpawnOptions): Promise; function nsisDir(compilerOptions: CompilerOptions): Promise;