Giter Club home page Giter Club logo

Comments (15)

pngwn avatar pngwn commented on July 21, 2024 27

This is not a simple change, with the way things are setup. But I have been looking into this and other improvements over the past week.

from sites.

danawoodman avatar danawoodman commented on July 21, 2024 13

Will this be considered by the core team? Would be pretty rad 😸

from sites.

vinayakkulkarni avatar vinayakkulkarni commented on July 21, 2024 13

Is there any way we, the community, can help contribute in building the REPL using TS ?

from sites.

samuelandert avatar samuelandert commented on July 21, 2024 9

Indeed, this is one of the most interesting and anticipated REPL features.

from sites.

bradphelan avatar bradphelan commented on July 21, 2024 7

This would be a great addition

from sites.

jacob-8 avatar jacob-8 commented on July 21, 2024 4

Any update on this ?

I don't know the team's plans, but do note that when learn.svelte.dev is fully ready for use, it will open the door wide for lots of REPL innovation, including Typescript. I would wait for that tool to be finished up with the basic SvelteKit tutorials and examples, and then would expect Typescript to be right around the corner. Due to its use of WebContainers running Node in the browser, adding Typescript compilation will be similar to how we do it in our repos presently, just add svelte-preprocess to the svelte config file. If they plan to bring intellisense into their browser editor is yet to be seen, as well if they plan to turn learn.svelte.dev into a full blown REPL is also yet to be seen. But these things can't be too far out.

from sites.

hperrin avatar hperrin commented on July 21, 2024 1

Is there a way to at least strip type declarations from a Svelte file, then we could use that?

from sites.

fmp777 avatar fmp777 commented on July 21, 2024 1

Wold be nice for sure! Would make REPL useful again!

from sites.

ehartford avatar ehartford commented on July 21, 2024 1

I will send you a gift basket

from sites.

Tal500 avatar Tal500 commented on July 21, 2024 1

Any update on this ?

I don't know the team's plans, but do note that when learn.svelte.dev is fully ready for use, it will open the door wide for lots of REPL innovation, including Typescript. I would wait for that tool to be finished up with the basic SvelteKit tutorials and examples, and then would expect Typescript to be right around the corner. Due to its use of WebContainers running Node in the browser, adding Typescript compilation will be similar to how we do it in our repos presently, just add svelte-preprocess to the svelte config file. If they plan to bring intellisense into their browser editor is yet to be seen, as well if they plan to turn learn.svelte.dev into a full blown REPL is also yet to be seen. But these things can't be too far out.

While this feature and WebContainers are awesome, I still like the REPL as a lightweight alternative(in addition, not instead) to a virtual OS simulation on the web.

from sites.

opensas avatar opensas commented on July 21, 2024

Great to know, it really is a very useful tool.

from sites.

mawoka-myblock avatar mawoka-myblock commented on July 21, 2024

Wold be nice for sure! Would make REPL useful again!

It is definitely not useless, but TypeScript support would be great!

from sites.

r-sw-eet avatar r-sw-eet commented on July 21, 2024

omg, just found out, that ts in repl is not working. coming from angular, that hurts.
you are cutting off many devs trying out svelte via learning on repl.

from sites.

gyurielf avatar gyurielf commented on July 21, 2024

Any update on this ?
It's still awaited feature.

from sites.

markjaquith avatar markjaquith commented on July 21, 2024

The Svelte 5 Preview Repl seems to support TypeScript. Can it be assumed that when Svelte 5 is released, that repl will graduate?

from sites.

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.