File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ class Foo {
2+ constructor (
3+ @required
4+ // comment
5+ protected readonly myParam : string ,
6+ ) { }
7+ }
Original file line number Diff line number Diff line change @@ -222,6 +222,32 @@ class Foo {
222222================================================================================
223223` ;
224224
225+ exports [` 16207.ts format 1` ] = `
226+ ====================================options=====================================
227+ parsers: ["typescript"]
228+ printWidth: 80
229+ | printWidth
230+ =====================================input======================================
231+ class Foo {
232+ constructor (
233+ @required
234+ // comment
235+ protected readonly myParam : string ,
236+ ) {}
237+ }
238+
239+ =====================================output=====================================
240+ class Foo {
241+ constructor (
242+ @required
243+ // comment
244+ protected readonly myParam : string ,
245+ ) {}
246+ }
247+
248+ ================================================================================
249+ ` ;
250+
225251exports [` abstract_class.ts format 1` ] = `
226252====================================options=====================================
227253parsers: ["typescript"]
You can’t perform that action at this time.
0 commit comments