15027: Fixes unused declarations errors.
[arvados-workbench2.git] / src / validators / max-length.tsx
index 922e3e52706093929f04a44641e3276187cdbf78..370aa4c3a2ac939dbe8d957c8e1d7df691c4f22a 100644 (file)
@@ -5,12 +5,6 @@
 export const ERROR_MESSAGE = 'Maximum string length of this field is: ';
 export const DEFAULT_MAX_VALUE = 60;
 
-interface MaxLengthProps {
-    maxLengthValue: number;  
-    defaultErrorMessage: string;
-}
-
-// TODO types for maxLength
 export const maxLength: any = (maxLengthValue = DEFAULT_MAX_VALUE, errorMessage = ERROR_MESSAGE) => {
     return (value: string) => {
         if (value) {