Upgrade to typescript 8.1.1