Files
headplane/app/server/config/utils.ts
T
2025-12-01 02:46:22 -05:00

10 lines
249 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;
};
}