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