Giter Site home page Giter Site logo

Support TypeScript 3.0 about tsutils HOT 2 CLOSED

ajafff avatar ajafff commented on May 18, 2024
Support TypeScript 3.0

from tsutils.

Comments (2)

ajafff avatar ajafff commented on May 18, 2024

IIUC this is not a problem with the library but only occurs when building with a newer TypeScript version?

Regarding "Nodes to not have any tokens": this was possible before. Not the type declarations are just more correct. The cases above can simply be asserted to never be undefined.
That Type | undefined can also be asserted.

ReadonlyArray<Signature> not assignable to Signature[] probably just needs to fix the return type of the containing function.

The (un)escapeIdentifier functions needs an assertion to any.


If you want to fix this, feel free to send a PR. Otherwise I'll try to get this fixed tomorrow.

from tsutils.

evmar avatar evmar commented on May 18, 2024

These build errors are from updating the version of TypeScript in package.json. Sorry for not being clear.

I'm happy if you fix it, so I can wait. If you are too busy I can otherwise try creating a PR, but I suspect it'll be about as much work for you to review my PR as it would be to fix it directly. :)

from tsutils.

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.