refactor: remove dead code (#3337)

This commit is contained in:
Hampus authored and GitHub committed 2026-10-09 01:41:26 +02:00
1 parent a19002652b
commit 93d1f8af46
1527 files changed
+21170 -73846

No files matched your search

+2 -2
View File
@@ -3,12 +3,12 @@
const SYNTHETIC_STATE_FLAG = '__fluxer_synth';
const MAX_SYNTHETIC_DEPTH = 6;
export interface SyntheticHistoryState {
interface SyntheticHistoryState {
[SYNTHETIC_STATE_FLAG]: true;
depth: number;
}
export function isSyntheticHistoryState(state: unknown): state is SyntheticHistoryState {
function isSyntheticHistoryState(state: unknown): state is SyntheticHistoryState {
return (
typeof state === 'object' && state !== null && (state as Record<string, unknown>)[SYNTHETIC_STATE_FLAG] === true
);