How to create a REST API in TypeScript with serverless

Link to chapter — https://serverless-stack.com/examples/how-to-create-a-rest-api-in-typescript-with-serverless.html

The github example this points to no loner exists: (https://github.com/serverless-stack/sst/tree/master/examples/rest-api-ts

Fixed https://github.com/sst/sst/tree/master/examples/rest-api