Code Monkey home page Code Monkey logo

Comments (4)

sumeetattree avatar sumeetattree commented on September 6, 2024 1

Tested with 5.0.0. It is working. Thank you!

from ember-ajax.

rwjblue avatar rwjblue commented on September 6, 2024

Can you please define what specifically is broken? Does it not compile? Does it emit compilation warnings/errors? Does it compile but error at runtime?

from ember-ajax.

sumeetattree avatar sumeetattree commented on September 6, 2024

Sorry my bad. It compiles just fine. But when the route tries to import, it errors at run time with

"Cannot import module from 'ember-ajax/errors'"

Only occurs with typescript. Otherwise it works just fine.

So here's a little bit of a background. I am trying to convert one of the in-repo-engine to use typescript. The base app and another in-repo-addon that hosts the shared code, are both written in Javascript. This shared addon is exposing ember-ajax.

When I try to compile and run with typescript I face #428 and this issue. While #428 seems to be resolved in master, this issue remains.

from ember-ajax.

boris-petrov avatar boris-petrov commented on September 6, 2024

@sumeetattree - can you try ember-ajax version 5? I'm using also ember-cli-typescript and I don't have that problem.

from ember-ajax.

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.