Skip to content

[typescript definition] wrong signature for NativeImage.createFromDataURL #9469

Closed

Description

@farfromrefug

I am using electron 1.6.9.beta

Within electron.d.ts, the signature for createFromDataURL is:

    static createFromDataURL(dataURL: string): void;

when it should be

    static createFromDataURL(dataURL: string): NativeImage;

Activity

  1. added a commit that references this issue on May 15, 2017
    d84ddd7
  2. MarshallOfSound commented on May 15, 2017

    @MarshallOfSound
    Member

    @farfromrefug PR is up to fix the return type, thanks for picking up on this 👍

  3. farfromrefug commented on May 15, 2017

    @farfromrefug
    Author

    @MarshallOfSound thank YOU, that was fast!

  4. added a commit that references this issue on May 15, 2017
    7f0ccda
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions