Skip to content

Commit bcc8652

Browse files
authored
Fix bad ES version for async/await
Async/await have been standardized in ES2017 (aka ES8) not ES7
1 parent 4e9065f commit bcc8652

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
TypeORM is an [ORM](https://en.wikipedia.org/wiki/Object-relational_mapping)
2424
that can run in NodeJS, Browser, Cordova, PhoneGap, Ionic, React Native and Electron platforms
25-
and can be used with TypeScript and JavaScript (ES5, ES6, ES7).
25+
and can be used with TypeScript and JavaScript (ES5, ES6, ES7, ES8).
2626
Its goal is to always support the latest JavaScript features and provide additional features
2727
that help you to develop any kind of application that uses databases - from
2828
small applications with a few tables to large scale enterprise applications
@@ -624,7 +624,7 @@ It's not a new copy of the object, it modifies its "id" and returns it.
624624

625625
### Using async/await syntax
626626

627-
Let's take advantage of the latest ES7 features and use async/await syntax instead:
627+
Let's take advantage of the latest ES8 (ES2017) features and use async/await syntax instead:
628628

629629
```typescript
630630
import {createConnection} from "typeorm";

0 commit comments

Comments
 (0)