Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Return types on Promise #806

@spadgos

Description

@spadgos

Some of the methods on Promise have any as their return type. Notably, Promise.prototype.then() and Promise.resolve().

For example:

static resolve < T >(value: ಠ_ಠ.clutz.goog.Promise < T , any > | T): any;

I'd have expected this to be

static resolve<T>(value: ಠ_ಠ.clutz.goog.Promise<T, any>|T): ಠ_ಠ.clutz.goog.Promise<T, any>;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions