typescript@next now supports @private and @protected in Javascript files. They work the same as in TS:
class C {
/** @protected */
x = 1
}
-
-
`this.x` is fine in the same method. Anyway, if you *do* use classes in JS a lot, try out typescript@next and let me know what you think.
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
Č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.