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 — Typescript: Prettier incorrectly breaks up constructor properties from modifiers when there is a decorator and comment before it · Issue #16207 · prettier/prettier Labels area:commentsIssues with how Prettier prints commentslang:typescriptIssues affecting TypeScript-specific constructs (not general JS issues)locked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting. DescriptionPrettier 3.2.5 --parser typescript Input: function required(target: Object, propertyKey: string | symbol, parameterIndex: number) { } class Foo { constructor( @required // prettier-ignore protected readonly myParam: string, ) {} } Output: function required( target: Object, propertyKey: string | symbol, parameterIndex: number, ) {} class Foo { constructor( @required protected readonly // prettier-ignore myParam: string, ) {} } Expected output: function required( target: Object, propertyKey: string | symbol, parameterIndex: number, ) {} class Foo { constructor( @required // prettier-ignore protected readonly myParam: string, ) {} } Why? Because Activity
MetadataMetadataAssigneesLabelsarea:commentsIssues with how Prettier prints commentslang:typescriptIssues affecting TypeScript-specific constructs (not general JS issues)locked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting. TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402792 — 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. |