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 — Suggestion: Use the keyword "readonly" as an accessor for classes · Issue #10064 · microsoft/TypeScript Closed Labels DuplicateAn existing issue was already createdAn existing issue was already created DescriptionUse case: we need a class In JavaScript, if we want to use a class instead of a closure, we have to make a public property: In TypeScript, we could proceed in the same way. But it is tempting to use an accessor However, it is verbose, less readable, less performant . I suggest the following syntax: It is the same solution as in JavaScript, but with a better control to access (and less JSDoc). Activity
MetadataMetadataAssigneesLabelsDuplicateAn existing issue was already createdAn existing issue was already created 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. |