Re: Symbol.await proposal

2020-06-22 Thread Wesley Oliver
k of intentional usage, so > search codebase later. > If you have old library with no types, then basically import the new > library with types under a different alias name, > then have both old and new versions and peace meal upgrade as required. > > Kind Regards, > > W

Re: Symbol.await proposal

2020-06-22 Thread Wesley Oliver
with the last parameter, it is a convention. Kind Regards, Wesley Oliver On Mon, Jun 22, 2020 at 9:21 PM James M Snell wrote: > For many legacy code bases that are based on callbacks mechanisms like > node.js' promisify function are required to help facilitate the transition > from callbac

Re: Symbol.await proposal

2020-06-22 Thread Wesley Oliver
> > > Hi James, > > I did alot of upgrading of javascript codebase to typescript code base > about 2 years ago for a year, where the goal was to get everything promised > and then basically > were possible ideally move to the await method. This required for us to > come up with peace meal approach

Re: Consistency in common operators across various types.

2020-04-10 Thread Wesley Oliver
/1065G_MqNMFL_fBhSHSfH3ju0FUKC5iRpbj1iVwgAh3o/edit?usp=sharing Kind Regards, Wesley Oliver On Fri, Apr 10, 2020 at 3:33 PM Wesley Oliver wrote: > Hi, > > Just like to maybe challenge javascript here or any script language in > that mater. > > The definition of comparing two variable

Consistency in common operators across various types.

2020-04-10 Thread Wesley Oliver
} [comp-ops]:number { } Consistency and behaviour consistent across types is key to scripting language becoming more powerful. Rather use the function in future if there is no consistency across backing types for the operator. Kind Regards, Wesley Oliver -- GitHub:https://github.com/wesl