Skip to content

Commit c4796a6

Browse files
committed
fix prettier
1 parent d3cb08a commit c4796a6

2 files changed

Lines changed: 13 additions & 8 deletions

File tree

test/transpile/plugins/afterPrint.ts

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,20 @@ import * as ts from "typescript";
22
import * as tstl from "../../../src";
33

44
const plugin: tstl.Plugin = {
5-
afterPrint(program: ts.Program, options: tstl.CompilerOptions, emitHost: tstl.EmitHost, result: tstl.ProcessedFile[]) {
6-
void(program);
7-
void(options);
8-
void(emitHost);
5+
afterPrint(
6+
program: ts.Program,
7+
options: tstl.CompilerOptions,
8+
emitHost: tstl.EmitHost,
9+
result: tstl.ProcessedFile[]
10+
) {
11+
void program;
12+
void options;
13+
void emitHost;
914

1015
for (const file of result) {
1116
file.code = "-- Commented added by afterPrint plugin\n" + file.code;
1217
}
13-
}
18+
},
1419
};
1520

1621
// eslint-disable-next-line import/no-default-export

test/transpile/plugins/beforeTransform.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ import * as tstl from "../../../src";
33

44
const plugin: tstl.Plugin = {
55
beforeTransform(program: ts.Program, options: tstl.CompilerOptions, emitHost: tstl.EmitHost) {
6-
void(program);
7-
void(emitHost);
6+
void program;
7+
void emitHost;
88

99
// Modify settings
1010
options.outDir = "plugin/beforeTransform/outdir";
11-
}
11+
},
1212
};
1313

1414
// eslint-disable-next-line import/no-default-export

0 commit comments

Comments
 (0)