Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: no more adding infinite boolean for function returning promise (#β¦
β¦1481) <!-- π Hi, thanks for sending a PR to TypeStat! π. Please fill out all fields below and make sure each item is true and [x] checked. Otherwise we may not be able to review your PR. --> ## PR Checklist - [x] Addresses an existing open issue: fixes #1447 - I think it also fixes #1284 - [x] That issue was marked as [`status: accepting prs`](https://github.com/JoshuaKGoldberg/TypeStat/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22) - [x] Steps in [CONTRIBUTING.md](https://github.com/JoshuaKGoldberg/TypeStat/blob/main/.github/CONTRIBUTING.md) were taken πΉ ## Overview <!-- Description of what is changed and how the code change does that. --> It was this small change in the end?? Note, `async function navigateTo(): Promise<boolean> | boolean {` and `async function navigateTo2(): Promise<boolean> | boolean {` are wrong. Both should return only `Promise<boolean>`. I can remove those from the test but I wanted to keep them to see, the difference. Co-authored-by: rubiesonthesky <rubiesonthesky>
- Loading branch information