Suggestion: read-only modifier · Issue #12 · Microsoft/TypeScript

Some properties in JavaScript are actually read-only, i.e. writes to them either fail silently or cause an exception. These should be modelable in TypeScript. Previous attempts to design this have ...