source: imaps-frontend/node_modules/konva/lib/Validators.d.ts

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

Update repo after prototype presentation

  • Property mode set to 100644
File size: 1.0 KB
RevLine 
[d565449]1export declare function RGBComponent(val: number): number;
2export declare function alphaComponent(val: number): number;
3export declare function getNumberValidator(): (<T>(val: T, attr: string) => T | void) | undefined;
4export declare function getNumberOrArrayOfNumbersValidator(noOfElements: number): (<T>(val: T, attr: string) => T | void) | undefined;
5export declare function getNumberOrAutoValidator(): (<T extends string>(val: T, attr: string) => T | void) | undefined;
6export declare function getStringValidator(): ((val: any, attr: string) => any) | undefined;
7export declare function getStringOrGradientValidator(): ((val: any, attr: string) => any) | undefined;
8export declare function getFunctionValidator(): ((val: any, attr: string) => any) | undefined;
9export declare function getNumberArrayValidator(): ((val: any, attr: string) => any) | undefined;
10export declare function getBooleanValidator(): ((val: any, attr: string) => any) | undefined;
11export declare function getComponentValidator(components: any): ((val: any, attr: string) => any) | undefined;
Note: See TracBrowser for help on using the repository browser.