Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
runspired committed Dec 19, 2024
1 parent 7a9f4ae commit 89f8bbf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/tracking/src/-private.ts
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,6 @@ export function createSignal<T extends object>(obj: T, key: string): Signal {
}
const modelName =
tryGet('$type') ?? tryGet('modelName') ?? tryGet<{ modelName?: string }>('constructor')?.modelName ?? '';
// eslint-disable-next-line @typescript-eslint/no-base-to-string
const className = obj.constructor?.name ?? obj.toString?.() ?? 'unknown';
_signal._debug_base = `${className}${modelName && !className.startsWith('SchemaRecord') ? `:${modelName}` : ''}`;
}
Expand Down

0 comments on commit 89f8bbf

Please sign in to comment.