Code Monkey home page Code Monkey logo

Comments (2)

Bogdan-Lyashenko avatar Bogdan-Lyashenko commented on May 17, 2024 2

@wtho I've updated babel to 7nth version recently to support TS. Now if you try something like const a: string = 'abc' it should work (parser will not fail). I think only 'converter' functions will be affected, meaning, what exactly should be displayed inside blocks in flowchart. It's here https://github.com/Bogdan-Lyashenko/js-code-to-svg-flowchart/tree/master/src/builder/converters

from js-code-to-svg-flowchart.

wtho avatar wtho commented on May 17, 2024

Yeah, that would be great!

@Bogdan-Lyashenko maybe you can give a quick roadmap what has to be done to plugin the TS AST-Parser?

It might be quite some work to implement it, but if you can outline out the starting points, someone could begin to do it. Is there more to do to support TS than plugging in the Parser? Maybe you can comment if the rendering has to be modified as well.

TS mostly adds Type Parameters to functions, tokens, expressions, ...

from js-code-to-svg-flowchart.

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.