Comments (9)
I would like to take this on!
from diff.
Awesome.
@Ishmam156 Assigning to you.
Also, one more thing. There might be some difficulties getting the Typescript types into jsdoc, be sure to let us know if you face any problem :)
from diff.
Thank you! Will definitely do reach out if I struggle with it - will try to provide an overall response by this weekend :)
from diff.
@Ishmam156 are you still trying to solve this? If not I would like to take a shot at it as well, if that's fine with you @aayushmau5
from diff.
@ron-debajyoti sure, go ahead. Though I did try to fix this issue, but I did not succeed, and to be honest, I don't think this can be done without adding more configuration and including additional JSDoc comments.
But feel free to give it a try, and see what you can come up with. Otherwise, I will close this issue.
from diff.
But feel free to give it a try, and see what you can come up with. Otherwise, I will close this issue.
Give me 2 days nad I will update the status by then @aayushmau5
from diff.
Hey @aayushmau5 ,
I was looking into this and idk maybe this might be leading somewhere and thought to give you an update.
I think one root cause for this problem is that the compiled js obtained after build/tsc can't resolve types. You can try it out yourself by first running the build and then checking out any jsdoc
comments in lib/asyncapidiff.js
, for example, and they point to unresolved/any.
To solve this I changed the syntax of jsdoc
comments. Taking the above example, I tried changing @returns {Array<DiffOutputItem>}
to @returns {Array<import('./types').DiffOutputItem>}
in src/asyncapidiff.ts
. This solves the above problem, but then jsdoc2md got issues parsing this tag.
I'm still gonna try looking into it. Let me know your views on this.
from diff.
@ron-debajyoti Thank you so much for taking this up! I honestly tried following the current instructions of JSDoc but just couldn't get this to work - ofcourse might have missed something so good luck to you! :)
from diff.
🎉 This issue has been resolved in version 0.3.0 🎉
The release is available on:
Your semantic-release bot 📦🚀
from diff.
Related Issues (20)
- './types' import is duplicated. HOT 2
- Extend overrides with callbacks to support more complex breaking change detection HOT 8
- The output of this library HOT 14
- The format of standard file HOT 8
- Question about the meaning of "breaking" and "non-breaking" HOT 4
- Need for urgent changes in GitHub Actions automation HOT 1
- AsyncAPI spec v3 support in Diff HOT 5
- When using "allOf", breaking changes are not detected. HOT 4
- The location of standard file HOT 9
- Have the ability to pass the spec document as a string HOT 1
- Have the option to skip the parsing step HOT 20
- Generate API docs HOT 1
- `npm install @asyncapi/diff` fetches the original TS source code instead of compiled JS output HOT 4
- Diff2Html - Allowing users to see diff in HTML HOT 6
- Support different types of output HOT 10
- Integrating diff in an action HOT 10
- Add support for Markdown output HOT 5
- Add support for HTML output HOT 13
- Update README with new logo banner HOT 2
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 diff.