Files
starface-outlook-sync-addin/node_modules/ajv-keywords/dist/definitions/transform.d.ts
T
Stefan Hacker 37ad745546 first commit
2026-04-03 09:38:48 +02:00

14 lines
518 B
TypeScript

import type { CodeKeywordDefinition } from "ajv";
declare type TransformName = "trimStart" | "trimEnd" | "trimLeft" | "trimRight" | "trim" | "toLowerCase" | "toUpperCase" | "toEnumCase";
interface TransformConfig {
hash: Record<string, string | undefined>;
}
declare type Transform = (s: string, cfg?: TransformConfig) => string;
declare const transform: {
[key in TransformName]: Transform;
};
declare const getDef: (() => CodeKeywordDefinition) & {
transform: typeof transform;
};
export default getDef;