Aaron Huggins

Results 29 comments of Aaron Huggins

@prakashsvmx Is this on target to be included in a release by March 31? Or should we expect this down the road?

Pretty easy using existing features. Auto-discovery of a Deno project might be nice, but this works pretty well for me. I set it in `.vscode/settings.json` in my Deno projects. ```json...

@shiftgeist That's an option, but it may suffer form portability concerns as not all unix/linux variants support multiple arguments in a hashbang, and those that do support it with `/usr/bin/env`...

@konsumer Here's a working solution for a fetch proxy. Please include an MIT license declaration and my name as author with this code. ### `./types.ts` ```typescript export type WebviewResponseJSON =...

Based on the implementation in Rust, I think your request is actually a bug. Current behavior appears to deviate from Rust based on [`From`](https://doc.rust-lang.org/std/option/enum.Option.html#impl-From%3CT%3E-for-Option%3CT%3E).

Idea, going with your point about interop. Perhaps we add an error type that catches all non-ErrorLike, non-string values? The reason I bring this up is that consumers of `Err`...

FYI, I'm a sucker for JSON serializable errors when given the chance.

I'd probably ditch `interface ErrorKind` and `type ErrorLike` and just check for `Error` if the `AmbiguousError` class were implemented. ```TypeScript function isError(input: any): input is Error { return ( input...