main
Last change
on this file since 79a0317 was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
518 bytes
|
Line | |
---|
1 | import type { CodeKeywordDefinition } from "ajv";
|
---|
2 | declare type TransformName = "trimStart" | "trimEnd" | "trimLeft" | "trimRight" | "trim" | "toLowerCase" | "toUpperCase" | "toEnumCase";
|
---|
3 | interface TransformConfig {
|
---|
4 | hash: Record<string, string | undefined>;
|
---|
5 | }
|
---|
6 | declare type Transform = (s: string, cfg?: TransformConfig) => string;
|
---|
7 | declare const transform: {
|
---|
8 | [key in TransformName]: Transform;
|
---|
9 | };
|
---|
10 | declare const getDef: (() => CodeKeywordDefinition) & {
|
---|
11 | transform: typeof transform;
|
---|
12 | };
|
---|
13 | export default getDef;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.