Skip to content

Conversation

@Gerrit0
Copy link
Contributor

@Gerrit0 Gerrit0 commented Oct 3, 2020

Also fixes the bug where errors which took up the whole line would result in an empty line being included.

```ts twoslash
foo
```

followed by

```ts twoslash
declare const x: { a?: { b: boolean, c: string }}

if (x.a!.b)
    x.a.c + foo
```

now produces:

image

@ckiee ckiee requested a review from robertt October 3, 2020 17:08
Copy link
Member

@robertt robertt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect, can some empty lines be put between the if statement for readability?

@robertt robertt merged commit deecd98 into typescript-community:master Oct 3, 2020
@Gerrit0 Gerrit0 deleted the comment-hats branch October 3, 2020 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants