We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6abab81 commit 8cca6f2Copy full SHA for 8cca6f2
typescript/test-format.ts
@@ -1,4 +1,7 @@
1
// Test file for prettier formatting
2
-const test={a:1,b:2,c:3};
3
-function badFormat(x:number,y:string){return x+y;}
4
-export default test;
+const test = { a: 1, b: 2, c: 3, d: 4 };
+function badFormat(x: number, y: string) {
+ return x + y;
5
+}
6
+const another = { badly: "formatted" };
7
+export default test;
0 commit comments