Skip to content

Improve Observable typing in TS and Flow definitions #1685

Closed
@novemberborn

Description

@novemberborn

We currently type Observable like so:

export interface ObservableLike {
	subscribe(observer: (value: any) => void): void;
}

I think we should include a more complete type definition. See the index.d.ts and index.js.flow files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugcurrent functionality does not work as desiredhelp wanted

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions