We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent faa8ca7 commit 97b75e2Copy full SHA for 97b75e2
1 file changed
src/print/index.ts
@@ -129,7 +129,7 @@ export const printer: Printer<Node | undefined> = {
129
}
130
131
// Nothing to embed, so move on to the regular printer.
132
- return undefined;
+ return;
133
};
134
},
135
@@ -145,7 +145,7 @@ export const printer: Printer<Node | undefined> = {
145
* Remove the semicolons and empty strings that Prettier added so we can manage
146
* them.
147
*/
148
-function trimPrinted(printed: doc.builders.Doc[]) {
+function trimPrinted(printed: doc.builders.Doc[]): void {
149
while (
150
docMatchesString(printed[0], ';') ||
151
docMatchesString(printed[0], '')
0 commit comments