Dimi
Explore posts from serversTTCTheo's Typesafe Cult
•Created by Dimi on 9/16/2023 in #questions
Performance concern on Nextjs 13 layout files
2 replies
SuperJSON is wrapping results in type with keys "json" and "meta"
How can I modify the transformer in SuperJSON library to only return the "json" property and ignore the "meta" property during serialization? The current behavior of the library wraps the results in the SuperJSONResult interface, but I want to access only the "json" property after serialization.
This is my current code
3 replies