Skip to content

should pass --noEmitHelpers to tsc when compiling #1078

@prabirshrestha

Description

@prabirshrestha

Currently the generated js code contains lot of duplicate __extends which can be seen here https://npmcdn.com/@reactivex/[email protected]/dist/global/Rx.umd.js

var __extends = (this && this.__extends) || function (d, b) {
    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
    function __() { this.constructor = d; }
    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};

This should be avoided by using tsc --noEmitHelpers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions