GithubHelp home page GithubHelp logo

Cannot find name 'bigint' about idx HOT 6 CLOSED

facebook avatar facebook commented on April 26, 2024
Cannot find name 'bigint'

from idx.

Comments (6)

armanozak avatar armanozak commented on April 26, 2024 1

Hi @mohsen1
I got that already. I just wanted to make sure you are aware of the issue. After all, this is a breaking change for TypeScript users and the version number is increased just as if it is a patch. It will break compilations all over the world and people will have to take action.

If you want to fix this, you can publish a minor release (2.6.0) or, even better a major release (3.0.0), then revert the change and make another patch to the older version (2.5.5). Additionally, this should be documented well to avoid further misunderstandings.

from idx.

yungsters avatar yungsters commented on April 26, 2024 1

I just published [email protected] which includes #80. Thanks everyone!

from idx.

mohsen1 avatar mohsen1 commented on April 26, 2024

You need to upgrade to TypeScript 3.2

from idx.

mohsen1 avatar mohsen1 commented on April 26, 2024

With TypeScript and @types/ packages the stance is that your code will break with any change, including patch versions. idx is shipping it's own types so it's a bit different. That being said, the types here require some minimum version of TypeScript anyways. We're using conditional types that was introduced in TypeScript 3 for instance. We don't want to make TypeScript a peer dependency of idx either, you don't need to have TypeScript to use idx.

I'll leave it to package maintainers to decide. Removing 'bigint' will not break too many people vs. depending on at least [email protected]

from idx.

yungsters avatar yungsters commented on April 26, 2024

I'm down to make the necessary changes for idx to be compatible with older versions of TypeScript, publish [email protected], and then revert those changes and publish [email protected].

Would either of you be down to make the minimal changes necessary for [email protected]?

from idx.

armanozak avatar armanozak commented on April 26, 2024

Thanks @mohsen1 and @yungsters. It is most appreciated.

from idx.

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.