Skip to content

Commit 97b75e2

Browse files
committed
Fix lint
1 parent faa8ca7 commit 97b75e2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/print/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ export const printer: Printer<Node | undefined> = {
129129
}
130130

131131
// Nothing to embed, so move on to the regular printer.
132-
return undefined;
132+
return;
133133
};
134134
},
135135

@@ -145,7 +145,7 @@ export const printer: Printer<Node | undefined> = {
145145
* Remove the semicolons and empty strings that Prettier added so we can manage
146146
* them.
147147
*/
148-
function trimPrinted(printed: doc.builders.Doc[]) {
148+
function trimPrinted(printed: doc.builders.Doc[]): void {
149149
while (
150150
docMatchesString(printed[0], ';') ||
151151
docMatchesString(printed[0], '')

0 commit comments

Comments
 (0)