Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
frankthelen committed Jan 3, 2021
1 parent fc2c338 commit 02a5052
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,17 +225,9 @@ const Model = useCache ? cache.init(model) : model;
`SequelizeSimpleCache` includes type definitions for TypeScript.
They are based on the [Sequelize types](https://sequelize.org/master/manual/typescript.html).
For this module to work, your TypeScript compiler options must include:
```json
{
"compilerOptions": {
"target": "ES2015", // or later
"moduleResolution": "node",
"esModuleInterop": true
}
}
```
For this module to work, your **TypeScript compiler options** must include
`"target": "ES2015"` (or later), `"moduleResolution": "node"`, and
`"esModuleInterop": true`.
Please note that -- for the sake of good typing -- the interface of `new SequelizeSimpleCache()`
had to be changed slightly.
Expand Down

0 comments on commit 02a5052

Please sign in to comment.