From ab5bfa100eb4a465e66fa2b87468eef97a716dfb Mon Sep 17 00:00:00 2001 From: Istyaq Ahmmed <75932554+istyaq-ahmmed@users.noreply.github.com> Date: Mon, 4 Aug 2025 15:21:15 +0600 Subject: [PATCH] Update README.md Fixed Demo Code imports. --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 57766fe1..a64680c5 100644 --- a/README.md +++ b/README.md @@ -52,9 +52,10 @@ npm install win32-api ```ts import { - FindWindow, + FindWindowEx, GetDefaultPrinter, } from 'win32-api/util' +import {spawn} from 'child_process'; // Retrieves the printer name of the default printer for the current user on the local computer const printerName = await GetDefaultPrinter()