Git Product home page Git Product logo

Comments (4)

nexdrew avatar nexdrew commented on June 8, 2024

Not that I know of. Would you be able to help contribute some?

from sywac.

jose-pr avatar jose-pr commented on June 8, 2024

Will try to.

from sywac.

jose-pr avatar jose-pr commented on June 8, 2024

Not that I know of. Would you be able to help contribute some?

So i gave it a try and have some basic typing, more works needs to be done cleaning it up and chaining the type of the Api as new properties are added to it.
Did it by rewriting it on ts as it was easier to find errors when something was not typed correctly and for now ignoring/dont paying to much attention to private methods. Didnt do typing for utils and buffer.

Typings avaliable at: https://github.com/jose-pr/sywac under the @types folder
Also if the interface are documented better in code you get some nice documentation out of it too for free
https://jose-pr.github.io/sywac/index.html

As i get some more time i may work on it more.

from sywac.

elliot-nelson avatar elliot-nelson commented on June 8, 2024

Although the maintainers aren't focused on TypeScript typing for Sywac right now, this is a feature that's very useful to people who have a need to write their CLI in TS. If folks out there have a passion for working on these types, feel free to take a look.

(The final home for typing would probably be in the @types project, not Sywac itself, however, unless someone presents a compelling case otherwise.)

from sywac.

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.