main
ts 18 lines 239 Bytes
Raw
1 function useFoo(setOne: boolean) {
2 let x;
3 let y;
4 let z;
5 if (setOne) {
6 x = y = z = 1;
7 } else {
8 x = 2;
9 y = 3;
10 z = 5;
11 }
12 return {x, y, z};
13 }
14
15 export const FIXTURE_ENTRYPOINT = {
16 fn: useFoo,
17 params: [true],
18 };