Jeff Zou
Jeff Zou
Consider using the [`Object.is`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is) function. Nevermind that, just realized [`SameValue`](https://tc39.es/ecma262/#sec-samevalue) is quite different from [`SameValueZero`](https://tc39.es/ecma262/#sec-samevaluezero).
> `Record` runtype has `fields` property which contains the original information of passed schema, and every runtype has `tag` property, for example: `Record(...).tag === 'record'`. Doesn't it fit your needs?...
```javascript // 30.手写用 ES6proxy 如何实现 arr[-1] 的访问 function PythonArray(arr) { return new Proxy(arr, { get(target, prop, receiver) { if ((key = Number.parseInt(prop))) { const len = Reflect.get(target, 'length', receiver); prop...
Any updates? I'm also searching for a solution.
I made a preset that kind of suits your needs ([unocss-preset-types](https://github.com/zojize/unocss-preset-types)). It extracts from the typescript literal type information right now, but I can easily change it to extract actual...
Interesting bug, I believe this has to do with the rule merging behavior that unocss has, but Tailwind doesn't. For example, the following generated CSS by unocss is invalid in...