lewisgcm / typescript-validate

Typescript annotations for validation and sanitization

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I think it would be excellent to return a defined error type

SenvenQi opened this issue · comments

I think it would be excellent to return a defined error type, because I'm using react to meet this problem, and setState (error) is difficult.