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!https://devblogs.microsoft.com/typescript/announcing-typescript-3-8-beta/ …
-
-
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.
1 reply 0 proslijeđenih tweetova 4 korisnika označavaju da im se sviđa
Odgovor korisnicima @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.
19:15 - 10. sij 2020.
0 replies
0 proslijeđenih tweetova
2 korisnika označavaju da im se sviđa
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.