perf(react:can): moves prop type checks undef `if`, so they can be removed for production builds
perf(react:can): moves prop type checks undef `if`, so they can be removed for production builds

stalniy/casl,stalniy/casl,stalniy/casl,stalniy/casl