1 parent
a1e354d7fc
commit
d52e905869
2 files changed
+33
No files matched your search
@@ -0,0 +1,7 @@
|
||||
class Foo {
|
||||
constructor(
|
||||
@required
|
||||
// comment
|
||||
protected readonly myParam: string,
|
||||
) {}
|
||||
}
|
||||
@@ -222,6 +222,32 @@ class Foo {
|
||||
================================================================================
|
||||
`;
|
||||
|
||||
exports[`16207.ts format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["typescript"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
=====================================input======================================
|
||||
class Foo {
|
||||
constructor(
|
||||
@required
|
||||
// comment
|
||||
protected readonly myParam: string,
|
||||
) {}
|
||||
}
|
||||
|
||||
=====================================output=====================================
|
||||
class Foo {
|
||||
constructor(
|
||||
@required
|
||||
// comment
|
||||
protected readonly myParam: string,
|
||||
) {}
|
||||
}
|
||||
|
||||
================================================================================
|
||||
`;
|
||||
|
||||
exports[`abstract_class.ts format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["typescript"]
|
||||
|
||||
Reference in new issue
Block a user