Comments (8)
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.
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.
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.
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.
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.
OK, I’ll look at it this weekend.
from jsqubits.
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.
I found jsqubits v1.1.1 on npm. Thanks!
from jsqubits.
Related Issues (20)
- Make jsqubits and jsqubitsmath be requirejs friendly
- Improve the objects returned by each() HOT 1
- Fix or remove usages of typeof and instanceof HOT 1
- How about refactor the project to ES6? HOT 1
- Examples don't run out of the box. HOT 5
- Publish new npm version HOT 3
- Decide what to do about bower support HOT 1
- dist/commonjs/index.js not found HOT 4
- Update Babel stuff HOT 1
- Provide easy to use js file (even better: url to include directly) HOT 2
- Measure and destroy a qubit HOT 4
- Document the maths functions
- quantum gate conjugate
- Fix exceptions to follow a more standard pattern HOT 1
- Allow array of bits anywhere we currently allow a bit range
- Include a 'remainingQbits' field on measurement outcomes.
- Support Complex.getPhase() HOT 1
- QState.eql uses non existent field amplitudes HOT 1
- Make use of js Math constants like Math.SQRT1_2 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsqubits.