Skip to content

Issue with Typescript and withMobileDialog #15448

@ghost

Description

Trying to use Dialog with the withMobileDialog HOC in Typescript results in an ugly Typescript error

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

Here's the codesandbox:
https://codesandbox.io/s/j403mnwyov

...and in the code sandbox (along with Atom, locally), I get this error:
Screen Shot 2019-04-22 at 4 22 58 PM

The codesandbox is fairly bare-bones, so I don't think I'm doing anything wrong (though I'm still pretty new to Typescript, so who knows?)

Any help is appreciated. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions