Merge pull request 'nico/21-jan-26' (#51) from nico/21-jan-26 into staggingweb

Reviewed-on: http://wibugit.wibudev.com/wibu/desa-darmasaba/pulls/51
This commit is contained in:
2026-01-21 12:10:18 +08:00
60 changed files with 1854 additions and 316 deletions

View File

@@ -0,0 +1,7 @@
export default function serializeBigInt<T>(data: T): T {
return JSON.parse(
JSON.stringify(data, (_, value) =>
typeof value === "bigint" ? value.toString() : value
)
);
}