chore(repo): prune dead code and duplicate abstractions (#3413)

This commit is contained in:
Hampus authored and GitHub committed 2026-10-12 13:09:42 +02:00
1 parent c17091768c
commit c9fdf8fead
2937 files changed
+42233 -176793

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
{
"name": "@fluxer/record_utils",
"version": "0.0.0",
"private": true,
"type": "module",
"exports": {
"./*": "./*"
},
"scripts": {
"typecheck": "tsc --noEmit"
},
"devDependencies": {
"@types/node": "catalog:",
"typescript": "catalog:ts7"
}
}
@@ -0,0 +1,9 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
export function isObjectLike(value: unknown): value is Record<string, unknown> {
return typeof value === 'object' && value !== null;
}
export function isRecord(value: unknown): value is Record<string, unknown> {
return isObjectLike(value) && !Array.isArray(value);
}
+5
View File
@@ -0,0 +1,5 @@
{
"extends": "../../tsconfigs/package.json",
"compilerOptions": {},
"include": ["src/**/*"]
}