Giter Site home page Giter Site logo

Comments (5)

elamalani avatar elamalani commented on May 28, 2024 1

@bnfrnz Thanks for your feedback. We will change the docs based on your feedback.
https://github.com/MicrosoftDocs/appcenter-docs-pr/pull/549

from appcenter-docs.

Zakeelm avatar Zakeelm commented on May 28, 2024

@elamalani I think you may be able to help with this!

from appcenter-docs.

bmourat avatar bmourat commented on May 28, 2024

@elamalani this is correct, we don't need to import anything to use SDK in Cordova

from appcenter-docs.

bnfrnz avatar bnfrnz commented on May 28, 2024

I'm sorry, I didn't mean to cause confusion here with my comment. I should mention that I'm writing typescript, not javascript.

screen shot 2018-03-21 at 20 47 17

The import suggested in the docs does not work because the module is not located there. Or am I missing something?

I'm currently just doing this so ts doesn't complain:
analytics = window.AppCenter.Analytics;

...which is not a problem really

from appcenter-docs.

bmourat avatar bmourat commented on May 28, 2024

@bnfrnz
Oh, I see. Our support for typescript is not at its best for now) And the only workaround is the one that you pointed out. We should add definitions for our modules for better typescript support!

from appcenter-docs.

Related Issues (20)

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.