zanminkian

Results 33 comments of zanminkian

> The thing is that osxfs has bad performance compared to grpc, and even worse compared to virtiofs... Yes that `gRPC FUSE` also solves this issue for me and have...

The workflow of `koa` is not modern. `koa` was released to npm manually. So missing changelog is within the bounds of reason.

@dimaMachina From my point of view, `foo installceof Object` is better than `Boolean(foo) && typeof foo === 'object'`. People usually forget to add `Boolean(foo)`. Moreover, non-object judgement will be verbose,...

> `instanceof` should be avoided for built-ins as it does not work across realms (iframes, Node.js VM, etc). Thanks! `instanceof` seems not safe in some edge case. Personally,I seldom use...

Example ```ts const obj = { a: 123 } delete obj.b // type error Reflect.deleteProperty(obj, 'b') // pass ```

Adding restriction to function parameters is difficult. ```ts // reflect-delete-property.d.ts declare namespace Reflect { /** * Removes a property from an object, equivalent to `delete target[propertyKey]`, * except it won't...

https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/consistent-destructuring.md

https://github.com/sindresorhus/eslint-plugin-unicorn/issues/2364

https://github.com/typescript-eslint/typescript-eslint/issues/4571#issuecomment-1272609077