It sometimes happens with yarn that the postinstall script is not executed, and I silently end up with an unpatched typescript.
It would be good if that could be checked on command line by changing the exit code of the check command if nothing is patched.