Giter VIP home page Giter VIP logo

Comments (3)

joseluisq avatar joseluisq commented on April 28, 2024

This would be interesting feature but huge!

I consider converting TypeScript to JavaScript a part of my initial MVP feature set for esbuild since I use TypeScript for all of my web development projects. This issue tracks the TypeScript syntax part of my MVP.

That's because I'm using Fuse-Box on production (among other things).

I may close this issue before being able to parse TypeScript decorator syntax, since I don't use that in any of my projects.

Me neither use them. I dislike decorators particularly.
But I don't think that you need to add support for an experimental feature.
We can live without decorators.

from esbuild.

mohamedmansour avatar mohamedmansour commented on April 28, 2024

Instead of supporting TypeScript in the ESbuild grammar, the user can just run "tsc" and then "esbuild". Obviously the benefits of hooking it up to the grammar would be fastest, but that would be tricky for an open source project that moves really quickly.

from esbuild.

evanw avatar evanw commented on April 28, 2024

I just landed my branch in master so I'm going to close this out. TypeScript support is now relatively complete. I can parse the source code from the TypeScript compiler itself, most of the official TypeScript compiler test files, and some public and private TypeScript projects that I've been using as test cases. It still could use some more features (e.g. decorators) but as I said above, I consider the MVP stage of TypeScript support complete without these features.

from esbuild.

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.