Devansh Jethmalani

Results 80 comments of Devansh Jethmalani

There's also an option to support it in runtime but not include it in types (ie .d.ts won't include the uncurried overload).

There are some tests that need updating. Most of them are trivial eg addition of a new global completion called "self". So I'll fix the tests soon. Meanwhile you can...

> First off, thanks for the neat PR. I thought this deserved a bit of a deep dive. Thanks, glad you liked it. > Regarding the implementation of self -...

> about error messages, please take a look at https://github.com/microsoft/TypeScript/pull/40468 throw types What is happening here is totally unrelated to #40468. We're not throwing here, we're just retuning the type...

> Or if the `TypeFlags.ContainsSelf` gets lost somewhere? As I guessed this is what was happening. It was too much hassle to juggle and preserve that flag around so I...

Btw how do you only run a specific test case? eg I want to run `src/testRunner/unittests/publicApi.ts` only to generate the new baseline for public api and not the whole test...

I'm aware of that so I tried `hereby runtests -t publicApi.ts` (I guess that does the same thing) but apparently it doesn't work, ie it results into empty test suite....

That's a good pointer, I tried a thing or two but nothing works... - `hereby runtests -t publicApi.ts --runUnitTests` - `echo '{ "test": ["publicApi.ts"], "runUnitTests": true }' > mytest.config &&...

Btw the CI is passing, so can I get a playground build for this? That'll make it easier for everyone to play and test this PR.

@ahejlsberg have you seen this PR? I wonder if you like it? :P — I understand Ryan represents the whole team and I can discuss the nitty-gritties with him but...