News for hackers. Stuff that matters.
Re:Why doesn't TypeScript properly type Object.keys? by striking on Saturday June 24, 2023 @09:44AM (#36458640)
You can pass an arbitrary rehydration function, which can return non-JSON-representable types
Re:Why doesn't TypeScript properly type Object.keys? by Dylan16807 on Saturday June 24, 2023 @10:48AM (#36459128)
It could look at the return type of your reviver function, or at least whether you passed one in.