DDeno•Created by Jakob on 4/30/2024 in #help Passing C enum to function and read in TypeScript
It does work like so for me. But I am not sure if this is the propper way of doing it:
const error = new Uint8Array(1);
lib.symbols.IedConnection_connect(conn, error, host, port);