Nathan Shively-Sanders

Results 121 comments of Nathan Shively-Sanders

Big picture: this is a types-only problem. `@types/express` depends on `@types/serve-static` which depends on `@types/mime`. There are no source packages involved. The required action is an update to `@types/serve-static` and...

I was wrong, the types haven't changed significantly from mime 2 to 3. I opened https://github.com/DefinitelyTyped/DefinitelyTyped/pull/61509 to update the types.

Would it be enough to copy the original map files? I don't know how good map files at recovering from incorrect information -- probably not that great.

The code itself should be stupidly easy; I just made a test project in ASP.NET and the page pretends very hard to be a Windows Form. Not sure how hard...

The Right Thing is probably to build up a map by searching through FSharp.Core looking for types that have IsAbbreviation set. (Note that the abbreviations are recursive; int -> int32...

@DanielRosenwasser could a TS plugin do this? It’s been over a year since I used that API, but I think it has the ability to hook the completion requests and...

I have an initial PR, for typeof and import types, up at Kuniwak/jsdoctypeparser#51. I'll create a matching PR here, but it'll depend on a new version of jsdoctypeparser being available.

I like the jsdoctypeparser parser code itself, although it is quite old and hasn't been touched in 2.5 years or so. Maybe it just needs more maintainers. Its licence is...

I haven't heard back from my PR on jsdoctypeparser, so I think moving the code here is a good idea. I'll take a look when I have time, which may...

@ExE-Boss I think that would be determined by `rules/validTypes.js`, since both types parse correctly in jsdoctypeparser. Also, for Typescript, I don't recommend putting types in JSDoc since the types should...