You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(17,4): An index signature parameter type cannot be a type alias. Consider writing '[key: string]: { message: string; rule: (val: any, params?: any) => boolean; }' instead.
The text was updated successfully, but these errors were encountered:
Are you importing /src/simple-react-validator.js and not the correct /dist/simple-react-validator.js file by any chance? It should be the dist you are importing. If not, please share some more details on what you are seeing.
Getting below error after import:
(17,4): An index signature parameter type cannot be a type alias. Consider writing '[key: string]: { message: string; rule: (val: any, params?: any) => boolean; }' instead.
The text was updated successfully, but these errors were encountered: