Craig P Hicks

Results 17 comments of Craig P Hicks

This test case doesn't gets failed by the original code and doesn't get passed to the new function in the pull (which would pass it): ``` interface A { f(x:"a",y:string):1;...

@darrylnoakes > Coincidentally, even though all the possibilities are covered, the function still needs an ending return statement. Not sure if this is intended, and how to work around it...

@jindong-zhannng These examples, not using overloads, are better: ```ts declare const x: 1|2; function f2(): 1|2|undefined { switch (x){ case 1: return x; case 2: return x; } x; //...

Changing the `spawn` options from ``` { stdio:['pipe','pipe','pipe'] } ``` to ``` { stdio:['pipe','pipe','pipe'], detached:true } ``` solved one problem but created another. Now the following output appears on the...

[What is the equivalent of the MS C++ extension with Intellisense in vsCodium ?](https://www.reddit.com/r/vsCodium/comments/w9kaag/what_is_the_equivalent_of_the_ms_c_extension_with/)

I can confirm open source [basedpyright](https://github.com/DetachHead/basedpyright/tree/main) as a substitute for pylance and/or pyright. It is even written in python rather than TS/node. As you can see basedpyright is hosted on...

> https://docs.npmjs.com/misc/scope#associating-a-scope-with-a-registry > > > Scopes have a many-to-one relationship with registries: **one registry can host multiple scopes, but a scope only ever points to one registry**. That is an...