Skip to content

Commit 203959a

Browse files
author
Mateusz Stawecki
committed
Updated README formatting
1 parent 0a8940a commit 203959a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ api.get('/users', (req,res) => {
262262
})
263263
```
264264

265-
### Async/Await
265+
### Async/Await
266266

267267
If you prefer to use `async/await`, you can easily apply this to your route functions.
268268

@@ -1354,8 +1354,8 @@ If you are using persistent connections in your function routes (such as AWS RDS
13541354
## TypeScript Support
13551355
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.
13561356

1357-
** TypeScript Example **
1358-
```javascript
1357+
**TypeScript Example**
1358+
```typescript
13591359
// import AWS Lambda types
13601360
import { APIGatewayEvent, Context } from 'aws-lambda';
13611361
// import Lambda API default function

0 commit comments

Comments
 (0)