Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MessageApi interface is missing the return MessageType interface on the methods. #12137

Closed
1 task done
tomasfrancisco opened this issue Sep 7, 2018 · 0 comments
Closed
1 task done
Assignees

Comments

@tomasfrancisco
Copy link
Contributor

tomasfrancisco commented Sep 7, 2018

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

3.9.1

Environment

Browser

Reproduction link

export interface MessageApi {

Steps to reproduce

Try to use message API with promises.

What is expected?

To work with message.loading(...).then()

What is actually happening?

[ts] Property 'then' does not exist on type 'void'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants