source: imaps-frontend/node_modules/ajv-keywords/dist/definitions/transform.d.ts

main
Last change on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 518 bytes
Line 
1import type { CodeKeywordDefinition } from "ajv";
2declare type TransformName = "trimStart" | "trimEnd" | "trimLeft" | "trimRight" | "trim" | "toLowerCase" | "toUpperCase" | "toEnumCase";
3interface TransformConfig {
4 hash: Record<string, string | undefined>;
5}
6declare type Transform = (s: string, cfg?: TransformConfig) => string;
7declare const transform: {
8 [key in TransformName]: Transform;
9};
10declare const getDef: (() => CodeKeywordDefinition) & {
11 transform: typeof transform;
12};
13export default getDef;
Note: See TracBrowser for help on using the repository browser.