Skip to content

Unable to build TypeScript on Version 4.56.0 #315

Description

I am having an issue running tsc on a project with the latest version of the Plivo SDK. This is the error message:

node_modules/plivo/dist/resources/maskingSession.d.ts:30:37 - error TS2304: Cannot find name 'PlivoResource'.

30 export class MaskingSession extends PlivoResource {
                                       ~~~~~~~~~~~~~

node_modules/plivo/dist/resources/maskingSession.d.ts:72:46 - error TS2304: Cannot find name 'PlivoResourceInterface'.

72 export class MaskingSessionInterface extends PlivoResourceInterface {
                                                ~~~~~~~~~~~~~~~~~~~~~~


Found 2 errors in the same file, starting at: node_modules/plivo/dist/resources/maskingSession.d.ts

plivo-node Version: 4.56.0
NodeJS Version: v18.13.0
TypeScript Version: 5.1.6

So far reverting to version 4.32.0 has worked.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions