Skip to content

@types/plotly.js is missing an interface method #15343

Closed

Description

@drewtownchi

@types/plotly.js is missing an interface method PlotlyStatic.redraw(divid: string);

interface PlotlyStatic { newPlot(divid: string | HTMLElement, data: any[], layout?: any, config?: PlotlyConfig): void; redraw(divid: string); }

Activity

  1. martinduparc commented on Mar 24, 2017

    @martinduparc
    Contributor

    Hi @drw112 Feel free to create a PR with your changes

  2. chrisgervang commented on Mar 25, 2017

    @chrisgervang
    Contributor

    Fixed in #15379

  3. galuszkak commented on Jul 16, 2017

    @galuszkak
    Contributor

    I think this ticket should be closed as it's fixed. 👍

  4. PARULAGRAWALdei commented on Jun 21, 2018

    @PARULAGRAWALdei

    there is no declare statement in .d.ts file. I have used command 'npm install @types/plotly.js' .But the following error came .
    Try npm install @types/plotly if it exists or add a new declaration (.d.ts) file containing declare module 'plotly';

    I am not getting how to solve this

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