Skip to content

Commit

Permalink
Fix syntax error in transformer example (#195)
Browse files Browse the repository at this point in the history
  • Loading branch information
chocolateboy authored and ezolenko committed Dec 4, 2019
1 parent 531f5f0 commit 947da25
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,11 +190,10 @@ See [#108](https://github.com/ezolenko/rollup-plugin-typescript2/issues/108)

```js
const keysTransformer = require('ts-transformer-keys/transformer').default;
const transformer = (service) =>
{
const transformer = (service) => ({
before: [ keysTransformer(service.getProgram()) ],
after: []
};
});

// ...
plugins: [
Expand Down

0 comments on commit 947da25

Please sign in to comment.