James Wyatt Cready-Pyle

Results 79 comments of James Wyatt Cready-Pyle

FWIW Google's Java implementation provides merge options. I had implemented something similar when trying to add support for FieldMasks in protobuf-ts: https://github.com/timostamm/protobuf-ts/pull/576/files#diff-e04b7f4fd332304149f09e1fb00a2c4d2b7635c142703d536d7e97fa0566c106

:+1: And it's easy to fix. Simply pass `Date.now()` into that `useFakeTimers()` method.

Please just revert whatever change caused this. I'm not going to disable my extensions just to see documentation.

Ahh, thanks @coderhaoxin. However doesn't this mean that if a client sent a request for a very large file (let's say 1GB) with a `Range: 0-1` header that, while the...

Similarly, if a client sent a request with `Range: -1` the read stream created by this module would have to read the entire file before finally being able to send...

Why not simply depend on `pillarjs/send`?

The `standard-format`, `semistandard-format`, and `happiness-format` packages all seem to run synchronously. So if you change `this.style` to one of those instead of `standard` then the format on save feature should...

You should be able to create these functions yourself ([playground](https://www.typescriptlang.org/play?#code/KYOwrgtgBAsgngUXNA3gKCpqBBAcgTSgF4oAGAGgy3wQGVioBGSrKXAeQYCY0BfNNADMwIAMYAXAJYB7EFEkBnANLA40wQB4AKlGAAPcaAAmCqCl4A+ABTiAXFC3koAa1X2F4gE6SQAcwCU9q5w8qYe3n5QAGQuquoOZlSYnsDiYJ5ywfJy4gDcfALCYlKyUL6pAAqe0uLSSJAAagCGADZgwOyeACLAgk1gLeLaugbGpubWwPaOsXDuXj4B9qRQAD4OANrhi9Gz8VoAuomsKWkZoSpqglbATsH+UAD8uhvBR8v5-GiisgrSLcAAHQtaS+KzweoQDYAIhotGhB38+QB4lmDGhMGw+AAQghoflvr9UU0GOVxFUanVkM02h1ur1+oNwYhkHdVEi0AB6TmsAB6j0JIA8UAARgwIcgNk0DvluXyBWhJIIoFZFJd1MzIWy4P4HuhWD8hf8gSCwRLIK9VIjPkA)): ```ts function isKeyof(t: T, key: string): key is string & keyof T { return key in t; } function getEnumValueOrDefault(e:...

The enums are just TS enums. No extra properties or methods can be added and have them be TS enums.