GithubHelp home page GithubHelp logo

Comments (4)

tflori avatar tflori commented on August 16, 2024 1

version 2.2.4 released, thanks for your contribution

from angular-translator.

lucaritossa avatar lucaritossa commented on August 16, 2024

Ok, I downgraded all npm packages following the alphabetical order and only after the downgrade of typescript to v2.4.2 I no more received the error...

Now I'm trying to update angular, awesome-typescript-loader, tslint e angular-translator leaving typescript to the old version...

from angular-translator.

lucaritossa avatar lucaritossa commented on August 16, 2024

I confirm the error occurs only after upgrading typescript to v2.5.1...

I think an investigation is needed to understand the root cause (maybe a breaking change not declared by typescript?)

from angular-translator.

tflori avatar tflori commented on August 16, 2024

the only thing I can see is that you are working with modules. thanks for this one! I hoped someone will find it useful 😄

I don't understand why typescript thinks that translatorConfig is from type {}. It's real type is TranslatorConfig. Can you change this line:

let translatorConfig = injector.get(TranslatorConfig);

To this line:

let translatorConfig = injector.get(TranslatorConfig) as TranslatorConfig;

And see if it is working then...

from angular-translator.

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.