web-padawan / lit-components

Moved to https://github.com/vaadin/component-mixins

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TypeScript?

DJCordhose opened this issue · comments

Have you considered doing this in TypeScript? As a first step renaming from js to ts and a bit of tsconfig should do.

Thanks for the question. Yes, I was thinking about it, although probably not as a first priority.
There might be changes needed to get Karma coverage working with TS, hopefully easy to do.

Currently fiddling around to get Karma tests working with TS in another project,

https://www.npmjs.com/package/karma-typescript

seems to do the trick for me, will share once I have something running.

Ongoing work to keep you up to date about progress

#36

Update: we are in progress of switching to TypeScript. All the converted components will use it.
Also there is a set of common mixins written in TS: https://github.com/vaadin/component-mixins