fabrykowski

Results 21 comments of fabrykowski
trafficstars

@bcherny – this PR would close multiple tickets. Would it be possible to initiate a review?

@G-Rath – in the example you gave only the finished type `AdditionalProperties` is exported – which means that declaration merging would not be available. On the other hand exporting the...

Hi! Any chance of reviewing PR #383 which might close this issue?

Why not model the type exactly after ist usage? ```typescript export type Callback = (err: Error, result: never) => void | (err: undefined, result: T) => void; ``` By the...

My bad – I didn't check it with a compiler 😬 You can use tuples in rest parameters to achieve the goal: ```typescript export type Callback = (...args: [err: Error,...

If we check for the existence of the error, then `result` does become `never`. Unfortunately if we don't check, the type of `result` is `never | T`, which TypeScript simplifies...

Since it was demonstrated to not only affect macOS, could it help to remove the "os:mac" label to signify this bug's wider reach and – perhaps – higher urgency?

Please don't close this issue. This feature would still be nice.

I'm using version 6.3.5 and seeing exactly the same behaviour.