Make typescript a peer dependency

This allows the user to pick the version of typescript they want to use in their package.json.