diff --git a/README.md b/README.md index c95b280e..99144905 100644 --- a/README.md +++ b/README.md @@ -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: [