Git Product home page Git Product logo

resemble-node's Issues

Documentation Updates

I am trying to embed @resemble/node into my pipeline for my mobile app so I can replace my TTS with voice cloned TTS. I notice the docs need updating namely the fact you cannot instantiate the Resemble static object. Would love to help contribute to such an epic project!

Wrong types being exported in types.d.ts

Notion card

Bug submitted by client:

Just had a quick question using the @resemble/node NPM package.

When I import the package:

import Resemble from "@resemble/node";
const resemble = new Resemble("v2", "SECRET_KEY");

I receive the TypeScript error:

'Resemble' only refers to a type, but is being used as a value here.

Looks like it’s because an interface is being exported rather than a real class from the TypeScript definitions.

Would appreciate any tips on how to resolve? I can forcefully cast resemble to Version2.API:

const resemble: Version2.API = new Resemble("v2", "SECRET_KEY");

But there’s still the error at new Resemble.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.