update postinstall script to also restore typings folder