Skip to content

internal/types.d.ts(38,13): Property 'observable' does not exist on type 'SymbolConstructor'. #3674

Closed
@phra

Description

@phra

after upgrading my angular app to latest version (including rxjs v6) i got the following error at compile time:

../node_modules/rxjs/internal/types.d.ts(38,13): error TS2339: Property 'observable' does not exist on type 'SymbolConstructor'.

RxJS version:

    "rxjs": "^6.1.0",
    "rxjs-compat": "^6.1.0",

Expected behavior:
it works.

Actual behavior:
it breaks the compilation.

Additional information:
involved declaration:

export declare type InteropObservable<T> = {
    [Symbol.observable]: () => Subscribable<T>;
};

adding rxjs-compat doesn't solve the issue.

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