Skip to content

Commit

Permalink
Improve decorator example in readme (sindresorhus#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
papb authored Mar 19, 2021
1 parent 7783e43 commit a42d720
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,8 @@ Type: `object`

Same as options for `mem()`.

```js
const mem = require('mem');
```ts
import mem = require('mem');

class Example {
index = 0
Expand Down

0 comments on commit a42d720

Please sign in to comment.