I have a library, written in Typescript, that is being distributed in 2 files: a compiled ECMAScript-2015 compatible Javascript file index.js and a Typescript d
index.js
#private syntax is currently a stage-3 proposal for javascript. Once browsers support it then it won't be transpiled by typescript.