Ryan Cavanaugh

Results 457 comments of Ryan Cavanaugh

I can't reproduce this in a clean repro: * npm init, tsc init * npm install react-native * In a TS file, `import "react-native"` * Type "View" * Auto-import adds...

It's not really clear how you could make this work in a general case. Consider the case where you have some generic type with a type constraint: ```ts type F...

If you had a .d.ts file which you consumed and you published it along with your package, and someone else did the same thing, then you'd have a conflict in...

It was pretty contentious during the design meeting, so I'd love to hear about the divergent getter setter pairs you have

People usually tell me that they don't want the ts-ignore to "stick around forever"; there's more of a trade off than might seem at first. I don't use either construct...

I doubt this would meet the bar for inclusion but we can listen for feedback. There'd probably have to be some new syntax for this, since `infer` can already appear...

If you were close to hitting the limit before and inference slightly changed in a generally non-observable way (say, to fix a bug), you might end up hitting the limit....

If your OS isn't providing watch events, then you can use a polling based watch strategy in your TS config or command line: https://www.typescriptlang.org/tsconfig#watchOptions

This is supported, see #49578

Please file bug report using the template if you believe you have a bug. Thanks!