From 947da2523cf83c5ecd217439878bc28e2dd0c73f Mon Sep 17 00:00:00 2001 From: chocolateboy Date: Wed, 4 Dec 2019 22:15:55 +0000 Subject: [PATCH] Fix syntax error in transformer example (#195) --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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: [