Code Monkey home page Code Monkey logo

Comments (7)

chaofan-nirvana avatar chaofan-nirvana commented on May 28, 2024 2

I tried my version of the issue, worked as my expectation.

WarriorTrading@5d554a6

from typescript-call-graph.

whyboris avatar whyboris commented on May 28, 2024

Thank you!

At the moment I'm focusing on getting the visualization done.
First draft: #1
But I plan to add several more visualization types as well.

Once that's ironed out I'll look into detecting fat arrow functions too 🤝

from typescript-call-graph.

chapmanjacobd avatar chapmanjacobd commented on May 28, 2024

it's strange that it doesn't work... I would think that isFunctionDeclaration would detect arrowFunctions.

maybe arrowFunctionExpression ??

maybe this will help: https://github.com/pulumi/pulumi/blob/master/sdk/nodejs/runtime/closure/parseFunction.ts

from typescript-call-graph.

whyboris avatar whyboris commented on May 28, 2024

I think there exists isArrowFunction and could simply be included in my check 🤔
https://github.com/microsoft/TypeScript/blob/35c1ba67baac2fd5152908184f8b2ec565815942/lib/typescript.d.ts#L3648

from typescript-call-graph.

whyboris avatar whyboris commented on May 28, 2024

Feel free to try it out on this line:
https://github.com/whyboris/TypeScript-Call-Graph/blob/master/extract.ts#L26
👍

from typescript-call-graph.

chapmanjacobd avatar chapmanjacobd commented on May 28, 2024

hmmm I tried it but didn't get it to work.

https://github.com/ZEISS/typescript-plugin-inner-jsx/blob/master/src/createTransformer.ts

from typescript-call-graph.

whyboris avatar whyboris commented on May 28, 2024

Closed by #5 🎉
Thank you to @WarriorTrading and @chaofan-nirvana and @chapmanjacobd 🙇

from typescript-call-graph.

Related Issues (10)

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.