You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I read you're working on porting to ES6. Have you considered TypeScript as an option here? It's very close to ES6, but adds (optional) typing. Having the library written in TypeScript to begin with would also make it play well with tooling for TypeScript without having to write a separate TSD (tyescript definition) file. TypeScript can then trivially be transpiled either to ES6 or to ES5, resulting in very clean code pretty much identical to what would have been written in the first place should you have written in any of those dialects yourself, so you'd still get those "for free" as well, for users who don't want to deal with TS.
Just a thought. If you're not interested in this, I'll consider adding a TSD file for snabbt once the API settles.
Mike
The text was updated successfully, but these errors were encountered:
I read you're working on porting to ES6. Have you considered TypeScript as an option here? It's very close to ES6, but adds (optional) typing. Having the library written in TypeScript to begin with would also make it play well with tooling for TypeScript without having to write a separate TSD (tyescript definition) file. TypeScript can then trivially be transpiled either to ES6 or to ES5, resulting in very clean code pretty much identical to what would have been written in the first place should you have written in any of those dialects yourself, so you'd still get those "for free" as well, for users who don't want to deal with TS.
Just a thought. If you're not interested in this, I'll consider adding a TSD file for snabbt once the API settles.
Mike
The text was updated successfully, but these errors were encountered: