Coder Social home page Coder Social logo

TypeScript Definition about node-jira-client HOT 8 OPEN

jira-node avatar jira-node commented on August 19, 2024 10
TypeScript Definition

from node-jira-client.

Comments (8)

MrRefactoring avatar MrRefactoring commented on August 19, 2024 1

You can also see the typescript implementation in the jira-api-wrapper library

from node-jira-client.

dkokic avatar dkokic commented on August 19, 2024 1

You can also see the typescript implementation in the jira-api-wrapper library

@MrRefactoring I like your newly created project. It's pity you did not consider putting that effort in this project.

from node-jira-client.

KanoYugoro avatar KanoYugoro commented on August 19, 2024

I don't have time to do this, but I'm not necessarily opposed to doing so. If you want to submit a PR for this, I'd be happy to look it over.

from node-jira-client.

MrRefactoring avatar MrRefactoring commented on August 19, 2024

@dkokic I looked through several wrapper projects for jira api. Everywhere are asked to introduce support for typescript, but the amount of work in such projects is comparable to writing a new project. Therefore, it was decided to write a new project, initially supporting typescript.

At a minimum, current PRs would be incompatible with the project. And we would definitely get breaking changes.

It would also be necessary to rework the entire project, which is much more complicated and takes longer than developing modularly

from node-jira-client.

dougmaitelli avatar dougmaitelli commented on August 19, 2024

There is currently a definition for this library on DefinitelyTyped, it works really well but is not 100% accurate, some methods (createVersion, updateVersion) are listed there as expecting a string, while looking at this library source code it seems they need an object.

from node-jira-client.

Seth10001 avatar Seth10001 commented on August 19, 2024

rewriting in typescript?

from node-jira-client.

dkokic avatar dkokic commented on August 19, 2024

Any estimates how much effort would be required to rewrite it in TS? Happy to support the effort, but would need guidance of some more experienced people.

from node-jira-client.

Seth10001 avatar Seth10001 commented on August 19, 2024

I good place to start would be the following:

  • Change Jira.js to Jira.ts and update the build npm script to use typescript (tsc)
  • Add input Interfaces for the JiraApi constructor and all methods

from node-jira-client.

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.