Code Monkey home page Code Monkey logo

Comments (5)

bcherny avatar bcherny commented on May 28, 2024

Hi @beshanoe, thanks for the questions.

first, there are @types in dependencies which are in conflict with my project's typings

@types/... are under dependencies, so that when you install react2angular, you also install the relevant typings.

Even if you're using different versions of the typings, NPM will resolve the correct versions for you. When you say "are in conflict", what exactly do you mean? What error do you get, how are you installing react2angular, and what does your tsconfig.json look like?

Also angular version is bound strictly to 1.6.2 and higher... maybe you could put something like ">=1.5.0"

Again, this should not cause any issues. Please see above questions.

from react2angular.

beshanoe avatar beshanoe commented on May 28, 2024

Ok, angular's version is not a major issue for me, but regarding typings: we still yous "typings" tool for managing typings and the complete moving to @types is planed to near future, but we want to use your tool right now and @types are causing errors about duplicated declarations.

from react2angular.

bcherny avatar bcherny commented on May 28, 2024

Ok, angular's version is not a major issue for me

To be clear, it should not be an issue at all.

@types are causing errors about duplicated declarations.

What is the exact error you are seeing? You can probably manually exclude the duplicates in your tsconfig.json. I can give a more specific suggestion with a more specific error message.

from react2angular.

beshanoe avatar beshanoe commented on May 28, 2024

I can't be more specific right now since I'm AFK, but I got an idea, I'll just exclude this typings in tsconfig.json until we move to @types completely. Thanks!

from react2angular.

bcherny avatar bcherny commented on May 28, 2024

No problem - feel free to reopen if this turns out to be an issue with react2angular. Good luck!

from react2angular.

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.