Files
headplane/app/server/config/utils.ts
T
2026-04-26 20:38:45 -04:00

11 lines
256 B
TypeScript

import type { Traversal } from "arktype";
import log from "~/utils/log";
export function deprecatedField() {
return (_: unknown, ctx: Traversal) => {
log.warn("config", `${ctx.propString} is deprecated and has no effect.`);
return true;
};
}