Skip to content

Observable.create alternative in tree-shaking #3379

@wjljack

Description

@wjljack

I need tree-shaking like
import { zip } from 'rxjs/observable/zip';
to replace Observable.zip
but I can't find Observable.create ,when I use

import {Observable} from 'rxjs'
Observable.create()
it's import all prototypes in Observable and can't tree-shaking...
ps. I need a function to customize an Observable.

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