Skip to content

TestScheduler cold() values and errors parameters are type any #3921

@felixfbecker

Description

@felixfbecker

Bug Report

Current Behavior

createColdObservable<T>(marbles: string, values?: any, error?: any): ColdObservable<T> {

Using the TestScheduler for the first time, I don't understand what these parameters accept. The documentation doesn't mention it either: https://github.com/ReactiveX/rxjs/blob/master/doc/marble-testing.md#api

What are they?

Expected behavior
I expect them to have a type declaration

Environment

  • RxJS version: 6.2.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    TSIssues and PRs related purely to TypeScript issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions