Giter Site home page Giter Site logo

Implicit any breaks builds about core HOT 5 CLOSED

eseliger avatar eseliger commented on May 8, 2024 2
Implicit any breaks builds

from core.

Comments (5)

felixfbecker avatar felixfbecker commented on May 8, 2024

This blocks our adoption of v1

from core.

Kukkimonsuta avatar Kukkimonsuta commented on May 8, 2024

Workaround: set skipLibCheck in your tsconfig to ignore errors caused by library typings

from core.

BrianMikinski avatar BrianMikinski commented on May 8, 2024

@Kukkimonsuta is it desirable for y'all enable strict null checking? If so I'd be interested in contributing. Would it merely be a case of adding the correct typings to the errors the compiler throws and insuring all tests pass or is there more to it?

from core.

Kukkimonsuta avatar Kukkimonsuta commented on May 8, 2024

strictNullChecks have quite slow adoption from my experience, but I'd personally welcome it. To implement it correctly though, you need to have thorough knowledge of the code since you need to specify where null is valid and where not (compiler will help with things used internally, but public api may be more difficult to guess).

On the other hand noImplicitAny should be definitely enabled everywhere (at least in public api specified in typings).

Edit: it seems that noImplicitAny was already resolved: 1a6cdfc 👍

from core.

christopherthielen avatar christopherthielen commented on May 8, 2024

5.0.6 should also be strictNullChecks compliant.

Closing because I think this is solved now, but reopen if necessary

from core.

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.