-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Property 'new' is a static member of type 'Cloudinary' #192
Comments
Hi @davidhan527, Currently we don’t support typescript with our video player. You can embed the video player in a javascript project. |
@michalkcloudinay this seems to be a problem with the typing of So it's unclear how the core should be used in ts, or the typing is broken? in the typescript file it gives and example /**
* Main Cloudinary class
* @class Cloudinary
* @param {Object} options - options to configure Cloudinary
* @see Configuration for more details
* @example
* var cl = new cloudinary.Cloudinary( { cloud_name: "mycloud"});
* var imgTag = cl.image("myPicID");
*/ but even that does not work correctly all of this might be linked to this issue #189 |
Hi @PaulPCIO does this solve it for you?
|
Yea that solved it! thanks |
Sorry if this is a basic question but I'm very new to typescript and I'm having trouble with getting Cloudinary to work with typescript.
Here are the relevant parts of the file.
and I get this error
Any ideas how to fix this error?
The text was updated successfully, but these errors were encountered: