How to use the ts-transformer-keys/transformer function in ts-transformer-keys

To help you get started, we’ve selected a few ts-transformer-keys examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github kimamula / ts-transformer-keys / examples / rollup / rollup.config.js View on Github external
typescript({ transformers: [service => ({
      before: [ keysTransformer(service.getProgram()) ],
      after: []
    })] })
  ]

ts-transformer-keys

A TypeScript custom transformer which enables to obtain keys of given type.

MIT
Latest version published 2 years ago

Package Health Score

50 / 100
Full package analysis

Popular ts-transformer-keys functions