Ryan Cavanaugh

Results 618 comments of Ryan Cavanaugh

@saschanaz only for display purposes We might be able to do a sneaky workaround like `string | Function | never` ?

This is using a deprecated compiler option (shown here in 6.0) ``` tsconfig.json:6:25 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations":...

Closing language service bugs related to the 6.0 implementation. For more information, see #62827

This is effectively what you want, though it will allow "enum-like" things (which is probably a feature) ```ts type StandardEnum = { [id: string]: T | string; [nu: number]: string;...

Can you use [every-ts](https://github.com/jakebailey/every-ts) to narrow this down to a specific commit? That would be extremely helpful in terms of figuring out next steps

~All of our performance work is focused on typescript-go at the moment. If 5.6 is available to you and 7.0 will be ~10x faster it's unlikely we'd investigate a fix...

I think the example was unintentionally written against a pre-`String#at` target

Looks nice, please go ahead with the PR. Thanks!