2.0.3 • Published 6 years ago
istanbul-ignore-ts-__decorate v2.0.3
istanbul-ignore-ts-__decorate
This CLI tool goes through your dist and adds "/ istanbul ignore next /" above the typescript __decorate
function that can sometimes cause issues with istanbuljs/nyc.
Usage is very simple. If you have a build script or something, just add this to it:
const nycIgnoreDecorator = require('istanbul-ignore-ts-__decorate');
// Replace "./dist" with whatever your build folder is called
await nycIgnoreDecorator('./dist');