Twitter | Pretraživanje | |
TypeScript
We just released TypeScript 3.8 Beta! Try out our new features like type-only imports, and ECMAScript features like private fields, `export * as foo`, top-level 'await', and more!
Today we’re announcing the availability of TypeScript 3.8 Beta! This Beta release contains all the new features you should expect from TypeScript 3.8’s final release. To get started using the beta,...
Reply Retweet Označi sa "sviđa mi se" More
Rob Palmer 10. sij
Odgovor korisniku/ci @typescript @atcb
I am super excited for type-only imports. Thank you for making this happen !
Reply Retweet Označi sa "sviđa mi se"
mudlee 11. sij
Odgovor korisniku/ci @typescript
Is there a chance to have Typescript WITHOUT Javascript? Typescript will never be a real language if it always falls back to js and follows its stupidity.
Reply Retweet Označi sa "sviđa mi se"
./orta --tsc 11. sij
Odgovor korisniku/ci @mrmudlee @typescript
It’s been explored by microsoft research , but it’ll never be a goal of the main project
Reply Retweet Označi sa "sviđa mi se"
Bruno Lemos 14. sij
Odgovor korisniku/ci @typescript @drosenwasser
Great work on all these super detailed changelogs 👏
Reply Retweet Označi sa "sviđa mi se"
Daniel Rosenwasser 14. sij
Odgovor korisniku/ci @brunolemos @typescript
Thank you!
Reply Retweet Označi sa "sviđa mi se"
Matheus Salmi 10. sij
Odgovor korisniku/ci @typescript
I’m not sure the arguments for using `private` convince me. It’d be cool to have it translated as the # version used by JavaScript instead of having both. Sure, it’s a breaking change but I guess it makes sense to force this correction.
Reply Retweet Označi sa "sviđa mi se"
Jackson Kearl 11. sij
Odgovor korisniku/ci @mathsalmi @typescript
This is not possible. An access to a field would need to have differing emits based on the type of the object (add the hash if it is a private field of the current class). Type-directed imports are an explicit non-goal of TS.
Reply Retweet Označi sa "sviđa mi se"
Thomas Khalil 11. sij
Odgovor korisniku/ci @typescript @buschtoens
TOP LEVEL AWAIT!!!!!
Reply Retweet Označi sa "sviđa mi se"
Jan Buschtöns 🏳️‍🌈 11. sij
Odgovor korisniku/ci @bitshifta @typescript
not gonna lie, I'm even more stoked about the type-only exports / imports. 😅
Reply Retweet Označi sa "sviđa mi se"
Jean-Baptiste Nizet 11. sij
Odgovor korisniku/ci @typescript
Can we declare a hard private property as a constructor argument: `constructor(: string) {}` as we can do with private: `constructor(private foo: string) {}`?
Reply Retweet Označi sa "sviđa mi se"