Ryan Cavanaugh

Results 457 comments of Ryan Cavanaugh

To expedite the triage process, we need everyone to follow the issue template and instructions. When you clicked "Create New Issue", the issue form was pre-populated with a template and...

I'd be super curious to look at this code that returns exception values through normal control flow

Why use the built-in exception type though, that's the part I don't get

First off, thanks for the neat PR. I thought this deserved a bit of a deep dive. Regarding the implementation of `self` - in general it doesn't "work" to try...

The problem here has to do with what actually constitutes a string when you're only talking about this in a structural context. You could argue that the only thing that...

Typescript obviously can't know if you're running pnpm or not, so please provide a repro that doesn't depend on that tool

@Sn-Kinos I'd like you to provide a repro that doesn't require running tools that aren't TypeScript. TypeScript can only see the layout of files on disk so whatever problem you...

This follows pretty directly from the rules about which assertions are and aren't allowed. Is there something different about this case in particular, or are you just saying all assertions...

Useful for anyone investigating a fix: https://stackoverflow.com/questions/520910/how-to-simulate-windows-shutdown-for-debugging

It'd be good to collect some more use cases here. The main objection from the design meeting was that once there are two different kinds of type guards, there's an...