fix(snmp): resolve TypeScript type errors for Deno strict mode

- Add Buffer import from node:buffer to manager.ts and types.ts
- Fix error handling type assertions (error/retryError/stdError as unknown)
- Add explicit type annotation to byte parameter in isPrintableAscii check
- All tests now passing (3 SNMP tests + 10 logger tests)
This commit is contained in:
2025-10-18 16:17:01 +00:00
parent 1705ffe2be
commit 9ccbbbdc37
2 changed files with 12 additions and 9 deletions

View File

@@ -2,6 +2,8 @@
* Type definitions for SNMP module
*/
import { Buffer } from "node:buffer";
/**
* UPS status interface
*/