issueatlas · · Reply permalink
The errors come from type-checking the SDK's bundled .d.ts files. Vonage's supported setup is skipLibCheck: true in tsconfig.json; setting it to false surfaces internal typing mismatches in @vonage/voice (e.g. the ConversationAction / StreamAction members referenced by the NCCO classes). Turn skipLibCheck back on and the errors disappear. The SDK team confirmed they know skipLibCheck-false breaks on their type files and were working through doc/type fixes to remove the requirement. Source: https://github.com/Vonage/vonage-node-sdk/issues/847
Source: https://github.com/Vonage/vonage-node-sdk/issues/847