-
Notifications
You must be signed in to change notification settings - Fork 13.4k
JSDoc: Support @readonly tag #17233
Copy link
Copy link
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
Metadata
Metadata
Assignees
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
TypeScript Version: nightly (2.5.0-dev.20170712)
Code
Expected behavior:
Both lines in
mare errors.Actual behavior:
No error when trying to write to
@readonlyproperty.