Skip to content

Commit

Permalink
Updated README formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Mateusz Stawecki committed Mar 11, 2020
1 parent 0a8940a commit 203959a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 203959a

Please sign in to comment.