GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — JSDoc: Support `@readonly` tag · Issue #17233 · microsoft/TypeScript Closed Labels Domain: JSDocRelates to JSDoc parsing and type generationRelates to JSDoc parsing and type generationDomain: JavaScriptThe issue relates to JavaScript specificallyThe issue relates to JavaScript specificallyIn DiscussionNot yet reached consensusNot yet reached consensusSuggestionAn idea for TypeScriptAn idea for TypeScript DescriptionTypeScript Version: nightly (2.5.0-dev.20170712) Code class C { constructor() { /** * @readonly * @type {number} */ this.x = 0; } m() { this.x = "1"; // Error this.x = 1; // No error } } Expected behavior: Both lines in Actual behavior: No error when trying to write to Reacted by Ian Copp, stephen, Guilherme Lepsch, Cardin Lee, Derek Sifford, Arend van Beelen jr., Matt Tingen, Rannie Peralta, Michael Schmidt, AnyhowStep and 4 more Reacted by stephen Reacted by stephen and Rannie Peralta Activity
MetadataMetadataAssigneesLabelsDomain: JSDocRelates to JSDoc parsing and type generationRelates to JSDoc parsing and type generationDomain: JavaScriptThe issue relates to JavaScript specificallyThe issue relates to JavaScript specificallyIn DiscussionNot yet reached consensusNot yet reached consensusSuggestionAn idea for TypeScriptAn idea for TypeScript TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |