Skip to content

Commit

Permalink
[squash] more tests
Browse files Browse the repository at this point in the history
Signed-off-by: Ashley Claymore <[email protected]>
  • Loading branch information
acutmore committed Jan 14, 2025
1 parent 75369e1 commit c38dd45
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 8 deletions.
15 changes: 11 additions & 4 deletions tests/fixture/cases/arrow-functions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,22 @@ const c = async <
T
> => v;

// https://github.com/bloomberg/ts-blank-space/issues/29
(function () {
// https://github.com/bloomberg/ts-blank-space/issues/29
return<T>
(v: T) => v
}());
});
(function () {
// https://github.com/bloomberg/ts-blank-space/issues/29
return/**/<
T
>/**/(v: T)/**/:
T/**/=> v
}());
});
(function* () {
yield<T>
(v: T)=>v;
});
(function* () {
throw<T>
(v: T)=>v;
});
15 changes: 11 additions & 4 deletions tests/fixture/output/arrow-functions.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c38dd45

Please sign in to comment.