Code Monkey home page Code Monkey logo

Comments (8)

davidbkemp avatar davidbkemp commented on July 20, 2024

Thank you for asking.

I currently have no big plans for jsqubits.
I think it will be OK for you to publish your d.ts as @types/jsqubits.

I think the main risk is that one day you may no longer be able to maintain qramana/jsqubits.d.ts or perhaps no longer want to maintain it. If and when that ever happens I guess I will have two options: either you grant me commit rights to qramana/jsqubits.d.ts and publish rights to the npm @types/jsqubits, or I publish the d.ts as part of jsqubits itself.

from jsqubits.

kamakiri01 avatar kamakiri01 commented on July 20, 2024

Thank you for reply.
I'm glad to receive your kind answer.

Your concerns about risk are correct.
I can give you the commit and publish rights of qramana/jsqubits.d.ts, but I think it is better to publish by including d.ts in jsqubits. Then the users depend on only one jsqubits package. I think that is good for the convenience of the users.

If so, I create a PR that add d.ts to jsqubits.
Also, if you think that it is good that I maintain d.ts from now on directly, grant me commit rights.

from jsqubits.

davidbkemp avatar davidbkemp commented on July 20, 2024

Sorry about my slow response. I think at this stage I would prefer to keep the TypeScript declarations separate.

I will be very happy for you to publish your work to @types/jsqubits.

I can add links to @types/jsqubits and qramana/jsqubits.d.ts from within the jsqubits README if you like. Perhaps one day, if sufficient users of jsqubits want the TypeScript declarations, then we could combine them.

from jsqubits.

kamakiri01 avatar kamakiri01 commented on July 20, 2024

Sorry if my offer was putting a strain you. That is not my wish.
I'm glad you considered this issue.

I will start preparing to publish @types/jsqubits.d.ts.
Thank you for allowing publish this name.

When @types/jsqubits.d.ts is successfully published, I will contact you.
Then I would be happy if you added a link for TypeScript users to the jsqubits README.

I hope that there are a lot of jsqubits users in the future. (and TypeScript!)

thx.

from jsqubits.

kamakiri01 avatar kamakiri01 commented on July 20, 2024

Hello,
I have published @types/jsqubits successfully.
DefinitelyTyped/DefinitelyTyped#36805
https://www.npmjs.com/package/@types/jsqubits

We can use type definition, after $ npm install @types/jsqubits .

If possible, add links and install command to jsqubits README, so I will be very happy.

from jsqubits.

davidbkemp avatar davidbkemp commented on July 20, 2024

OK, I’ll look at it this weekend.

from jsqubits.

davidbkemp avatar davidbkemp commented on July 20, 2024

Released v1.1.1 with README including links to TypeScript repos.
Thanks for doing the TypeScript work @kamakiri01
I hope you find jsqubits useful.

from jsqubits.

kamakiri01 avatar kamakiri01 commented on July 20, 2024

I found jsqubits v1.1.1 on npm. Thanks!

from jsqubits.

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.