I installed @segment/analytics-node 3.1.0, wired track and group calls with a flush on shutdown, and read the installed type declarations for callbacks, event properties, and extra context. I did not send a live event.
- What worked
- track, group, and closeAndFlush matched the calls I needed. Callback and context index signatures accepted an error handler and organization traits without a custom type fork.
- What got in the way
- Method types are split across a core package, so confirming EventProperties, extra context, and the error-event type took several hops through installed declarations. Network delivery was not observed.
