intercellular / cell

A self-driving web app framework
https://www.celljs.org
MIT License
1.5k stars 94 forks source link

Typescript Support Please!!! #147

Open uwascan opened 7 years ago

uwascan commented 7 years ago

I Love the simplicity of this Non-Framework. Do you plan to support typescript?

devsnek commented 7 years ago

if by "support typescript" you mean add a typings file, you can always make a pr yourself.

mdings commented 7 years ago

Typescript compiles to javascript so you can easily use .ts-files for cell already. Just as easy it is to use babel or whatever next-gen compiler together with cell. All you need to do is compile those files back to javascript.

The purpose of cell however is to get going without having to install any dependencies. It just runs out of the box on vanilla javascript. You could still add extra compilers though if you'd like.

devsnek commented 7 years ago

imo adding a typings file is enough, no need to rewrite in typescript

mdings commented 7 years ago

imo adding a typings file is enough, no need to rewrite in typescript

Could be. I've never actually worked with Typescript. Is that something that's typically included in a library's core?

devsnek commented 7 years ago

i haven't really worked with typescript either, but i hear that people do this thing with typing declaration files so that they don't have to do the entire project in typescript