<!–
Thank you for submitting a pull request!
Please verify that:
Backlog milestone (required)main branchADdresses #28452
<!–
Thank you for submitting a pull request!
Here's a checklist you might find useful.
When TypeScript with pretty enabled gives an error messages:
source/commands/init/state-setup.ts(21,40): error TS2339: Property 'bold' does not exist on type 'typeof "/Users/orta/dev/projects/danger/danger-js/node_modules/cha...
<!–
Thank you for submitting a pull request!
Here's a checklist you might find useful.
[x] There is an associated issue that is labelled
'Bug' or 'Accepting PRs' or is in the Community milestone
[x] Code is up-to-date with the …
Fix for issue #5810
There is a todo above about fixing this area of code properly but I don't know the codebase well enough for that at the moment.
This fixes #6064, by improving the error message in the case when a decorator is rejected for being on a method overload, not an implementation.
I'm happy this works, but I'm not super happy with the detection of whether it's a method…
This fixes the issue and doesn't break any other tests, however I don't understand the comment on line 3751. Hopefully I haven't missed anything.
Rather than blindly assuming 'typings' is a string (and exploding when it's not), we now check, and gracefully move on it not.
I've avoided throwing exceptions if the type of this is incorrect, and instead quietly ignoring it. I'm a b…
Fix import statement formatting problems on #5947
This is my first PR to this project so please let me know if I've missed anything.