From 203959ae395013f907371d98511e70423ed00540 Mon Sep 17 00:00:00 2001 From: Mateusz Stawecki Date: Wed, 11 Mar 2020 13:28:12 +0000 Subject: [PATCH] Updated README formatting --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b46a4b0..d8ece57 100644 --- a/README.md +++ b/README.md @@ -262,7 +262,7 @@ api.get('/users', (req,res) => { }) ``` -### Async/Await +### Async/Await If you prefer to use `async/await`, you can easily apply this to your route functions. @@ -1354,8 +1354,8 @@ If you are using persistent connections in your function routes (such as AWS RDS ## TypeScript Support An `index.d.ts` declaration file has been included for use with your TypeScript projects (thanks @hassankhan). Please feel free to make suggestions and contributions to keep this up-to-date with future releases. -** TypeScript Example ** -```javascript +**TypeScript Example** +```typescript // import AWS Lambda types import { APIGatewayEvent, Context } from 'aws-lambda'; // import Lambda API default function