Re: Migrating NodeJS client to TypeScript

2020-12-07 Thread Igor Sapego
Cool, I like the idea. You've got a +1 from me Best Regards, Igor On Tue, Dec 1, 2020 at 12:20 PM Данилов Семён wrote: > Yes, TS compiler produces JS files and TS-typings. Users that are already > using JS version will have a seamless migration. Note: we'll have to > publish compiled JS files

Re: Migrating NodeJS client to TypeScript

2020-12-01 Thread Данилов Семён
Yes, TS compiler produces JS files and TS-typings. Users that are already using JS version will have a seamless migration. Note: we'll have to publish compiled JS files along with typings. - Semyon. 01.12.2020, 09:59, "Ivan Daschinsky" : >>  Is there any value in keeping both versions - the pl

Re: Migrating NodeJS client to TypeScript

2020-11-30 Thread Pavel Tupitsyn
Semyon, Fully agree, TypeScript is the way to go. > full rewrite I would not call it a "full rewrite", because TypeScript is a superset of JavaScript. 1. Converting to TypeScript mostly means adding type annotations and tweaking the code, not rewriting it from scratch 2. The conversion can be gr

Re: Migrating NodeJS client to TypeScript

2020-11-30 Thread Ivan Daschinsky
> Is there any value in keeping both versions - the plain JavaScript one and the TypeScript specific Hi! No, there is no value. TS sources should be transpiled to JS before execution. вт, 1 дек. 2020 г. в 01:31, Denis Magda : > Hi Semyon, > > Is there any value in keeping both versions - the plai

Re: Migrating NodeJS client to TypeScript

2020-11-30 Thread Denis Magda
Hi Semyon, Is there any value in keeping both versions - the plain JavaScript one and the TypeScript specific? - Denis On Mon, Nov 30, 2020 at 12:16 PM Данилов Семён wrote: > Hello Igniters! > > I'd like to propose a big change for the nodejs thin client: a full > rewrite from JavaScript to T